3 ms·
> Writing programs which don't crash the first few times I run them in a dynamic language is surprisingly hard. Writing correct programs in JS is difficult, I
by E6300 9y ago
> Writing programs which don't crash the first few times I run them in a dynamic language is surprisingly hard.
Writing correct programs in JS is difficult, I agree. Writing correct trivial programs is easy, though.
> Or if I can't be arsed configuring gdb with breakpoints for everything from the command line. I can add a println!(), save my file, and watchman will recompile and run my program in a much more reasonable (to me) workflow. I assume that I can somehow integrate gdb into my editor, but that involves a pile of learning new things.
That's not a third alternative, that's just gdb being wretched, as it's always been.