Saturday, April 22, 2006

Hungarian - is that like getting it "french"?

In the past few years I have discovered many starting to use Hungarian notation like names in Java and just today I also saw some in Python. For instance the author of Tapestry, a framework I just love, tend to use I as a prefix of all interfaces like IMyInterface. Is this a good idea? I haven't just yet decided for myself - normally I, myself, would not do that in java, as I find it is not neccessary and I do not want the end-user (if it is API code) to know the difference between my interfaces and actual implementing classes, but still - it doesnt really matter. I guess it's a matter of like.

A tiny note about Python, now - I still learning so bare with me but its just doesnt seem easy to implement API's in Python (perhaps generally in dynamically types languages). I was playing around with twisted today (great framework by the way) and wanted to extend the base Protocol class but I didn't know which methods to implement or override and the documentation is kinda hard for me to read coming from the Java world. In Java you DONT have this kinda problem (even as a novice Java programmer) as your IDE (or Java compiler) will TELL you what methods you have to override or implement. Well - I guess its just one of those things I'll have to get used to....

1 Comments:

Blogger markclinton93350625 said...

Get any Desired College Degree, In less then 2 weeks.

Call this number now 24 hours a day 7 days a week (413) 208-3069

Get these Degrees NOW!!!

"BA", "BSc", "MA", "MSc", "MBA", "PHD",

Get everything within 2 weeks.
100% verifiable, this is a real deal

Act now you owe it to your future.

(413) 208-3069 call now 24 hours a day, 7 days a week.

8/5/06 09:50  

Post a Comment

<< Home