the world needs more recreational programming.
like, was this the most optimal or elegant way to code this?

no, but it was the most fun to write.

cause like, yeah, it's good to know how to write optimal code and how to make it elegant and easy to maintain, sure!

but one thing you have to maintain is your brain. If you're constantly driving your programming brain at maximum speed, maximum awareness of all possible caveats and vulnerabilities, always considering "how will I maintain this code in ten years time?" you're going to burn yourself out.

You're associating programming with a high-stress high-attention activity. That's going to make programming something that's categorized in your brain as no fun, never relaxing, never something you do just cause it would be interesting... you're going to start dreading it, even just a little. "oh well, let's get this over with."

That's not a good way to think about it in the long run.

we often say that programming is more an art than a science, but we need to treat it like one too.

Sometimes you need to paint a sunset not because someone paid you to paint a sunset, but because it'd be fun to paint a sunset.

we need a bob ross of programming
PBS's The Joy Of Programming
@foone except every episode ends with the host screaming
@foone I like this a lot. A project every season? You follow along and you're pointed to learning resources on a PBS landing page for the show. This would be nice resource for resource-strapped schools.
@therieau yeah it's the kind of thing the BBC would do in the 80s
@foone Shit, we could do this on Twitch, but we wouldn't have nearly the audience. Think how many people have broadcast-ready facilities in their homes. Show, round-up show, podcast, learning guides. This could be a big deal.
@therieau @foone there are actually twitch streamers coding and they have quite some viewers!
@foone closest I've seen is the Coding Train guy, but he's less Bob Ross, more Richard Simmons
@foone *and I love him for that* 🌈
@nuxi @foone I love Dan Shiffman, now In have to learn about R Simmons

@nuxi @foone javidx9 is closer to bob ross, his videos are very much intended to be followed along at home

https://www.youtube.com/@javidx9

Bevor Sie zu YouTube weitergehen

@nuxi @foone daniel shiffman is such a cool person, i actually started programming many years ago thanks to him
@foone PBR the beer of programming?
@foone I've played with Scratch a little with the kid and that could be a fun show, just animating the sprites and interacting in interesting ways. I'm not sure how many episodes you can do, but neither was Bob Ross I'm sure.
@foone
Until this becomes a thing, I'll just keep rewatching Abelson and Sussman's SICP lectures.

@foone

...happy little binary trees...

@foone

Also: this is why I like writing my little FOSS projects. There's absolutely no external pressure so I can just explore the problem. It's the good-parts-only version of programming.

@foone That may not be the output we wanted, but some random chunk of memory. Still it's very beautiful in its own unique way. Every chunk of memory deserves a little time on stdout if you think about it. Happy little off by one errors.

@sebastian @foone this is literally what Coding Adventures by Sebastian Lague on youtube are

https://youtube.com/@SebastianLague

Bevor Sie zu YouTube weitergehen

@uint8_t @sebastian @foone Sebastian was the person that jumped to mind as soon as I saw "Bob Ross of programming". such a soothing voice.
@foone misread this as PSB’s Joy of Programming and now I’m looking forward to a public service broadcasting concept album / song cycle about such a thing. I can almost hear the whooshing sound of a reel-to-reel warming up opening the piece …
@foone There's no bugs. There are just happy little coding accidents.

@foone i know your whole point is that we shouldn't only ever try to be practical, but as an additional bonus, i genuinely think all the hours of code golf i did for fun have made me a better programmer

not that any "normal" code i ever write looks golfed at all, but you learn so much about a language when you're digging into the weeds looking for ways to save bytes

Mozilla's @[email protected] has done more than 350 episodes of "The Joy of Coding" and they're great https://mikeconley.ca/joc/ cc @foone
The Joy of Coding

@foone
the guy writing Komorebi (win11 tiling window manager) has this going on kinda https://youtu.be/0zX289iBOd4
Round Windows are Cooked - Let's Bring Back Square Borders | Rust Live Programming 🦀 | Win 11 TWM

YouTube
@foone Happy little binary trees?
@foone Was this why's (poignant) Guide to Ruby?
@foone "we don't write bugs, just happy unintended features"
@foone happy little binary search trees
@foone https://thecodingtrain.com/ is maybe a little more Levar Burton in tone but is about making something so I associate it with Bob Ross
@casey @foone The Coding Train is definitely the first thing I thought of when I read this post.

@foone I wish I could do this, but I'm no good at "patter", especially while I'm coding.

I also use a font size that I have been told is "insanely small", and I suspect video compression will make it unreadable.

But, I don't mind showing off my ~~mistakes~~ happy little syntax trees and I've (re)started coding for myself several hours each day.

I really should find an PeerTube instance or something and start streaming; I can work on video quality and viewer interaction later, I guess.

@BoydStephenSmithJr @foone Sebastian Lague is incredibly good at this and also yes you should stream Boyd https://www.youtube.com/@SebastianLague
Bevor Sie zu YouTube weitergehen

@kevinriggle @foone

I think I'm live: https://video.infosec.exchange/w/hmradyAMD5rJ6LKWVUiJLk

This is the first time I've streamed with OBS in years, and the first time I've streamed with #PeerTube at all.

Joy of #PureScript Programming (testing)

PeerTube
@foone I keep meaning to start a YT channel "This Old Code"...because one needs to exist...
@afeinman @foone shouldn’t that be „this old coder“ and feature two talking hands with a weird sense of humor? 😁
@dec_hl Tony has enough on his hands with machining...
@foone I think Bill Atkinson was always the Bob Ross of programming.
@foone This is also a part of why doing it in a corporate setting inevitably leads to burn out. It’s a “high stress, high attention” situation by default

@foone

Writing elegant code is fun. Throwing together a bunch of unmaintainable crap because you are on a deadline and management doesn't care is what burned me out.

@foone 10 PRINT “THIS!”
20 GOTO 10

@billgoats @foone

Twas this, that a child saw, that hooked me forever on the code.

@foone

> was this the most optimal or elegant way to code this?
> no

Me implementing anything

@foone I'm in it for the bits that make my head explode. I try to keep that stuff away from work. But exploding heads, especially mine, are fun.
@foone agreed, i would love to learn coding in a non-proffesional setting,,,
@foone my favorite IOCCC (obfuscated C code competition) entry is the flight sim that's in the shape of an airplane.
@foone I suggest Ruby for elegance
@foone we have that, it's called procgen

@foone This is me when I get to manipulate the DOM with vanilla JS.

document.getElementbyId()?
element.classList.add()?
element.addEventListener("click", doThing)?

Yes pls let me chew on this juicy, logical, non obfuscated code! 🤤