• 1 Post
  • 84 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle




  • For me, after looking over the docs, it’s close enough to JavaScript that it might as well adopt more of the syntax (for example, conditionals and loops don’t use parenthesis). It also has some similarities to python, but again not enough to be python.

    Feels like an in-between language that has enough similarities to seem easy, but some gotchas that will regularly catch you out.
    And then some extra features like the if chaining, which doesn’t have the keyword if or switch in it. So you have to know that that structure implies an if or switch conditional.

    Especially for something like bash scripting, which devs probably don’t spend as much time doing compared to python or js. So, it would probably take them longer (and break their brain more) than just scripting it in python/js directly or dealing with bash directly.

    It’s an improvement over bash, and it’s nice that it transpiles to bash.
    I might have to play around with it and see how it actually feels to use



  • It’s a funny read.

    IMO, the bridge example is more like joining a maintenance team looking after an old bridge. I’m sure there could be good metaphors of the old guy that hammered 300 of the original rivets, and can tell an interesting story about toilet breaks 250ft in the air. And new government regulations both about bridges and conservation of protected buildings/structures that somehow clash or whatever.
    Building a bridge would be more of a startup/new project.

    It does feel like it takes the most esoteric circumstances, as well.
    Same could be said for “Steve that has to dig a ditch” seeing competitions of plant operators doing back flips in forestry machines meant to scale mountains.

    It’s just that programming is a very accessible hobby that can transition into a career (how most programmers got a career, tbh), but is also the thing that modern business/industry/entertainment all depends on.