stupid-machines icon indicating copy to clipboard operation
stupid-machines copied to clipboard

Java 9 allows you to do a whole lot more with no semis now!

Open graingert opened this issue 6 years ago • 1 comments

consider: jshell> "foo".chars().map(v -> v + 2).reduce((a, b) -> a+b)

also, can you enable issues.


This change is Reviewable

graingert avatar Feb 23 '18 14:02 graingert

I kind of like it using the older, more restricted language. If I wanted to use an expressive language and avoid semicolons, I'd pick Python.

I'm not really interested in accepting pull requests for this file, though I do appreciate your interest. Maybe I should change the file name to TuringMachineWithNoSemicolonsAndLambdasBecauseThoseAreCheatingToo.java--then the filename length would be on par with what's typical for the language.

efoxepstein avatar Feb 23 '18 18:02 efoxepstein