Re:Python, as Reviewed by a C++ Programmer
by E6300 on Sunday April 23, 2017 @02:55PM
(#14179744)
> 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.
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.