1. 4
    1. 5

      I remember when FizzBuzz appeared, and it was a filter for figuring out which job candidates, often with impressive CS credentials, could actually program on a bright grade schoolers level.

      Almost immediately everyone and their dog ran with it, golfing, putting it in Rosetta, writing EnterpriseFizzBuzz… not sure more people learned to program though.

      1. 1

        Yeah, I’d also hope that it isn’t actively in use in coding challenges any more but people are using other smaller programs to check coding ability. At a delivery startup I was working, we took an isolated from actual production code which dealt with our tracking numbers and made that the coding challenge. Worked really well.

        Overall I think it’s much less common for people to leave university without being able to code. I think it’s become more practical, the education material is much better and we also have a bunch of people from non traditional backgrounds getting into coding quite well.

      2. 3

        I would argue that not knowing about the modulus operator is a red flag, even if it’s not widely used.

        1. 1

          I disagree, but depends on what you’re working on and checking for. I can easily see lots of career changers and people without a classical university background not knowing it.

          I can’t tell the last time I needed to use it when it wasn’t FizzBuzz. I think some frontend code that needed to determine items in a row or what not. But usually you got better options there often (like each_slice) in Ruby.

        2. 3

          I had fun using fizzbuzz to illustrate some fun techniques in C: higher-order macros and higher-order include files; and FreeBSD-style linker sets.

          1. 2

            Nice! See also DIVSPL, which generalizes FizzBuzz further.

            1. 1

              that’s neat although I’m not the biggest fan of eso langs. It’s a nice example though of what a DSL might achieve in a given context.

          🇬🇧 The UK geoblock is lifted, hopefully permanently.