• 0 Posts
  • 39 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle





  • Kotlin is a really nice language with plenty of users, good tooling support, gets rid of a lot of the boilerplate that older languages have, and it instills many good practices early on (most variables are immutable unless specified otherwise, types are not nullable by default unless specified otherwise, etc)

    But to get the most “bang for your buck” early on, you can’t beat JavaScript (with TypeScript to help you make sense of your codebase as it keeps changing and growing).

    You will probably want to develop stuff that has some user interface and you’ll want to show it to people, and there is no better platform for that than the web. And JS is by far the most supported language on the web.

    And the browser devtools are right there, an indispensable tool.







  • But why bother with creating a new language, and duplicating all the features your language already has, in a weird way?

    If I want a list of UI items based on an array of some data, I can just do items.map(item => 〈Item key={item.id} item={item} /〉), using the normal map function that’s already part of the language.

    Or I can use a function, e.g. items.map(item => renderItem(item, otherData)) etc.

    JSX itself is a very thin layer that translates to normal function calls.









  • If it were that easy, this would have been solved everywhere already. A day or two is almost certainly not enough, you also have to do adjacent apartments (whose inhabitants probably aren’t going to be very happy, especially if they have to leave for the fifth time), your map can show that it affects like every other building (especially when it’s a large apartment block), the temporary housing is at risk of becoming infested too, which will make people fear being there, etc.

    It actually sounds a lot like zero covid - simple on paper, you try it, you find out it doesn’t really work, and then you’re left with the choice to either change strategy or try to go harder and cram it through regardless.