• 0 Posts
  • 20 Comments
Joined 2 years ago
cake
Cake day: June 20th, 2023

help-circle





  • The forums I’ve enjoyed the most didn’t have voting and I’d rather that Lemmy just shut it off. VBB has a “thank” button you can click on posts, but they still show up in chronological order. That’s less gameable and less subject to outrage amplification and similar social media hazards. This isn’t Facebook and we don’t need to reproduce Facebook’s evil.


  • Yes they are sometimes used, as is doctest, but Python’s built in help system isn’t as good as it could be, so the docstrings aren’t that useful. Most annoyingly, for built in library classes, help(whatever) spews machine generated prototypes at you before you get any actual documentation.

    I generally like to write some kind of explanatory text along with any nontrivial function that I write, but I’m not very consistent about doing this as a doctring vs as a code comment. I do use type annotations heavily nowadays.









  • The attraction of substack for at least some writers is that substack actually pays their more popular or prestigious writers. I don’t know how many or whether there is a published list of them, but at least a few of them are getting paid rather well (6 figures/year or maybe more). If Substack is recruiting and paying Nazis, then that is of interest and concern. Most writers there aren’t getting paid by substack, though they may have readers who buy subscriptions. That is open to pretty much everyone and the fanfiction saying “don’t like, don’t read” works for me here. Saying Ghost is a more attractive platform because it has more censorship is kind of a head scratcher. And calling Taibbi and Greenwald Nazis is ridiculous. Disliking the Democrats doesn’t make someone into a Nazi.

    That said, I don’t personally like substack very much and am always glad to hear about alternatives.




  • I don’t like the current landscape of python type checkers.

    I figure that Python itself is at the bottom of this. It simply wasn’t designed for static types. Mypy is still of some use but if you want a statically typed language, trying to graft a type system onto a unityped language hasn’t worked out well as far as I know. See also: the Erlang dialyzer, Typed Racket, and whatever that Clojure extension is called. Even Scala has its problems because the JVM has its own type system that isn’t that great a fit for Scala.

    Also, why Rust as the implementation language? Just for speed? It seems a shame to not use Python/PyPy.