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
-
Learn these principles and learn them fast:
* KISS
* DRY
* SOLID
* YAGNI
* TDD
* ETC (make everything Easy To Change - if you're about to do something that's hard to change in the future, you're doing it wrong)
* Shy code
There are many others, but these should stop you writing unsustainable code. Apply each one to every decision you make (it's mostly automatic) and listen to your "Inner lizard" (when your instincts tell you something's not right, acknowledge it, and find out what is causing alarm bells)
That and read a respected, industry leading book now and again, attend meetups, watch talks, etc
Don't expect to magically know how to do it all -
If the feature roadmap implies some years of work, that also implies some years of payment for you.
Just firmly push back on any notion of "can we deliver Facebook, Google, and Tiktok combined in four weeks?" -
@SidTheITGuy I've tried to integrate TDD into my work and it feels like double the work. I can only guess that it's only really useful in organizations with several people on their dev team.
-
@SidTheITGuy In regulated domains, you have some sort of TDD mandatory because requirements need to be testable. Otherwise, it would be impossible to prove through formal tests that the software complies with the requirements. In turn, lacking formal tests means no certification.
-
> fight me
@SidTheITGuy I don't need to, your unmaintainable code is already doing that for me 😘💅💅 -
@MammaNeedHummus watch any of my livestreams and you'd know that my code is the farthest thing from un-maintainable.
-
b2plane63951y@MammaNeedHummus im following those principles. This is my side project so TDD isnt of high importance right now. Speed is. I'll implement testing once the whole thing is done. Also if it was a nextjs app wtf u gonna do as TDD? Nextjs doesnt even support testing.
My code is fine and works but the amount of features is quite large. Im trying to delay less important features and build the more important ones -
@jestdotty Please learn how to read.
She said my code is unmaintainable. That's different from just copying and pasting. SMH.
The project that I’m working on right now. The more features I build, the more I realize how much more shit I need to build. What the fuck is this. This is getting really stressing. Really annoying. Really scary really fast.
Am I missing something?
Am I doing something fucking wrong?
Am I over engineering shit?
Shit looks like it has NO END.
rant