logoalt Hacker News

locknitpickertoday at 6:47 AM1 replyview on HN

> Hard disagree. That database table was a waving red flag.

Exactly this.

This article is not about structs or Rust. This article is about poor design of the whole persistence layer. I mean, hundreds of columns? Almost all of them optional? This is the kind of design that gets candidates to junior engineer positions kicked off a hiring round.

Nobody gets fired for using a struct? If it's an organization that tolerates database tables with nearly 1k optional rows then that comes at no surprise.


Replies

grey-areatoday at 7:36 AM

The database table is someone else’s data. That’s why this company exists and is explained in the article.

They don’t have the option to clean up the data.

show 1 reply