DEV Community

Discussion on: Things Nobody Told Me About Being a Software Engineer

Collapse
 
ozzyogkush profile image
Derek Rosenzweig

Another thing to add is that all code is ephemeral (to some degree). I used to be very protective of stuff I wrote, like it was some final product. But it never is. Someone will always modify, fix, or completely throw it away. Best advice I got was from a coworker at my last job when he was leaving which was 'take ego out of your code' and I've been a lot less stressed out.

Also good code review is key.

Collapse
 
bosepchuk profile image
Blaine Osepchuk

'Take the ego out of your code' is good advice.

Some code ends up being temporary or modified soon after its created and other code ends up running in production for decades. And how long the code lives isn't really predictable in many cases.