I have a half baked idea in my head, but I think there's something to it.
Writing code and working as a programmer for almost 20 years, has rewired my brain.
I have certain habits of mind that can irritate and annoy my wife.
I can't help but point out logical inconsistencies if I find them in something I see or hear.
I tend to consider multiple possible scenarios and outcomes, or all the different iterations of something.
I can get bogged down in the details of a story.
I like puns and wordgames and seeing words used in novel ways.
These are all traits that programming selects for, and strengthens.
I guess everyone's brain gets rewired by what they do. It's just kinda strange to realize the extent of it sometimes when I reflect on my behavior.
I had to go to Düsseldorf today.
Some really nice Art Deco (I think) buildings here.
I love architectural styles from the turn of the previous century (e.g. also Art Nouveau).
A while back I read an interview with the mathematician Conway where he said something that I regularly think of.
To be a great mathematician, you have to be comfortable with something not being finished, not knowing when it'll be finished or whether it'll ever be finished (by you). You might work on a proof for years, not knowing whether you'll actually solve it.
Whenever I have anxiety around some unfinished project at work, I think of this quote. I'm not a mathematician, but we can all learn to accept ambiguity and incompleteness.
I'm fact, the mathematician Gödel, showed that every conceivable mathematical framework is incomplete, because it contains unprovable statements.
Quite a while back, I read about how the #Svelte devs used JSDoc type hints together with the #TypeScript compiler to add types to Svelte while keeping the actual code #JavaScript.
I've decided to do the same with the #XMPP library Strophe.js
Strophe now contains type declaration files generated from the JSDoc type hints (not yet released).
My experience is a bit mixed.
Writing JSDoc types is more verbose and feels a bit more clunky than writing TypeScript.
But on the other hand, you avoid introducing a compilation step and the code itself doesn't have to change much.
For relatively small libraries like Strophe it's worth considering.
Any #neovim or #vim fans here?
Took me a while, but I've finally gotten comfortable with using the :terminal feature from Neovim.
Being able to use vim keybindings to search terminal output and to copy it into a vim buffer is a game changer.
Bonus, now I don't ever need to leave vim!