News for hackers. Stuff that matters.
Re:Why Turtl switched from Common Lisp to JavaScript (2019) by klodolph on Wednesday October 27, 2021 @03:46PM (#29018189)
Exploratory programming, for me, involves tons of quick refactoring jobs. Moving methods around, copying code from one place to another. If I sit down with a decent Go, C#, or Java IDE, I can sling code left and right, mash it up, refactor it, move code around, change interfaces, etc.

The good tooling for these languages makes it so I can do a lot of this work with a couple button presses. I inevitably end up with code made from different phases of the exploration... the static type checker is good at reminding me which pieces of the code base need to be updated, because they were from an earlier phase of exploration. There are a lot of idiosyncratic tricks buried in here, like changing the name of a method when I change its semantics (like frobnicateWidgets() to frobnicateWidgets2()), so all the call sites become errors, and I can review them one by one.

This works poorly in C++, the tooling just sucks.

Re:Why Turtl switched from Common Lisp to JavaScript (2019) by brobdingnagians on Wednesday October 27, 2021 @04:39PM (#29018802)
I agree that tooling for JVM languages, Go, and C# are better at that, but clang and Jetbrains' CLion has helped close that gap. They've done a lot to make refactoring a lot easier, find errors better, and not have to compile just to find obvious mistakes. Newer languages are much better designed for IDE/tooling support in general, with stronger type systems in a lot of cases.
Re:Why Turtl switched from Common Lisp to JavaScript (2019) by klodolph on Wednesday October 27, 2021 @04:48PM (#29018903)
Jetbrains has put a similar amount of work into tools like Rider, it's just that they're starting from a language where these problems are much simpler to deal with.
Re:Why Turtl switched from Common Lisp to JavaScript (2019) by mbrodersen on Wednesday October 27, 2021 @09:48PM (#29021387)
I do it all the time using C++. The VS Code tooling is good enough for me.