[HN Gopher] Typesetting and printing a family memoir (2017)
       ___________________________________________________________________
        
       Typesetting and printing a family memoir (2017)
        
       Author : cxr
       Score  : 27 points
       Date   : 2024-11-14 13:43 UTC (5 days ago)
        
 (HTM) web link (www.teamten.com)
 (TXT) w3m dump (www.teamten.com)
        
       | ipython wrote:
       | That is an incredible story of successful yak shaving. I have the
       | same experience, but ultimately my attempts end in failure as I
       | lose interest and sight of the end goal. Kudos!
        
         | cxr wrote:
         | The author of the piece here has something to say about that,
         | too: write code top-down.
         | 
         | > _There are two ways to architect a program and write code:
         | top-down and bottom-up._ P [...] _The correct way to architect
         | and write a program is top-down. This is not a matter of taste
         | or preference. Bottom-up design is fundamentally busted and you
         | shouldn't use it. Every system I've been involved in that used
         | top-down succeeded and those that used bottom-up failed._ [...]
         | 
         | > _At every level there's pressure to do bottom-up programming.
         | Avoid it. Instead, start at the top, with `main()` or its
         | equivalent, and write it as if you had all the parts already
         | written. Get that to look right. Stub out or hard-code the
         | parts until you can get it to compile and run. Then slowly move
         | your way down,_ keeping everything as brutally simple as you
         | can. _Don't write a line of code that isn't solving a problem
         | you have_ *right now*. _Then you may have a chance of
         | succeeding in writing a large, working, long-lived program._
         | 
         | <https://www.teamten.com/lawrence/programming/write-code-
         | top-...>
         | 
         | See also: Java for Everything
         | <https://www.teamten.com/lawrence/writings/java-for-
         | everythin...>
        
       | antonpirker wrote:
       | This is just amazing! Really like the result, and also the other
       | personal projects on the site!
        
       | __mharrison__ wrote:
       | Wow! I expected a Markdown to LaTeX tool, but the author ended up
       | writing their own engine.
        
       ___________________________________________________________________
       (page generated 2024-11-19 23:00 UTC)