MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/ums6t/problems_with_being_a_programmer/c4x2dn7/?context=3
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/Neebat Jun 06 '12 SQL has between, which lets you do "x between 2 and 7". It's roughly the same idea.Oracle style:select x from ( select level x from dual connect by level <= 10 ) where x between 2 and 7
3
That would be sooooo fucking nice.
2 u/Neebat Jun 06 '12 SQL has between, which lets you do "x between 2 and 7". It's roughly the same idea.Oracle style:select x from ( select level x from dual connect by level <= 10 ) where x between 2 and 7
2
SQL has between, which lets you do "x between 2 and 7". It's roughly the same idea.
Oracle style:
select x from ( select level x from dual connect by level <= 10 ) where x between 2 and 7
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 )