creative code
It’s interesting how we all thought AI won’t take over creative jobs when it was taking over one of the most creative jobs - programming.
Just like painting, writing, music, programming has its rules and constraints and it gives you a blank canvas to imagine & create with endless possibilities.
I saw this code snippet today and thought, that’s a funny code:
password_file = open('SecretPasswordFile.txt')
secret_password = password_file.read()
print('Enter your password.')
typed_password = input()
if typed_password == secret_password:
print('Access granted')
if typed_password == '12345':
print('That password is one that an idiot puts on their luggage.')
else:
print('Access denied')
I know people have build marvelous and much more quirky things with code. It’s me who’s finding it as a new and refreshing thing.
I lowkey want to have fun with code and studying again.
I understood how to play a 9x9 sudoko for the first time today. The rules are so simple yet I never gave them enough attention to play and enjoy it.
Now I am thinking simple of simple logics on how to create different puzzles. What logic would separate an easy puzzle from a hardcore puzzle without increasing the size of the puzzle.

When I tweeted my thoughts on programming being creative. I got a thoughtful response, “the art has been dismissed, while the craft was placed on pedestal.”
If art is the why and the craft is the how.
Then we have stopped asking why of the programming decisions the AI takes, we just go along with whatever the AI recommends.
As for the how, we just want the AI model to give it’s best work possible, that feels human and good.
