News for hackers. Stuff that matters.
Re:Show HN: The Shark Programming Language Realease 1.0.0 by dragonwriter on Friday March 24, 2023 @06:48PM (#35296727)
> having to __format__ “private” symbols like this,

But…that’s not how you format “private” symbols in Python, conventionally; single leading underscore is; double leading is for identifiers you want mangled with classnames, and double leading and trailing is for special methods.

Re:Show HN: The Shark Programming Language Realease 1.0.0 by Yoric on Saturday March 25, 2023 @01:04PM (#35304640)
In my book, special methods (aka protocols) are... well, let's say not the most beautiful part of Python. Lot's of poorly documented magic in there.