Should Be Simple

Living with software

Style to Critics

Style

Why don’t more people use comma-first style?


I sometimes write comma-first, but not when other programmers will be involved. It’s easier to see some types of mistakes in comma-first code, but I don’t think the improvement is worth the inevitable bikeshed arguments.

Interpolation

Why do people prefer curly-brace string interpolation to the + operator? Measured by number of characters, "foo"+bar is shorter than "foo{bar}".

Critics

Back when, criticizing the Java language was a popular sport: people would say things like, “The Java ecosystem is great, the only bad thing about it is the Java language,” so lots of languages sprouted to target the Jvm. I haven’t seen new Jvm languages in some time (albeit I haven’t been using Java much recently); has the pace of new language development slowed?


← Last week


Comments? Write comments@josiahulfers.com

I record comments here when I think they're interesting, and I don't want to lose them in the noise of LinkedIn. If I've misrepresented your comment, tell me.