Concepts & Generic Programming
On a recent thread on comp.lang.python (which originally discussed some perceived problems about Python evolution, the topic of generic programming was brought up by Roman Suzi. In ensuing debate, there were some great posts, specially one by Alex Martelli (once again), where he goes into detail to explain why Python interfaces are different. Roman wrote a great followup to it, pointing out that concept is a better choice of words; it is a less overloaded word than interface, and it goes beyond it in many senses.
All this stuff left me wondering. One of the highlights of Python is that the language doesn't stays in the way between the programmer and the problem. I may be totally off target here, but I feel that things such as type annotations may become an artificial barrier; something that really does not belong to the problem, but is necessary due to the limitations of the medium.
The subject is far from dead. I'm not a language laywer, and I tend to have a bad time naming things, so forgive me while I ramble... One of the things that I feel is necessary is to enforce the abstract nature of interfaces. In other words: please, don't make type annotations part of the def statement. My gut feeling is that all this could be part of a unifying framework; an abstract class system, something that could provide the foundations for the very class hierarchy, including metaclasses, and also for the type annotation.
Going even further - and I'm better stop soon before I get named as totally crazy & misguided - concepts could provide a foundation for a much bigger set of stuff. Many standard statements would easily fall in this category. But as I said, I'm better stop with it before I say something silly...
All this stuff left me wondering. One of the highlights of Python is that the language doesn't stays in the way between the programmer and the problem. I may be totally off target here, but I feel that things such as type annotations may become an artificial barrier; something that really does not belong to the problem, but is necessary due to the limitations of the medium.
The subject is far from dead. I'm not a language laywer, and I tend to have a bad time naming things, so forgive me while I ramble... One of the things that I feel is necessary is to enforce the abstract nature of interfaces. In other words: please, don't make type annotations part of the def statement. My gut feeling is that all this could be part of a unifying framework; an abstract class system, something that could provide the foundations for the very class hierarchy, including metaclasses, and also for the type annotation.
Going even further - and I'm better stop soon before I get named as totally crazy & misguided - concepts could provide a foundation for a much bigger set of stuff. Many standard statements would easily fall in this category. But as I said, I'm better stop with it before I say something silly...

12 Comments:
At January 5, 2005 10:20 AM,
Ian Bicking said…
I think you're missing an href in one of your anchors (if you fix it, feel free to delete this comment)
At February 15, 2006 3:10 PM,
Home Based Business Work said…
Incredible blog. I admired your site and I will be
back once again to view it! I use much of my spare
time searching for blogs like yours.
Come as you are and look at my turnkey home based business blog.
At December 27, 2006 8:03 PM,
Anonymous said…
xxx trailers
xxx videos
xxx dvd
sex movies
sex trailers
sex videos
sex dvd
porn movies
porn trailers
porn videos
porn dvd
hardcore movies
hardcore trailers
hardcore videos
hardcore dvd
softcore movies
softcore trailers
softcore videos
softcore dvd
adult movies
At December 31, 2006 11:25 AM,
Anonymous said…
sex
porn
teen porn
hardcore
hardcore porn
free porn
hardcore sex
xxx
xxx movies
xxx trailers
xxx videos
xxx dvd
sex movies
sex trailers
sex videos
sex dvd
porn movies
porn trailers
porn videos
At January 8, 2007 9:36 AM,
Anonymous said…
carisoprodol half life t 1/2 |
phentermine canadian pharmacy |
what is in fioricet |
adipex phentermine vs |
generic viagra pills |
ciales web site marketing |
ambien memory |
ultram or tramadol and drug abuse |
butalbital reaction |
xenical what is it |
buying propecia |
celebrex and vioxx |
hydrocodone drug test in system for |
lortabs ms contin |
order vicodin without ... |
normal theraputic range for alprazolam |
overnight valium diazepam |
drugs off patent 2006 zoloft |
xanax suicide |
buy tamiflu in uk |
best generic viagra |
generic cheap viagra |
diet pills pictures |
meridia law jobs |
fish sources of glucosamine or chondroitin |
paxil recall |
between difference prozac zoloft |
valium and seizures |
lipitor 10 mg |
fort myers vioxx lawyers |
At February 11, 2007 7:20 PM,
Anonymous said…
equity credit line
credit equity home information line
credit equity home line loan low mortgage rate
credit equity home home line loan low mortgage rate
credit does equity home line work
credit equity home illinois line
credit equity florida home line
100 credit equity home line
bad credit equity home line loan low mortgage rate
bank credit equity home line ohio savings
credit equity home line michigan
credit equity home line tax
125 credit equity home line
credit equity home interest line rate
credit equity home line refinance
citibank credit equity home line
bad credit equity line
credit equity home line question
credit equity line loan
credit equity fargo home line well
best credit equity home line
credit equity home line texas
california credit equity home line
bankruptcy credit equity home line
credit equity home line virginia
credit equity equity home home line loan vs
credit equity home line mutual washington
bad credit credit equity home line
conventional credit equity home line loan other vs
calculator credit equity line
credit equity fixed home line rate
credit equity home line loan versus
best credit equity home line rate
credit equity home line mobile
credit equity home line loan vs
calculator credit equity home line
credit equity line rate
credit equity home line loan
credit equity home line rate
credit equity line
credit equity home line
equity credit lines
Equity Line of Credit
At February 13, 2007 8:19 PM,
Anonymous said…
MESSAGE
At February 13, 2007 8:19 PM,
Anonymous said…
equity credit line
credit equity home information line
credit equity home line loan low mortgage rate
credit equity home home line loan low mortgage rate
credit does equity home line work
credit equity home illinois line
credit equity florida home line
100 credit equity home line
bad credit equity home line loan low mortgage rate
bank credit equity home line ohio savings
credit equity home line michigan
credit equity home line tax
125 credit equity home line
credit equity home interest line rate
credit equity home line refinance
citibank credit equity home line
bad credit equity line
credit equity home line question
credit equity line loan
credit equity fargo home line well
best credit equity home line
credit equity home line texas
california credit equity home line
bankruptcy credit equity home line
credit equity home line virginia
credit equity equity home home line loan vs
credit equity home line mutual washington
bad credit credit equity home line
conventional credit equity home line loan other vs
calculator credit equity line
credit equity fixed home line rate
credit equity home line loan versus
best credit equity home line rate
credit equity home line mobile
credit equity home line loan vs
calculator credit equity home line
credit equity line rate
credit equity home line loan
credit equity home line rate
credit equity line
credit equity home line
equity credit lines
Equity Line of Credit
At February 14, 2007 11:12 PM,
Anonymous said…
Hi everybody,
I am a dude 27 years old, and I have just finished the college. I am engaged and I am really in love with my lady. I work for 12 hours each and every day, and then, when she come home from school (she is still in college) she cook for me wonderful food that gives pleasure to my body and soul. When it's not enough, she cuddle me and say romantic words, that she is so in love with me and so on.
She is in every situation by my side, and when I speak she always give me her attention, even when I am full of bullshits about my work and I go on chatting about adsense template. But she is just too extra ordinary to interrupt me. She make me feel loved, and I wanna that she feel special too. Tonight surprise, I am gonna take her out for dinner in one of the best places in the city: she had an examination this morning and I wanna celebrate 2 stuff, our love and her successfull exam. Please wish me a good evening.
Bye
Sammy
At February 15, 2007 8:39 AM,
Anonymous said…
MESSAGE
At February 15, 2007 8:39 AM,
Anonymous said…
Hello
cialis vs viagra
cialis levitra viagra vs vs
cialis drug viagra vs
cialis levitra viagra vs
cialis strong viagra vs
cialis levitra search viagra vs
cialis search viagra vs
cialis effects side viagra vs
cialis levitra search viagra vs vs
viagra vs cialis
Bye
At March 1, 2007 6:30 AM,
Anonymous said…
free homes swap posting
Post a Comment
<< Home