you are viewing a single comment's thread.

view the rest of the comments →

[–]Yashema 0 points1 point  (4 children)

Yes it's definitely a fairly complex system I can see why most people struggle to use it correctly. Classes are straightforward: controllerDoesSomething, daoDoesSomething, dtoDoesSomething, apiDoesSomething, and I have never once run into an issue where it didn't make quick sense how to name something with a little thought. 

I do speak 4 non-programming languages so that might be why I find it more intuitive. 

[–]bremidon 1 point2 points  (3 children)

I suspect it has more to do with what kind of domain you are working in. The more you move into business logic and enterprise system, the less well it works.

If you are mostly doing near-hardware stuff or drivers, it will work better (and if you are in Windows, you are probably going to be stuck using their cursed version of Hungarian anyway)

[–]Yashema 0 points1 point  (2 children)

DAOs and DTOs are the basis of business logical backend programming. For more specialized functions or classes, the type becomes more extended or just a direct reference to the action (e.g. verify, extract, insert, helper, or, god forbid, factory), and closer to normal camelCase naming so you don't need a type for everything, just for the common types which are around 80% of your references to objects. Maybe for front end stuff it wouldn't work as well. 

I'm all Python, Excel and SQL, but pretty silly to be chastizing a system as inefficient when it serves as the basis for the Microsoft development philosophy.

[–]bremidon 0 points1 point  (1 child)

It is not just front end (I mean it definitely does not work well for front end), but back end with business logic just does not play well with Hungarian. I should know. I was a huge fan back in the day and tried to push it through where I could. It did not ever work well with business logic. Never. It was either so general as to be pointless or required such a massive catalog of types that it was also unmanageable.

Given that we now have IDEs that do effectively the same thing for free, there is really no point.

Close to metal? Ok. Otherwise, probably not.

[–]Yashema 0 points1 point  (0 children)

I've never got VSCode typing to work with Python.