Skip to content

Comment on How many lines of Java would this take?parent

Comments

You can take out another couple if you did a sensible thing like taking a Set<String> as input for method names and returned a Set<String>

But like the other poster said, you're very unlikely to be doing this in Java, making the whole thing take 0 lines and 129.4 fewer insufferable smugness units.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.