Code Golfing during COVID for the nerds amongst us.
"Code golf is a type of recreational computer programming competition in which participants strive to achieve the shortest possible source code that implements a certain algorithm." — Wikipedia
Any language is accepted, as long as it is considered non-recreational.
"Several new languages have been created specifically with code golfing in mind. Examples include GolfScript and Flogscript, which are Turing-complete languages which provide constructs for concisely expressing ideas in code. Because golfing languages compete for extreme brevity, their design sacrifices readability which is important for practical production environments, and therefore they are often esoteric." — Wikipedia
Yes. It is called APL. And although it seems like a recreational language, it was (as is) in fact used in many production systems. It just turned out to be quite compact for code golfing problems where array manipulation is of the essence. We'll see if it can keep up (character-wise) with problems of a different nature.
Yeah, well. Code golf strives to achieve the minimum answer possible; which mostly translates to sub-optimal solutions in terms of time and space complexity. Some proponents usually open a "parallel" challenge for performance-minded participants.
Well, mainly people somehow related to the Faculty of Engineering, University of Porto (professors, students, alumni...); but mostly, we are all just friends hanging out virtually ;^) Right now, the participants with submitted solutions are (add your name and webpage/github link here):
- André Restivo
- André Silva
- António Ramadas
- Duarte Duarte
- Henrique Ferrolho
- Hugo Sereno Ferreira
- Mafalda Falcão Ferreira
- Miriam Gonçalves
- Pedro Fernandes
- Rui Gonçalves
- Tiago Almeida
Why not?... Just submit a Pull Request.
Why not?... Just submit a Pull Request. We now have a one-problem-per-week-rule™, after the untoward weekend of April 18th.