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
-
ViRaS1985282dThy code may outlive thy head.
Folks other than thou may use the code.
Thou may write more code and forget thy code. -
tosensei8411281dbecause you apparently lack awareness of the fact that "you believe your idea to be perfect" does not equal to "your idea is perfect".
as well as the fact that other contributors of your project (for example "future you") can not look inside your head. -
jiraTicket2303281dI gotta say the idea of ”tests as documentation” is often overrated if it’s a complex codebase where you’re testing modules that are super specific to your implementation
Like..new team members aren’t gonna read your tests for FractalFooParser - because they don’t know what Foo is.
Seeing a Scenario like ”Given: Bar of magnitude 4. Then we should output 6 Foos split by 2 groups” doesn’t help.
Yes - the tests are still essential for preventing errors, but no one is gonna read that shit to understand the system - they’ll only read it if the tests start failing
why write tests when all the code's logic perfectly lives in your head, ayyo
question