3 ms·
> As I was writing up this post, I noticed that almost every single line began with a variable. At a first glance, “never gonna” wouldn’t work because variables
by tromp 4y ago
> As I was writing up this post, I noticed that almost every single line began with a variable. At a first glance, “never gonna” wouldn’t work because variables need to be unique.
This is less of a challenge for IOCCC entries like my [1] where I wanted the variables & constants to spell out the language it interprets:
Int L[A],m,b,*D=A,
*c,*a=L,C,*U=L,u;s
as C doesn't care about capitalization, whereas Haskell reserves upper case for types and constructors.
[1] https://www.ioccc.org/2012/tromp/tromp.c https://www.ioccc.org/2012/tromp/tromp.c
- User23 4y agoI thought your name looked familiar! I recall being very impressed with your 1989[1] entry when I came across the ioccc in the mid 90s. [1] https://www.ioccc.org/years.html#1989_tromp https://www.ioccc.org/years.html#1989_tromp
- tromp 4y agoThat one was co-authored with Freek Wiedijk, who curiously also went on to win a "Most Functional" award [1]. [1] https://www.ioccc.org/years.html#2014_wiedijk https://www.ioccc.org/years.html#2014_wiedijk