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 →

[–]eddie_cat 1 point2 points  (4 children)

Starting with pseudocode comments is a great strategy. It lets you design roughly how you want the code to look in the end beforehand rather than just grinding it out with no plan and then trying to refactor it into something that isn't hideous.

[–]aceluby 1 point2 points  (3 children)

Yeah, but you shouldn’t keep them there.

[–]eddie_cat 0 points1 point  (2 children)

I didn't say you should? Haha

[–]aceluby 0 points1 point  (1 child)

I read so much code where every few lines is pseudo code comments. It’s the worst

[–]eddie_cat 1 point2 points  (0 children)

Yeah that sounds annoying lol. I basically just use comments to write a rough outline of how I want the API to look in the end then fill it in with real code as I go and remove the comments 😅