Replying to Avatar Sebastix

Another great read for those who write code.

On Long Term Software Development https://berthub.eu/articles/posts/on-long-term-software-development/

These are the recommendations for long-term software development:

- Keep it simple. Simpler than that. Yes, even simpler. You can always add the complexity later if needed!

Keeping it simple requires periodic refactoring / code deletion

- Think real real hard about your dependencies. Fewer is likely better. Scrutinize and audit. And if you find you can’t audit 1600 dependencies, rethink your plan. Don’t go for LinkedIn-based development choices.

Re-visit your dependencies periodically to see how they are doing

- Testing, testing, testing! Will help you spot shifting dependencies in time, will give you confidence to do the refactoring you need to keep things simple

- Document all the things, not just the code, but also the philosophy, the idea, the “why”

- Aim for a steady team. Get actual employees with a long-time investment in your project

- If you can get away with it, ponder being open source

- Logging, (performance) telemetry will save your bacon over the years

My Nostr code is tight, fully benchmarked, tested.

My Bluesky code is a bunch of messy scripts barely held together by some unknown force.

Therefore the thing you're building matters, not just how you build it.

Reply to this note

Please Login to reply.

Discussion

💯I agree, the matter of building things > how you build it.

Things I build for others are more solid then things I build just to tinker with or for myself.

What do you exactly with tight code?

*exactly mean

Sorry for all the typos from my phone

A few people (like nostr:nprofile1qydhwumn8ghj7emvv4shxmmwv96x7u3wv3jhvtmjv4kxz7gqyprjtyrkep0eys8g2fpq6usne90f2yp0rh5jn7mq7vazcvjhpjvvgldfpkw) say they are programmers inspired by nature. I've been thinking about that.

Nature is simple. Unthinking.

I want my code to be as retarded as possible. I want an idiot to look at it and understand what it does. The result is elegant simplicity and beauty.

JavaScript is only used by idiots? PHP is only used by idiots? Seems like they're the two best languages.

Based perspective. Enlightened even.

Very very interesting. Inspired by nature…My first thought on that is how adaptive nature is. Capable to adjust to any changing variable. Survival of the fittest.

How do you see nature ft programming nostr:npub1gujeqakgt7fyp6zjggxhyy7ft623qtcaay5lkc8n8gkry4cvnrzqd3f67z ? How does it complement?