Vince

joined 1 year ago
[–] Vince@feddit.de 13 points 1 year ago (1 children)

Here you go: https://codegolf.stackexchange.com/

But on a more serious note, I don't really agree. Writing more code needs to be a conscious choice, but going for the shortest code too often creates a mess. I know, since I was that junior dev who just wanted to get stuff done and I would ignore project architecture in order to have to implement less, like accessing the database in GUI code.

Shorter code with the same amount of coupling between components and with the same readability is always better though.

[–] Vince@feddit.de 2 points 1 year ago

But does it have to be? I haven't touched non-web GUIs since 15 years, so my perspective on this is limited. And web frontend is not what I would call a well designed system for it's current purpose.

[–] Vince@feddit.de 4 points 1 year ago

Nice, so they are hot takes :D

If the design of a code change is bad, noticing that in the PR stage is not desirable. It should be discussed before someone actually went ahead and implemented it. It can also happen if people misunderstand the architecture, but again, that should be cleared up before actually implementing a change. Code style should be enforced automatically, as should test coverage and performance. Code review is also pretty bad at finding bugs from my experience. That imo leaves very few things where code review is useful that are not nitpicking.

As for programming languages, the amount does matter for individuals and for teams/organisations. A developer who can only use a single language is not very good, and using a many different languages within the same team is not good either.

[–] Vince@feddit.de 8 points 1 year ago

Even better is to ship small increments often.

Unfortunately in many organisations, leadership doesn't really understand that instead of reducing quality, scope should be reduced in order to ship faster. And developers rarely have a say in these things.

While I agree that it can be considered a hot take industry wide, I don't think for most devs that is a hot take, the ones whom I've seen ship broken stuff were rushed on tight deadlines and didn't have the experience/motivation/political capital to fight back on deadlines.

[–] Vince@feddit.de 73 points 1 year ago* (last edited 1 year ago) (11 children)

Not sure if these are hot takes:

  • Difficult to test == poorly designed
  • Code review is overrated and often poorly executed, most things should be checked automatically (review should still be done though)
  • Which programming language doesn't matter (within reason), while amount of programming languages matters a lot
view more: ‹ prev next ›