News for hackers. Stuff that matters.

beanpup_py

Show HN: Soppo – A Golang superset that adds enums, pattern matching, nil safety

https://github.com/halcyonnouveau/soppo

Hey HN, I've been working on Soppo, a language that compiles to Go, adding features to catch errors at compile time instead of runtime: enums with exhaustive matching, `?` for error propagation, and nil safety from static analysis of nil flows (sort of like https://github.com/uber-go/nilaway but currently much less sophisticated). It's designed to still look and feel like Go, and be able to use...

( Read More... | no comments | on HN )
Yeah, this entire website is a pretty clear ai content farm. From the stable diffusion profile images to the twitter with 27k followers and no engagement.
Re:Dictionary union (PEP 584) is merged on Tuesday February 25, 2020 @10:24PM (#22420006)
No, it adds a new merge (|) and update (|=) operator to avoid using

    {**d1, **d2} 
because it apparently looks ugly[1].

[1]: https://www.python.org/dev/peps/pep-0584/#d1-d2

Re:Show HN: Darken – Darkmode Made Easy on Thursday January 16, 2020 @07:47PM (#22070729)
Do you do anything different to other libraries like dark mode.js?

https://github.com/sandoche/Darkmode.js