this post was submitted on 25 Mar 2024
39 points (100.0% liked)

Programming

423 readers
2 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
top 11 comments
sorted by: hot top controversial new old
[–] GissaMittJobb@lemmy.ml 6 points 7 months ago

It's mostly stopping the world to re-write everything from scratch that is a mistake.

Good practice is to refactor the codebase until it's modular (if it's not already sufficiently modular), and then proceed to replace modules gradually until you reach your desired state of re-writtenness.

This has the benefits of actually getting you up to speed with maintenance over time without having to halt new feature development, giving you the best of both worlds.

[–] Faresh@lemmy.ml 4 points 7 months ago* (last edited 7 months ago) (1 children)

For anyone who was confused as I was about hearing of a new release of Netscape, this article is from 2000.

[–] Daxtron2@startrek.website 1 points 7 months ago

The 2000 in the title didn't give it away?

[–] JackbyDev@programming.dev 3 points 7 months ago (1 children)
[–] corsicanguppy@lemmy.ca 3 points 7 months ago (1 children)

You may know it as Mozilla, the namesake project that Mozilla (the company) felt was too hard a raison-d'etre to maintain and, yet, still exists. If you ever hear of Mozilla the org refered to as MINO, it's because they couldn't even continue their you-have-one-purpose task.

Unleash the downvotes, ye dissonants.

[–] JackbyDev@programming.dev 1 points 7 months ago

I only left the comment because of my pfp being the old Netscape logo haha

[–] MonkderZweite@feddit.ch 3 points 7 months ago* (last edited 7 months ago)

Except if your initial code was first written for something slightly related to the current usecase and with a tenth of the current feature set.

Then you better start from scratch and take some bits and pieces from your old code.

[–] johnefrancis@lemmy.ca 3 points 7 months ago

never put salt in your eyes

[–] eveninghere 3 points 7 months ago

Shipping JavaScript in one week

[–] Masterkraft0r@discuss.tchncs.de 2 points 7 months ago

laughs/cries in embedded we are currently changing from mbed to zephyr rtos. at the beginning it was decided we will never replace mbed, the thing i am currently replacing, so all the code is using parts of mbed everywhere. there's not enough space on the chip to have both mbed and zephyr in parallel. yay. you desktop/server/web/whatever people don't how good you have it.

[–] Cwilliams 1 points 7 months ago

Except when your rewriting it in rust, ofc 😎