Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Huh. For me Python is the one language where that doesn't happen. It just works.
The only exception is the inability of Python to concatenate numbers and strings without explicit casting. I find that strange considering it usually doesn't give a shit about types. -
@metamourge Could you provide an example? I'm curious about what kinds of things it's screwing you over with.
-
@COD4
Only some normal stuff, like marshal an object to JSON.
No matter what I do, it always outputs "object isn't json serializable".
I also didn't find a solution in the Documentation. -
@metamourge The json module only knows how to serialize certain builtin types, it can't serialize any object instance out of the box.
This article explains it well: https://realpython.com/python-json/ -
@irene c++ is exciting due to how much one can do with it... and it's fun to use soooooooooo many language features and language not helping us 🤣🤣🤣🤣😁😁😁😁
-
I felt that way initially when modifying a Django project. More recently when I've had to work on it again running through the flow of data it makes a lot more sense. I'm quite impressed by the scope of he autogenerated admin backend.
Related Rants
Is it just me, or are there any other devs, that just can't get going with python?
Every time, I try to do something, that is supposed to be simple, the language be like, "Bitch, hold on. I know I'm supposed to be the most simple language there is, but here I am again, to fuck you over. Your welcome.".
According to my friends, its actually just me.
question
python