Peter Shinners

@shredwheat.bsky.social

{Tech + Python + Gaming + VFX}

The Python builtins I frequently use probably have no valid type hint definition. If they do I suspect they are an unreadable monster. I really like most of these builtin functions, which perhaps confirms I dislike type hints? I'm ok with that. #python

I'm starting to believe many of SQL gotchas and pitfalls actually come from the design of Python's dbapi v2 (which is the general way I access SQL). Digging through the layers of `mysql.connector` has me thinking this could be so much nicer. Pondering something lighter weight... #python #sql

Reminiscing a vendor with a Python json api. They parsed json with `true=True; false=False; null=None; eval(text);` They also wrote the json line by line with `print` statements so it had invalid corner cases. They were quite proud of this and defended it for several releases. #python #horror

The mark of an excellent programming language; is the standard library an idiomatic example of using the language. This might be why I think of languages like C++ as festering garbage while Python is doing a fairly decent job. Does this model fit other languages of your choice? #programming

Gaming 2024 Quick Hot Take (2 of 2) My most overrated game for 2024 was **Baldur's Gate 3**. I have never stumbled into a game that punishes creativity and despises the player's time and interest. I retired from savescumming games decades ago. Rage!

Bild

Gaming 2024 Quick Hot Take (1 of 2) My underrated game of 2024 was **Prince of Persia: The Lost Crown**. This pacing and playstyle are perfectly dialed in. I was literally exclaiming out loud at the quality skills, battles, and exploration. Masterpiece!

Bild