News for hackers. Stuff that matters.
Re:Writing that changed how I think about programming languages by Voultapher on Thursday May 15, 2025 @02:59AM (#43992520)
I agree, my rule of thumb is > 1k LoC is best built with statically typed languages. For 20 line programs that I don't plan to maintain for a long time, I'd hardly ever reach for Rust over Python.
Re:Writing that changed how I think about programming languages by WalterBright on Thursday May 15, 2025 @01:02PM (#43997011)
Yeah, there's no reason at all for a borrow checker for 20 lines of code, unless one is experimenting with the borrow checker.