Wednesday, February 08, 2006

Ahrrg! Got bitten by a snake!

When I started to wrote some lines in python I was not all happy about the libs and how namespace are managed and by the not so OO design of most of the built-in libs. But now that I've written some more lines I think it's all right. Even more, I think that python is by far the most productive language I've learn. Let me sum this up like this:

1. Identation


Making indentation matter solves more then the 'style' problem. The code flow comes really close to the thinking flow. For example, when I write a function in C or java, until I've written the final } I can't even start to think, my brain is frozen. I know what you're saying! Wear a hat while coding! Yeah, but I'm not a hat type of guy. So when I code I like it to flow as fast as my thoughts and not make me think of what I want to do at the end when I've not even started to think what I was trying to do. Idendation makes the code looks right in my brain, this should be a closer step to implementing a compiler right into my brain.

2. Imports


Even if I've not all hyped about namespace management, typically the fact the you have to write shutil.copy(...) and not copy(...) bugs me a bit. But in a way, this make the code more readable, cause when looking at a line you know exactly what libs is taking care of what and when. But the thing I like is how imports are handled in you scripts. You can be in the 10th directory level and still write from base import MyClass and all that without defining references of annoying stuff like that.

Yes, but...


But the main drawback is speed. Python is slow, really. So maybe Boo could be a cool alternative, plus that it can use all .NET libs, aye!

11 Comments:

Anonymous Anonymous said...

Your blog keeps getting better and better! Your older articles are not as good as newer ones you have a lot more creativity and originality now keep it up!

7:52 a.m.  
Anonymous Anonymous said...

Hello everyone! Who knows where to upload the film Avatar?
I even bought the film Avatar for a SMS to http://rsskino.ru/kinofilm/avatar.html , the link was, but download fails, the system will boot quite strange cocoa something.
Men, advise where to normal as quickly download film avatar?

5:52 p.m.  
Anonymous Anonymous said...

I sell a boat-program which will help you to outwit auction and to win, initially the boat was created for the Scandinavian auction http://internet-aukcion.ru/ but now the program can work with similar auctions: gagen ru, vezetmne ru and with ten.
The program-boat stakes for you, i.e. for this purpose it is not necessary to sit constantly at the monitor. The boat can set time when it is necessary to stake, thus you as much as possible will lower expenses for rates, and as much as possible increase the chances of a victory.

The price of the program a boat for the Scandinavian auctions 20$

For the first 10 clients the price 15$

To all clients free updating and support.

Behind purchases I ask in icq: 588889590 Max.

3:26 a.m.  
Anonymous Anonymous said...

I am reading this article second time today, you have to be more careful with content leakers. If I will fount it again I will send you a link

7:22 a.m.  
Anonymous Anonymous said...

To start earning money with your blog, initially use Google Adsense but gradually as your traffic increases, keep adding more and more money making programs to your site.

7:08 a.m.  
Anonymous Anonymous said...

hi there friends. I'm actually into shoes and I was looking allowing for regarding that exact make. The prices for the velcros were all over 190 pounds on every site. But definitively I bring about this area selling them someone is concerned half price. I exceptionally want these [url=http://www.shoesempire.com]prada sneakers[/url]. I will absolutely order those. what can you tell me about these?

1:06 p.m.  
Anonymous Anonymous said...

hello bros. I'm honestly into shoes and I had been looking for that particular model. The prices due to the fact that the sneakers were around 240 dollars on every site. But finally I base this site selling them as a remedy for half price. I absolutely like those [url=http://www.shoesempire.com]prada sneakers[/url]. I will absolutely buy these. what can you say about it?

2:03 p.m.  
Anonymous Anonymous said...

Hello. And Bye.

1:56 a.m.  
Anonymous Anonymous said...

[b]Set software LoveBots v 5.2[/b]

All for a mass mailing dating http://24lux.ru/

The script is written in php5

Features:

[i]registration, account activation
manual input captures, or the solution through antikapchu
filling data accounts:
- Gulf desired photo
- Инфы about yourself
- Diary
- Sexual preference[/i]

gulyalka on questionnaires spammer on lichku
- Randomization Posts: replacement of Russian letters in Latin analogues

optimized to work in a continuous loop
check-activation-filling-spam check ..

Updates and support free of charge.

Price per set 100 wmz

For the first 10 buyers price 70 wmz (your feedback on the software).

For shopping I ask in icq: 588889590 Max.

Scrin program:

[IMG]http://i066.radikal.ru/1002/9d/a7a68e8c96ee.jpg[/IMG]

[IMG]http://i054.radikal.ru/1002/19/9db76967c0e5.jpg[/IMG]

[IMG]http://s003.radikal.ru/i202/1002/24/20716e86512e.jpg[/IMG]

Flooding in the subject no! Write to feedback after the purchase.

12:03 a.m.  
Anonymous Anonymous said...

hi there fellas. I'm actually into shoes and I had been digging as far as something that meticulous model. The prices seeking the sneakers were approximately 210 dollars everwhere. But for all I bring about this locate selling them for half price. I in reality want these [url=http://www.shoesempire.com]gucci sneakers[/url]. I will definetly purchase them. what do you think?

4:13 p.m.  
Anonymous Anonymous said...

good afternoon fellas. I'm actually into shoes and I was looking for that particular brand. The prices for the boots were around 310 bucks everwhere. But definitively I set this locate selling them as a remedy for half price. I really want those [url=http://www.shoesempire.com]gucci sneakers[/url]. I will absolutely buy those. what is your opinion?

9:17 p.m.  

Post a Comment

<< Home