Hacker News new | past | comments | ask | show | jobs | submit login

While I use scripting languages when needed my main languages were always compiled with static typing. And I did not need debugger for hacking code. I need debugger mostly for tracing my own code when I have some bugs mostly related to algorithmic errors, not with the program blowing up on me.

I did not program in Rust so I can not really judge the language but I doubt that it is so nice and expressive comparatively to modern C++ that suddenly the types of bugs I am hunting will magically disappear.




> I need debugger mostly for tracing my own code when I have some bugs mostly related to algorithmic errors, not with the program blowing up on me.

Then you're a much better programmer than i am! :)

For algo debugging i just use pen and paper. For more surprising results, print statements are usually all i need.

> suddenly the types of bugs I am hunting will magically disappear

Maybe not, but i'd recommend to give it a try, if only to offer a different perspective. For me personally, strict and expressive enums, mandatory error handling and Option/Result types as language core features (among others) have definitely eliminated most bugs i write. Well i still write those bugs, but at least the compiler doesn't compile like everything is fine, and instead lets me know why my program is flawed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: