Skip to content

Comment on Coding Intentionally in Bash Grains

Comments

On the one hand, the article's title that "solutions should be written in such a way that the intent is clear" makes sense for code which needs to be read and maintained. e.g. Martin Fowler suggests even 1 line of code methods can be useful if they describe a distinct intent. https://martinfowler.com/bliki/FunctionLength.html

But I don't think the point is well made with a contrived whiteboard-interview style problem.

AboutSource Built by g1lg1l

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