2 ms·
Garrett Smith advocates for tiny functions; here are his blog posts about Python[1] and Erlang[2]. Admittedly Erlang's powerful pattern matching makes it easie
by macintux 7y ago
Garrett Smith advocates for tiny functions; here are his blog posts about Python[1] and Erlang[2].
Admittedly Erlang's powerful pattern matching makes it easier, but it definitely can be applied to multiple languages. The biggest problems I've found trying to apply it are the lack of pattern matching in most languages, and the problem of naming.
1: http://www.gar1t.com/blog/more-embarrassingly-obvious-problems.html http://www.gar1t.com/blog/more-embarrassingly-obvious-proble...
2: http://www.gar1t.com/blog/solving-embarrassingly-obvious-problems-in-erlang.html http://www.gar1t.com/blog/solving-embarrassingly-obvious-pro...
- pnako 7y agoIt's horrible. The next sentence tells why. It's horrible because of something. That something is noise. The noise is because of indirections. No one talks like that.