• 0 Posts
  • 4 Comments
Joined 3 years ago
cake
Cake day: July 1st, 2023

help-circle
  • Weird opinion: I like square brackets, angle brackets are neat, curly braces range from neat to ok.

    But I just don’t like the look of parentheses compared to the others. They especially look ugly and clunky when you need a bunch of them in a row, in a way that’s not true for the others.

    I can’t think of a reason why I feel this way apart from the fact they tend to be very clunky in math too. They’re also the ugliest one when handwritten despite being the arguably simplest shape.

    All that said it annoys me how parentheses are the most used bracket type in programming.




  • If you don’t prematurely optimize your code you’ll never optimize your code.

    I know people are advised against premature optimization because it risks you wasting time on something that ends up unused.

    But let’s be honest, once you get something into a working state will you ever be afforded the time to go back to it? Even if you are, are you really gonna choose to uproot code and do a refactor on it and potentially everything relying on it?

    Rather than waiting until your hacks and workarounds run out and you absolutely have to do a refactor, I would prefer spending more time upfront to make sure it is efficient and flexible before moving on.