News for hackers. Stuff that matters.
Re:Everything that makes working with databases easier by datalopers on Sunday May 29, 2022 @01:28PM (#31550914)
And this is why I don’t hire Python devs for anything related to web.
Re:Everything that makes working with databases easier by zepolen on Sunday May 29, 2022 @01:43PM (#31551058)
Just the web? :D
Re:Everything that makes working with databases easier by datalopers on Sunday May 29, 2022 @01:46PM (#31551085)
True, they’re a risk in most areas. Responsible for more technical debt than a scrum master.
Re:Everything that makes working with databases easier by zepolen on Sunday May 29, 2022 @02:19PM (#31551414)
But hey it got done in half the time! So what if you need Xanax to change a feature.
Re:Everything that makes working with databases easier by dvngnt_ on Sunday May 29, 2022 @01:37PM (#31551002)
why.
Re:Everything that makes working with databases easier by btilly on Sunday May 29, 2022 @02:05PM (#31551266)
In this case, bragging about the steps taken to produce a strictly worse solution because the dev didn't want to learn what should be a basic dev skill.

That said, criticizing all Python developers with this brush was very unfair.

Re:Everything that makes working with databases easier by semicolon_storm on Sunday May 29, 2022 @01:49PM (#31551115)
What happens when the program crashes in the middle of writing the data to disk? Now all the data you wanted to store is corrupted.
Re:Everything that makes working with databases easier by neurostimulant on Sunday May 29, 2022 @04:30PM (#31552604)
You see, before you overwrite the actual file with the new content, you should wrote the new content in a separate temporary file first. That way, when your app detect corrupted files on startup due to power loss, you can program your app to look for the temporary files and write them to the main files if they pass your data validation.

... and before long, you'll reinvent database servers but shittier.