3 ms·
I am sorry, but I am not going to pull in an external dependency just for this, especially not with the power of fstrings in newer python versions.
by atoav 6y ago
I am sorry, but I am not going to pull in an external dependency just for this, especially not with the power of fstrings in newer python versions.
- mnd999 6y agoIndeed, in a couple of years this is the new leftpad.
- dataflow 6y agoIt's for debugging. Not something to depend on in released code. Put the import in your site initialization file and you won't even have to import it in the REPL.
- atoav 6y agoI understand, but Python >3.8 can do this: >>> x = 1+1 >>> print(f"{x = }") x = 2 And if it is included why pulling in a dependency? And even if it is a dev dependency: it can be a dev dependency that bites you in two years in the middle of a night when your service fails.
- tamentis 6y agoYou're just being difficult. It's easy, you just setup these 10 Node.js micro services in docker, setup your database, the cache. Then my friend, you can really debug with beautiful print messages. Wait until someone creates a $10/user SaaS service out of it.
- fouc 6y agoInsightful prediction of how development will be done in the future.
- deleted 6y ago[deleted]
- mcswell 6y agoAnd I am going to use it, because of the pain of typing {, which half the time my fingers miss (whereas I'm pretty good at typing 'i' and 'c').