News for hackers. Stuff that matters.
Re:Nim Programming Language v0.15.0 released by nathancahill on Saturday October 01, 2016 @12:15AM (#12616490)
I highly agree, especially about the if/else. The more I code, the more I try to elimante branching. If statements as expressions would be ideal.
Re:Nim Programming Language v0.15.0 released by qznc on Saturday October 01, 2016 @02:43AM (#12616794)
Most mainstream languages (C, Java, etc) have this. The ternary operator ?:
Re:Nim Programming Language v0.15.0 released by 35bge57dtjku on Saturday October 01, 2016 @03:00AM (#12616831)
That's like farting in the bathtub and calling it a hot tub.
Re:Nim Programming Language v0.15.0 released by tigershark on Saturday October 01, 2016 @05:16AM (#12617146)
Why? It is an expression, not a statement regardless of your farting nonsense.
Re:Nim Programming Language v0.15.0 released by 35bge57dtjku on Monday October 03, 2016 @11:39AM (#12628288)
Because they aren't the same thing.