News for hackers. Stuff that matters.
Re:Rust Is a Scalable Language by benhoyt on Tuesday March 28, 2023 @10:07PM (#35351239)
Are you allowed to say what project/product it is? I'm curious. Do you use type annotations? I've found refactoring sooo much easier in statically typed languages like Go than in Python, even for medium sized projects.
Re:Rust Is a Scalable Language by aeyes on Wednesday March 29, 2023 @12:18PM (#35359393)
Most code has type annotations but we don't enforce it. A lot of code was written before typing became well supported and we never went back to add it to every old piece of code, we add them when people touch related code sections.

Typing definitely makes it a lot easier to navigate the codebase. But in the end maintaining any large codebase is a question of discipline which starts with simple things like code layout, class and function names, isolation of functionality.