3 ms·
Obviously the right solution here is: #!/bin/bash cat - Java has come a long ways since 2014. You can now code in functional style pretty naturally, c
by stickfigure 5y ago
Obviously the right solution here is:
#!/bin/bash
cat -
Java has come a long ways since 2014. You can now code in functional style pretty naturally, checked exceptions are fading from use, and tools like lombok have stripped away the worst boilerplate excesses (getters, equals/hashcode impl).
This always riles people up, but I'll assert it again: An equivalent modern app that does something useful is shorter in Java than in Ruby or Python, largely because the type system enforces many of the things you would otherwise have to write explicit tests for.