[HN Gopher] Scripting Languages of the Future
       ___________________________________________________________________
        
       Scripting Languages of the Future
        
       Author : slyall
       Score  : 23 points
       Date   : 2021-11-05 09:46 UTC (2 days ago)
        
 (HTM) web link (www.jntrnr.com)
 (TXT) w3m dump (www.jntrnr.com)
        
       | theshadowknows wrote:
       | I sometimes wonder to myself: what programming challenges would
       | come up in something like the starship Enterprise (any of them)
       | and what new language constructs (if any) would be required to
       | address them?
        
       | nikivi wrote:
       | Thought Deno would be mentioned in the article. It's a language I
       | want to try use more especially since it seems like TS with a
       | nice built-in CLI tool and deploy ability.
        
       | civilized wrote:
       | > What TypeScript showed is that you could join together the idea
       | of a flexible lightweight (and optional!) type system onto an
       | existing programming language, and do so successfully.
       | 
       | > The question then is - what if you created a programming
       | language from the start to have this kind of support? No need for
       | transpilers, while also having stronger engine integration and
       | maybe even better runtime errors?
       | 
       | You mean like Python 3?
        
         | cardanome wrote:
         | PHP might be a better example. Really great gradual type system
         | that is much simpler than TS. You also get runtime errors based
         | on types. And since 8.1 we finally got proper Enums.
        
       | LasEspuelas wrote:
       | Also, I would think a mention of Julia would have happened in the
       | tunability section.
        
       | hencq wrote:
       | The author seems to basically be describing Dart 1, which wasn't
       | actually all that successful. It was a dynamic language with
       | optional typing and it excluded some of the hard to optimize
       | parts of e.g. Ruby, JavaScript or Python. Whether it wasn't
       | successful because of technical reasons or other reasons is
       | perhaps hard to untangle, but the philosophy seemed very close to
       | what this post argues for. Dart moved away from that though and
       | went for static and sound typing instead with Dart 2 and seems to
       | have carved out more of a niche that way.
        
       | k__ wrote:
       | ReScript is also a nice language. It's a bit less verbose and
       | more sound than TypeScript.
       | 
       | But TypeScript is good enough for me right now. It's like writing
       | JavaScript without the constant need to keep everything type
       | related in my head at all times.
        
       ___________________________________________________________________
       (page generated 2021-11-07 23:00 UTC)