blog.startifact.com/posts/humble-for-loop-js

Preview meta tags from the blog.startifact.com website.

Linked Hostnames

8

Search Engine Appearance

Google

https://blog.startifact.com/posts/humble-for-loop-js

The Humble For Loop in JavaScript

I've seen some programmers try to avoid the humble for loop at all costs, in favor of more functional abstractions. I'm going to argue that the for loop is sometimes simply the best option. That doesn't mean you should always use it -- far from it -- but it does mean you should give it due consideration. The goal is to help develop some intuitions about this topic. I talk about readability of code in this post, but I also talk about performance. My argument will be that there are cases where the for loop combines readability with performance. I'm focusing on JavaScript as the example language, but it can stand in for many languages with similar characteristics like Python and Ruby. But the culture of JavaScript leans more towards functional programming patterns than these other languages, so I think it's the appropriate language to highlight. …



Bing

The Humble For Loop in JavaScript

https://blog.startifact.com/posts/humble-for-loop-js

I've seen some programmers try to avoid the humble for loop at all costs, in favor of more functional abstractions. I'm going to argue that the for loop is sometimes simply the best option. That doesn't mean you should always use it -- far from it -- but it does mean you should give it due consideration. The goal is to help develop some intuitions about this topic. I talk about readability of code in this post, but I also talk about performance. My argument will be that there are cases where the for loop combines readability with performance. I'm focusing on JavaScript as the example language, but it can stand in for many languages with similar characteristics like Python and Ruby. But the culture of JavaScript leans more towards functional programming patterns than these other languages, so I think it's the appropriate language to highlight. …



DuckDuckGo

https://blog.startifact.com/posts/humble-for-loop-js

The Humble For Loop in JavaScript

I've seen some programmers try to avoid the humble for loop at all costs, in favor of more functional abstractions. I'm going to argue that the for loop is sometimes simply the best option. That doesn't mean you should always use it -- far from it -- but it does mean you should give it due consideration. The goal is to help develop some intuitions about this topic. I talk about readability of code in this post, but I also talk about performance. My argument will be that there are cases where the for loop combines readability with performance. I'm focusing on JavaScript as the example language, but it can stand in for many languages with similar characteristics like Python and Ruby. But the culture of JavaScript leans more towards functional programming patterns than these other languages, so I think it's the appropriate language to highlight. …

  • General Meta Tags

    8
    • title
      Secret Weblog • The Humble For Loop in JavaScript
    • charset
      UTF-8
    • viewport
      width=device-width, initial-scale=1.0
    • base
      https://blog.startifact.com
    • color-scheme
      light dark
  • Open Graph Meta Tags

    6
    • og:description
      I've seen some programmers try to avoid the humble for loop at all costs, in favor of more functional abstractions. I'm going to argue that the for loop is sometimes simply the best option. That doesn't mean you should always use it -- far from it -- but it does mean you should give it due consideration. The goal is to help develop some intuitions about this topic. I talk about readability of code in this post, but I also talk about performance. My argument will be that there are cases where the for loop combines readability with performance. I'm focusing on JavaScript as the example language, but it can stand in for many languages with similar characteristics like Python and Ruby. But the culture of JavaScript leans more towards functional programming patterns than these other languages, so I think it's the appropriate language to highlight. …
    • og:title
      The Humble For Loop in JavaScript
    • og:type
      article
    • GB country flagog:locale
      en_GB
    • og:url
      https://blog.startifact.com/posts/humble-for-loop-js/
  • Link Tags

    5
    • alternate
      https://blog.startifact.com/atom.xml
    • icon
      data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 105 55"><text y=".7em" font-size="82">🫥</text></svg>
    • stylesheet
      https://blog.startifact.com/inter_subset_en.css?h=d8cf4ad058d6c3a4015b
    • stylesheet
      https://blog.startifact.com/main.css?h=c6b5fbb10b90540a3ec2
    • stylesheet
      https://blog.startifact.com/skins/teal.css?h=e92398177969212bc9b5

Links

20