[HN Gopher] Value-Oriented Programming (2018)
       ___________________________________________________________________
        
       Value-Oriented Programming (2018)
        
       Author : pcr910303
       Score  : 27 points
       Date   : 2020-05-02 19:24 UTC (3 hours ago)
        
 (HTM) web link (matt.diephouse.com)
 (TXT) w3m dump (matt.diephouse.com)
        
       | stopachka wrote:
       | Love the simple demonstration of a pretty profound concept
        
       | ken wrote:
       | He doesn't use the term, but this looks exactly like an embedded
       | domain-specific language. It's a nice improvement on the original
       | sample program.
        
       | dang wrote:
       | Discussed at the time:
       | https://news.ycombinator.com/item?id=17881197
        
       | kragen wrote:
       | I think this is usually called "functional programming". See for
       | example https://prog21.dadgum.com/26.html.
        
       | kootling wrote:
       | I don't get this. Aren't protocols basically interfaces? So the
       | argument is "Start writing an interface, not a class?" Isn't this
       | common knowledge? This is stuff you learn in programming 101.
       | (I'm not trying to come off as snarky; I'm genuinely curious.)
        
       ___________________________________________________________________
       (page generated 2020-05-02 23:00 UTC)