3 ms·
Doing The Right Thing (tm) is always easy when looking from the outside in. In my experience, good developers write shitty code all the time, because the world
by troels 14y ago
Doing The Right Thing (tm) is always easy when looking from the outside in. In my experience, good developers write shitty code all the time, because the world is a messy place and quality comes at a price.
As an anecdote, I once worked on an application where we had to store passwords in plain text, because the password should also be used in a piece of hardware and to provision that hardware, we needed to send the password to said hardware. There's just no good and easy way to solve that and when you're constrained by real world limitations, sometimes you just have to accept a suboptimal solution.
- russell 14y agoYou could at least encrypt the passwords on disk an decrypt them when needed. this is not ideal because you still need to keep the key around, but it is better than plaintext.
- troels 14y agoThat's what we ended up doing. As you say, not ideal and given that we were in a hurry, it didn't get priority for a long time (Since it was mostly futile anyway). Anyway - Just an anecdote to show that things aren't always that simple.