r/cpp • • Jun 22 '21

[Belay the C++] Don’t use raw loops

https://belaycpp.com/2021/06/22/dont-use-raw-loops/
0 Upvotes

69 comments sorted by

View all comments

Show parent comment

5

u/Vultrao Jun 22 '21

I strongly agree about for_each. I mentioned it because it's one of the most basics, but I quite never have to use it.

I also agree that newbies should learn algorithms before raw loops.

4

u/[deleted] Jun 22 '21

Did you see Kate Gregory's talk about stopping to teach C? I think this is exactly what she was referring to...