Never Write For-Loops Again dev.to/dawranliou/nev…
@ThePracticalDev As somebody who is old enough to know what a compiler and a processor do my head now is rested firmly on my desk.
@ThePracticalDev "How to make your code harder to understand in 2 easy steps". Sounds like an example of mortgage-driven development.
@ThePracticalDev Good article. Although I would submit that if you nest list comprehensions, you’re better off with a for loop.
@ThePracticalDev #rstats programmer here, didn't even know how for loops work for months while learning the language
@ThePracticalDev one common case where I end up going for for loops is when I need to read a list in reverse. Conservative to reverse it.
@ThePracticalDev wow you guys really cling to your for-loops. I prefer LINQ/declarative code personally, took me a while to come around tho
@ThePracticalDev Sweet, functional programming for the sake of functional programming. Goodbye useful early exits, hello I am a smartypants.
@ThePracticalDev sorry, we feel very comfortable with For-Loops. What is your problem trying to solve ?