Just remember to mark all the things you’d like to make better but can’t be arsed to at the moment with numerous TODOs.
ihan normi koodi työ ukko
Just remember to mark all the things you’d like to make better but can’t be arsed to at the moment with numerous TODOs.
Hi colleague! So I found a comment in the code from 3 years ago by you saying you should “improve this”. Is it planned for the next sprint?
Few of the good ones I’ve spotted:
(complicated business logic in messy code) // TODO: check
(…) // TODO: think about better naming
(…) // TODO: This is obviously shit and needs to be changed.
(…) // TODO: THIS IS NOT USED ANYWHERE CONSIDER REMOVING ALTOGETHER (comment made 3 years ago)
Do I understand this correctly, that the first astronaut’s realization is that all data structures are graphs?
If yes, that doesn’t make much sense. How is an array a graph?
That freedom becomes misery on the instant you have to start maintain the code from some other free spirit, whose style is totally different from yours.
I see, that explains it. Would have been useful to put that somewhere in the title or video description, tho.
I have to say I’m not terribly big fan of videos with a title that is opposite of the message. It feels cheap. “Don’t do X unless you want [long list of benefits of doing X]”. Why do we need this?
A few years ago many countries were marketing themselves with “Don’t go to [country name]”, and it was cringe already then.
Edit: I actually didn’t have any patience to watch the video initially, apart from skimming here and there, so I missed the fact that the speaker hasn’t seen the slides beforehand and it’s some kind of a joke presentation. Would have been nice to see it in the title or video description.
I doubt the corporate sponsorship has anything to do with the recent drama in the dev team. I also think it’s a very good sign big companies are sponsoring Rust, as it shows they believe in its potential and help its adoption.
In particular business logic that’s not obvious should be documented in comments.
// Typically 1 = 1, but on March accounting wants that 1 = 2. This function makes that mapping.