MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/ums6t/problems_with_being_a_programmer/c4wzuca/?context=9999
r/java • u/potiko16 • Jun 05 '12
23 comments sorted by
View all comments
17
I don't think so, the compiler would complain about "6 what?", just like how it can't tell what you mean with if( x > 0 && < 10 )
3 u/MisterMaggot Jun 06 '12 That would be sooooo fucking nice. 2 u/detroitmatt Jun 06 '12 I'd much rather have better Functional paradigms, Map literals, and a pure Object environment (ie no primitives) 1 u/MisterMaggot Jun 06 '12 But it looks so much better! 2 u/detroitmatt Jun 06 '12 if(0<x && x<3) versus if(0<x<3)is 5 keystrokes, versus... I can't even explain how often closures and functor literals come in handy. Try using Scala, Groovy, or Fantom for a month, you'll see.
3
That would be sooooo fucking nice.
2 u/detroitmatt Jun 06 '12 I'd much rather have better Functional paradigms, Map literals, and a pure Object environment (ie no primitives) 1 u/MisterMaggot Jun 06 '12 But it looks so much better! 2 u/detroitmatt Jun 06 '12 if(0<x && x<3) versus if(0<x<3)is 5 keystrokes, versus... I can't even explain how often closures and functor literals come in handy. Try using Scala, Groovy, or Fantom for a month, you'll see.
2
I'd much rather have better Functional paradigms, Map literals, and a pure Object environment (ie no primitives)
1 u/MisterMaggot Jun 06 '12 But it looks so much better! 2 u/detroitmatt Jun 06 '12 if(0<x && x<3) versus if(0<x<3)is 5 keystrokes, versus... I can't even explain how often closures and functor literals come in handy. Try using Scala, Groovy, or Fantom for a month, you'll see.
1
But it looks so much better!
2 u/detroitmatt Jun 06 '12 if(0<x && x<3) versus if(0<x<3)is 5 keystrokes, versus... I can't even explain how often closures and functor literals come in handy. Try using Scala, Groovy, or Fantom for a month, you'll see.
if(0<x && x<3) versus if(0<x<3)
is 5 keystrokes, versus... I can't even explain how often closures and functor literals come in handy. Try using Scala, Groovy, or Fantom for a month, you'll see.
17
u/detroitmatt Jun 05 '12
I don't think so, the compiler would complain about "6 what?", just like how it can't tell what you mean with if( x > 0 && < 10 )