5 ms·
++ is a rare situation since the introduction of foreach. For example in the JVM checking for null would deserve an operator.
by tajen 11y ago
++ is a rare situation since the introduction of foreach. For example in the JVM checking for null would deserve an operator.
- kuschku 11y agoOMG, yes! maybeNull?.getContent()?.toString() This would improve my coding sooo much. Currently I use Optional.fromNullable(maybeNull).orElse(new DummyObjectThatReturnsNullOnAllMethodCalls).getContent(), and then repeat the process.
- DiThi 11y agoI use "?" constantly in coffee-script. And while I missed ++ for a while in Python, I don't use it in coffee even though it's available.
- caoilte 11y agoWould rather they started down the road of getting rid of null.
- tajen 11y agoI was talking about the JVM. ;)