this post was submitted on 19 Apr 2025
132 points (94.6% liked)
Programming
19795 readers
613 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Dude, there are at least 4 different "for" loop syntaxes in Js/Ts alone:
Also don't forget ngFor and @for in html, and then the @for in sass/scss.
That's 7 different for loops and I haven't included the non-for loops, or even left Angular.
Once we include some scripting like I did just this week:
Then you can just stfu if I feel the need to remind myself of the exact syntax for one of the 3 or 4 different for loop options in c#.