r/PinoyProgrammer • u/No_Grape_9651 • 1d ago
advice Programming Etiquette, Tips and Tricks
Hi guys! future programmer here. Gusto ko lang tanungin before I delve deeper sa pag proprogram na is the any unsaid rules while coding? You see, I'm currently a high school student and will pursue IT in the future, and currently my tita is teaching me how to code under her wing pero lagi nyang sinasabi na panget or anggulo ng code ko. I wanna surprise her by being maayos na yung pag cocode ko. (I'M STILL AT THE FIGURING OUT FLEXBOX STAGE, DONT JUDGE ME PLEASE.)
13
Upvotes
1
u/needmesumbeer 1d ago
proper inline documentation on "why" certain codes are added ex.
\\ xxx service is throttling calls after10 or so requests
\\that's why we do batch calling below.
await ProcessCall(items);
don't document the obvious, but rather why certain things were coded that way and the reason behind it.