Follow

15+ years working with Python and most of the issues I would run into were either my fault (not understanding a concept) or an inherit limitation of the platform , i.e, if you want really fast code or rely on good parallelism, you are not going to have a good time.

Today though I think I hit the first thing that truly disappointed me: try formatting a Decimal number in a way that it prints only the significant digits. You can not. `:g` works for floats, but not Decimals.

Yeah, you can call Decimal.normalize(), but then you need to be special-casing your formatting code which is just stupid.

Show thread
Sign in to participate in the conversation
Communick Social

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!