3 ms·
I'm a PHP developer who knows Python. I tried to learn Django awhile ago and to be honest I wasn't that impressed. Super leaky abstraction... nearly every singl
by itsybitsycoder 13y ago
I'm a PHP developer who knows Python. I tried to learn Django awhile ago and to be honest I wasn't that impressed. Super leaky abstraction... nearly every single error message was something about string manipulation inside the Django code itself, with no reference at all to my own code. It made it totally impossible to learn by doing. Also, this was probably a result of my lack of experience with Django, but the way I was told to organize my Django project (with functionality kept in modules) felt very wrong in a web app (as opposed to a website) where all the pieces are interconnected. I ended up having only one custom module that would be totally unreusable for anything else, which made me question the point of putting it in a module at all.
- sneak 13y agoYou're right: PHP silently converts your vars to strings and then does the wrong thing without ever telling you.
- itsybitsycoder 13y agoI think you misunderstood. I'm not talking about Python throwing errors about the types of my variables. Like I said, I'm already quite comfortable with Python. I'm talking about Django failing to check whether my Django-specific code (e.g., templates) is valid, so that Python gives me an error message that appears to originate inside the Django codebase, instead of Django giving me an error message about the syntax of my template. I've only briefly tried CakePHP, but IIRC its error handling was excellent.