News for hackers. Stuff that matters.
Re:The Land of Lisp by TeMPOraL on Saturday October 07, 2017 @05:04AM (#15422993)
No, it's the opposite - it doesn't have to drag around pointless layers of unused abstractions, and all the bugs that are there are bugs of subject matter, not of surrounding boilerplate. Such code minimizes the surface area and degrees of freedom, hence not leaving space for bugs.

The more I program, the more I'm convinced that - unless you've coded identical software many times before - code needs to grow organically and stay as focused and close to the problem as possible. Abstractions should follow naturally and be done "just in time". If they're needed, they have to be written either way, and you're not saving time by writing them up front (focused code is easy to refactor).

Of course with experience, you learn that some patterns of change are likely to occur, or that some touches of abstractions here and there are very beneficial. But beyond that, I feel the best way is to write simplest code possible, wait for it to be needed elsewhere, and then DRY up semantics.

I liked the posts of Casey Muratori, which explain roughly this mindset, calling it "semantic compression" and "compression-oriented programming": https://mollyrocket.com/casey/stream_0019.html.

Re:The Land of Lisp by flavio81 on Saturday October 07, 2017 @11:35AM (#15424156)
You should expand this into an article or blog post!
Re:The Land of Lisp by TeMPOraL on Saturday October 07, 2017 @01:34PM (#15424721)
You know what? I might actually do just that; I just need to collect my thoughts and outline some examples.