Linus explaining taste in code: https://www.youtube.com/watch?v=78Y17hAo96I
Fast inverse square root https://en.wikipedia.org/wiki/Fast_inverse_square_root
Being a humble rank-and-file programmer I did produce pieces of code that I will be proud forever as well, e.g. this snippet to control the length of $PWD in bash that I still use almost unchanged 25 years later:
# How many characters of the $PWD should be kept
local pwdmaxlen=30
# Indicator that there has been directory truncation:
#trunc_symbol="<"
local trunc_symbol="..."
if [ ${#PWD} -gt $pwdmaxlen ]
then
local pwdoffset=$(( ${#PWD} - $pwdmaxlen ))
newPWD="${trunc_symbol}${PWD:$pwdoffset:$pwdmaxlen}"
else
newPWD=${PWD}
fi P="$PWD"
[ ${#P} -gt $pwdmaxlen ] && P="$trunc_symbol${P: -$pwdmaxlen}"Works like the Black Perl[0] are decidedly artistic in nature. Demos (in the demo scene sense) are an artistic endeavour. Competitions like the Obfuscated C Contest or the Underhanded C Contest are very much judged on aesthetics.
The art of a craftsman, otherwise known as 'craft'.
I’d say the brainfuck language on the other hand is art. Hard to draw a fine line as to which is which.
I can say most if not all the projects I’ve ever made land in the former. I’ve made some clever solutions but nothing approaching something with meaning.
If you've written 100 REST APIs, you're probably pretty familiar with them. But Brainfuck is completely alien and something you would have to work to understand. Maybe the distinction is in the effort required for understanding.
Regardless, I think meaning is something one has to self-impose. It does not exist naturally in the universe, so if you don't think it matters, it doesn't matter.
I think what I’m trying to say is that there are both ways to create art by coding and ways to just make a product for consumption. And I think using AI for said products doesn’t really reduce the meaning of said work.
I think I gave brainfuck as an example because it seems there was a meaning behind it beyond being profitable. The writer had something to say. Does writing something like brainfuck with AI take away its meaning? I’d personally say yes, but that’s an interpretation.
Honestly, I can. The author of this article wrote Twisted. I certainly can imagine a museum where computer history is explained along with all the software achievements that made a huge impact on software engineering as a whole, and Twisted would have a place in it.
The printed Apollo program code is owned by a museum (https://airandspace.si.edu/) and is on display there sometimes
There may be others elsewhere too, but that one jumped to mind immediately
Unless you are arguing that the rare museum exhibition is the normal case whereas books and recitations are the abnormal ones.