←back to thread

873 points belter | 1 comments | | HN request time: 0s | source
Show context
andyish ◴[] No.42947686[source]
> People who stress over code style, lining

You can do it whatever way you want but match the style of the project. I've worked on too many projects where someone decides their way is best and you end up with a mix of everything.

If you want to change the code style, okay, but change it everywhere and don't forget to test everything you've changed.

> Frontend development is a nightmare

But is it weird I kind of enjoy it every so often/

> Elegance is not a real metric

You're dam right it's not! Next time someone proudly presents a super elegant, refined, and minimalistic solution I'm going to phone them at 3am on a Saturday and get them to debug it while screaming at them about lost revenue or something.

> DynamoDB is the worst possible choice for general application development

Oh man, the amount of times I've seen some form of noSql and it's used as a relational database. 9/10 some rendition of SQL is more than sufficient.

replies(2): >>42948560 #>>42948698 #
Twirrim ◴[] No.42948560[source]
I've grown to be a big fan of opinionated linters like gofmt, rustfmt, black etc. They avoid so much time spent disagreeing about code formatting and personal preferences. Instead engineers can do mutual grumbling sessions about weird formatting choices they see it do, and move on.
replies(2): >>42949107 #>>42953831 #
spc476 ◴[] No.42953831[source]
If I didn't want to have opinions, I would join a cult.
replies(2): >>42955498 #>>42958615 #
1. Twirrim ◴[] No.42958615[source]
You're welcome to your opinions, I don't stop engineers I'm working with from having opinions about the code formatting. It's still going to be formatted by the opinionated formatter.

Having one gets us into the "Well, it's not quite what I want but at least it's consistent", and it gets rid of arguments that don't really provide anywhere near the amount of value engineers feel they do. There are almost always significantly better and more productive things to be spending time figuring out.