90
submitted 5 months ago by otter@lemmy.ca to c/programming@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] key@lemmy.keychat.org 16 points 5 months ago

I love the concept. I hate many of the language design choices.

[-] Scolding7300@lemmy.world 3 points 5 months ago
[-] towerful@programming.dev 8 points 5 months ago

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

[-] DeprecatedCompatV2@programming.dev 3 points 5 months ago* (last edited 5 months ago)

I found the if-blocks more concerning than the lack of parentheses. Although I would've preferred parentheses for better parity with Kotlin for the if-else blocks (instead of then).

this post was submitted on 21 May 2024
90 points (91.7% liked)

Programming

17314 readers
85 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS