News for hackers. Stuff that matters.
Re:Natural occurring molecule rivals Ozempic in weight loss,... by ge96 on Friday March 07, 2025 @11:14AM (#43291383)
interesting TIL too bad we don't have auto doc gen (fastapi what I'm working with atm)

edit: not saying it can't be done but our org isn't using auto docs

Re:Natural occurring molecule rivals Ozempic in weight loss,... by TheRealPomax on Friday March 07, 2025 @11:30AM (#43291552)
Yeah, it's one of those "Once you're used to writing doc strings, you have no reason to ever use anything else" but if you don't use them, it can be prohibitively laborious to move whatever alternative you're using over to "PEP-compliant".

(lots of fun dunder functions in Python that make metaprogramming a lot easier, but someone needs to tell you about)

Re:Natural occurring molecule rivals Ozempic in weight loss,... by disgruntledphd2 on Friday March 07, 2025 @01:40PM (#43292893)
Fluent Python covers a bunch of this stuff.