Jerod Santo changelog.com/posts

Can your favorite programming language score a g()('al')?

And now for something a little different. I'll let Russell Harmon's describe it to you:

g()('al') is a challenge whereby you need to write in as many languages as possible code which enables the code g()('al') to return the string "goal", the code g()()('al') to return the string "gooal", the code g()()()('al') return the string "goooal", etc.

Solutions have been accepted for a score of languages already, but there are many more to add and the PR queue is quite active already.

I love challenges like these. They bring the programming community together and you can learn a lot about different languages by seeing how they solve the same problem.


Discussion

Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00