mesa@lemmy.world to Programming@programming.devEnglish · 7 days agoVibe Coding is not an excuse for low-quality workaddyo.substack.comexternal-linkmessage-square46fedilinkarrow-up1138cross-posted to: [email protected]
arrow-up1138external-linkVibe Coding is not an excuse for low-quality workaddyo.substack.commesa@lemmy.world to Programming@programming.devEnglish · 7 days agomessage-square46fedilinkcross-posted to: [email protected]
minus-squareTest_Tickles@lemmy.worldlinkfedilinkarrow-up7·edit-25 days agoDude, there are at least 4 different “for” loop syntaxes in Js/Ts alone: for (let num = 1; num <= 5; num++) {}. for (const num of numbers) {}. for (const num in numbers) {}. this.numbers].forEach(num => {}); 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: bash: for i in {1…5}: do … done dos: for /L %%i in (1,1,5) do () 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#.
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#.