Really wish my soft eng course at uni hadn't valorised code comments so much + instead explained that you should write code whose function is obvious + well written tests should explain everything else. It's a hard habit to get out of
Conversation
Replying to
Have you tried documenting the affordances of your code with types too? Coupled with tests, that can make code much easier to understand down the line. Sadly many Uni courses seem to limit students exposure to type systems to Java and C, which is a very narrow, limited view. ๐
Replying to
Not really, no. I work a lot in python these days which is, yeah, dynamically typed (though I will probably start using docs.python.org/3/library/typi to at least mitigate this somewhat). Yeah, otherwise, I've mostly been exposed to Java's way of doing it.
1
1
Though I'd love to pick up something like Rust to get a broader view ๐
1
1
Show replies

