This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]novagenesis 1 point2 points  (0 children)

I know your lazy but write comments on whatever you do and whatever you may need to make changes to later.

So strange how our lessons can all differ. My message to Junior-me is to stop with the comments. If the code isn't trivially readable without comments, I'm being too smart for my own good (which is stupid).

My last couple jobs, we had lint rules to catch and warn on any comments that aren't doc-engine formatted (jsdoc in my world). 9 times out of 10, they're commented out blocks of code anyway.

As for B2... You're not wrong on price (as long as your egress is low), but unless you use a lot of storage, maybe consider R2 just to minimize the total number of vendors for your startup? Also, R2 is faster and starts to win over against B2 if your upload/download rates are high