EnterpriseQualityCoding / FizzBuzzEnterpriseEdition

FizzBuzz Enterprise Edition is a no-nonsense implementation of FizzBuzz made by serious businessmen for serious business purposes.
21.29k stars 751 forks source link

We must re-implement in Rust or Haskell #309

Open gihad opened 7 years ago

gihad commented 7 years ago

Why would you use Java and JVM for this project? Why pick the tech with most performance out there? Who needs to work with the tech that has the most support? Why use tech that is so easy to hire for? Do we really need to use the tech that dominates the web, the big data world and is used by the top tech companies?

Forget Rust or Haskell, it's still too verbose and not hipster enough. We should re-implement it in Brainfuck

VoyTechnology commented 7 years ago

Please see discussion on https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition/issues/256. I presume the points still hold no matter the language.

vbmacher commented 6 years ago

I'm sorry to ruin the enterprise thinking, but in Haskell it's unfortunatelly just one line:

fizzbuzz n = take n $ zip [1..] $ zip (cycle ["","","fizz"]) (cycle ["","","","","buzz"])
VoyTechnology commented 6 years ago

@vbmacher We appreciate the effort, unfortunately your code lacks unit tests, integration tests, documentation, deployment plan, instructions for our system administrators. It also breaks the 80 char limit, which means it would have to be split into multiple lines, breaking the promise of "one line". This rewrite will therefore require too much resources to maintain.

radrow commented 4 years ago

To be fair, you have to have a very high IQ to program in Haskell. The language is extremely subtle, and without a solid grasp of category theory most of the main concepts will go over a typical coder’s head. There’s also Haskell's monadic pattern, which is deftly woven into its paradigm- most of its workflow draws heavily from continuation passing style, for instance. The haskellers understand this stuff; they have the intellectual capacity to truly appreciate the depths of these solutions, to realise that they’re not just elegant- they say something deep about COMPUTER SCIENCE. As a consequence people who dislike Haskell truly ARE idiots- of course they wouldn’t appreciate, for instance, the function definition in Haskell's code “(=<<) . (const .) . flip (.)” which itself is a cryptic reference to lambda calculus and monadic properties of functions. I’m smirking right now just imagining one of those addlepated simpletons scratching their heads in confusion as Peyton Jones’s masterpiece shows up in their nano editor. What fools.. how I pity them.

And yes, by the way, i DO have a lambda&bind (>λ=) tattoo. And no, you cannot see it. It’s for the other geeks' eyes only- and even then they have to demonstrate that they’re within 5 IQ points of my own (preferably lower) beforehand. Nothin personnel kid

jonaskoelker commented 1 year ago

This is a duplicate of #392 and #589.