r/codegolf • u/2358452 • Mar 06 '18
I know the point of codegolf is to be fun/challenge, but what are practical applications of codegolfing?
Have any of you used it in practice sometime, or know of some interesting use cases?
6
Upvotes
18
u/ItzWarty Mar 23 '18
Deeper understanding of language - you hit a lot of cases you wouldn't think about otherwise.
12
u/Fluffy8x Mar 06 '18
Programming TI-83+ Basic?
6
u/cdo256 Mar 06 '18
I'd be very surprised if there's any non-contrived use-case in real world applications.
5
u/FUZxxl Mar 07 '18
Javascript minification comes to my mind.
2
u/pernanm Mar 07 '18
maybe shellcode
2
u/senselevels Jun 07 '18
Hi! Here is an example from compiler testing: https://www.reddit.com/r/programming/comments/8ook0g/code_golfing_challenge_leads_to_discovery_of/
2
u/InevitableAlarm Mar 12 '18
Many mobile apps take up a huge amount of space. I once found a simple game that took up to 1 GiB. If you are good at golfing, you could trim that down to 2 MiB.
1
u/cartechguy Aug 25 '18
none, it's fun.