|
Hey, nerds! Anyone here into code golf? For those who don't know: You're given a task, like print all the primes from 1 to 100, and you have to write the smallest possible program to do that. There are some excellent sites out there for playing code golf. Code.golf is one: https://code.golf/ Anagol is another: http://golf.shinh.org/
|
# ? Dec 2, 2021 07:55 |
|
|
# ? Apr 26, 2024 22:48 |
|
Never heard of this before, but I like it! I've been learning python and have been looking for some fun, intermediate-level "exercises" to try. I'm sure I won't break any records for efficiency, so I'll focus on just completing the problem and that will be fun enough!
|
# ? Dec 4, 2021 04:17 |
|
FPS_Sage posted:Never heard of this before, but I like it! I've been learning python and have been looking for some fun, intermediate-level "exercises" to try. I'm sure I won't break any records for efficiency, so I'll focus on just completing the problem and that will be fun enough! Yeah, I've solved some of the problems just to solve them without caring about competition. I have a few problems where I have extremely golfed versions and also professionally written versions just to see.
|
# ? Dec 6, 2021 21:16 |
|
I just did this, and I love it. Got 7th place for a Swift FizzBuzz challenge. I wasn't even trying.
|
# ? Dec 31, 2021 02:57 |
|
There's also the Code Golf and Coding Challenges stack exchange community, where I've golfed a bunch in K. The site and community are very flexible and diverse when it comes to the languages used. The answers are public, and often accompanied by explanations, which is way to get into golfing.
|
# ? Feb 2, 2022 19:31 |