Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
retoor1164518dWhen using git blame to resolve the person who wrote it, it's awesome while the source is very bad or even when the source very good.
I do git blame on code that's written well too. Just to see who wrote it -
retoor1164518d@atheist that's why I often don't want to format source code. The bad stuff others wrote gets your name on it
-
Root8253818d@retoor That’s why I don’t unless I must. I’m not allowed to refactor, so.
(Why? “It clutters git history” and “it makes code reviews confusing” and “if it isn’t specifically spelled out in the ticket, it’s off limits”. Uh-huh.) -
Demolishun3468117dSometimes I say wtf to old code. Sometimes I saw htf to old code. Sometimes I say holyf to some code. Both in the good and bad sense.
-
lorentz1522816dmy mind is a maximizer, and a really good one at that. It doesn't matter what principle I operate under, my output is guaranteed to implement that principle to its absurd, morally distorted logical extreme.
-
lorentz1522816dI learned how to write proc macros (compiler-integrated code generators) because Rust's type system couldn't enforce the rules I wanted to enforce, and my principle at the time was making invalid state unrepresentable.
-
lorentz1522816dMy only hope is that with enough exposure I'll learn to maximize for pace, because although that's a shitty practice, at least it doesn't annoy stakeholders.
-
jiraTicket230116dLOL, yeah you might be on to something.
The rudimentary simple code that you don't think much about is usually not something you vomit after seeing 6 months later.
It's often the "clever" and "innovative" stuff that you find revolting in hindsight.
The quality you perceive your code to be 6 months after writing it is inversely proportional to the quality you perceived it to be when you wrote it.
rant