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
-
typosaurus1215552dWhen 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 -
typosaurus1215552d@atheist that's why I often don't want to format source code. The bad stuff others wrote gets your name on it
-
Root7975052d@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.) -
Demolishun3497051dSometimes 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.
-
lorentz1517450dmy 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.
-
lorentz1517450dI 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.
-
lorentz1517450dMy 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.
-
jiraTicket227150dLOL, 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