Клубове Дир.бг
powered by diri.bg
търси в Клубове diri.bg Разширено търсене

Вход
Име
Парола

Клубове
Dir.bg
Взаимопомощ
Горещи теми
Компютри и Интернет
Контакти
Култура и изкуство
Мнения
Наука
Политика, Свят
Спорт
Техника
Градове
Религия и мистика
Фен клубове
Хоби, Развлечения
Общества
Я, архивите са живи
Клубове Дирене Регистрация Кой е тук Въпроси Списък Купувам / Продавам 21:49 13.07.25 
Клубове/ Компютри и Интернет / Програмисти Пълен преглед*
Информация за клуба
Тема Re: SCRIPTS vs. REAL CODE [re: Гypy]
Авторblitzkrieg (Нерегистриран) 
Публикувано04.04.06 22:24  



Python

Well gosh, what about Python, a nice language that has patiently been waiting in the wings for all these years? The Python community has long been the refuge for folks who finally took the red pill and woke up from the Perl Matrix.

Well, they're just like the Smalltalk folks, who waited forever to replace C++, and then Java came along and screwed them royally, and permanently. Oops. Ruby's doing exactly that to Python, right now, today. Practically overnight.

Python would have taken over the world, but it has two fatal flaws: the whitespace thing, and the permafrost thing.

The whitespace thing is simply that Python uses indentation to determine block nesting. It forces you to indent everything a certain way, and they do this so that everyone's code will look the same. A surprising number of programmers hate this, because it feels to them like their freedom is being taken away; it feels as if Python is trampling their constitutional right to use shotgun formatting and obfuscated one-liners.3

Python's author, Guido Van Rossum, also made some boneheaded technical blunders early on — none quite as extravagant as Larry's blunders, but a few were real doozies nonetheless. For instance, Python originally had no lexical scoping. But it didn't have dynamic scoping either, and dynamic scoping may have its share of problems, but it at least sort of works. Python had NOTHING except for global and local (function) scope, so even though it had a "real" OO system, classes couldn't even access their own damned instance variables. You have to pass a "self" parameter to EVERY instance method and then get to your instance data by accessing it through self. So everything in Python is self, selfself, selfselfself, selfSELFselfSELF__SELF__, and it drives you frigging nuts, even if you don't mind the whitespace thing.


Etc.

But in my opinion, it's really the frost thing that killed Python, and has prevented it from ever achieving its wish to be the premier scripting language, or the premier anything language, for that matter. Heck, people still use Tcl as an embedded interpreter, even though Python is far superior to Tcl in every conceivable way — except, that is, for the frost thing.

What's the frost thing, you ask? Well, I used to have a lot of exceptionally mean stuff written here, but since Python's actually quite pleasant to work with (if you can overlook its warts), I no longer think it's such a great idea to bash on Pythonistas. The "frost thing" is just that they used to have a tendency to be a bit, well, frosty. Why?

Because they were so tired of hearing about the whitespace thing!

I think that's why Python never reached Perl's level of popularity, but maybe I'm just imagining things.


P.S. Този откъс е взет от същото место от където си цитирал за C++ ... А болднатият текст мисля казва всичко



Цялата тема
ТемаАвторПубликувано
* SCRIPTS vs. REAL CODE Blitzkrieg   31.03.06 00:19
. * Re: SCRIPTS vs. REAL CODE Дeшeв   31.03.06 08:51
. * Re: SCRIPTS vs. REAL CODE eфp. Лyk   31.03.06 10:06
. * Re: SCRIPTS vs. REAL CODE Blitzkrieg   31.03.06 23:22
. * Re: SCRIPTS vs. REAL CODE eфp. Лyk   03.04.06 10:30
. * Re: SCRIPTS vs. REAL CODE wiz   31.03.06 10:52
. * Re: SCRIPTS vs. REAL CODE zaphod   31.03.06 10:56
. * Re: SCRIPTS vs. REAL CODE xa   04.05.06 17:48
. * Re: SCRIPTS vs. REAL CODE Pekoнcтpykтop   31.03.06 11:16
. * Re: SCRIPTS vs. REAL CODE Gnus   31.03.06 13:37
. * За примерите :) bira_more   31.03.06 16:50
. * Re: SCRIPTS vs. REAL CODE Blitzkrieg   31.03.06 22:57
. * Re: SCRIPTS vs. REAL CODE FFDD   01.04.06 02:05
. * Re: SCRIPTS vs. REAL CODE wiz   01.04.06 12:03
. * Re: SCRIPTS vs. REAL CODE Maтa Kocмaтa   02.04.06 12:19
. * Re: SCRIPTS vs. REAL CODE wiz   02.04.06 12:38
. * Re: SCRIPTS vs. REAL CODE Maтa Kocмaтa   02.04.06 13:40
. * Re: SCRIPTS vs. REAL CODE wiz   02.04.06 14:16
. * Re: SCRIPTS vs. REAL CODE Maтa Kocмaтa   02.04.06 14:49
. * Re: SCRIPTS vs. REAL CODE Nero   03.04.06 13:31
. * Re: SCRIPTS vs. REAL CODE Гypy   03.04.06 14:45
. * Как (с по-малко вазелин)? Heh   31.03.06 23:40
. * Re: Как (с по-малко вазелин)? Blitzkrieg   01.04.06 00:00
. * Re: Как (с по-малко вазелин)? Beco_   02.04.06 13:11
. * Re: Как (с по-малко вазелин)? Xex   02.04.06 22:33
. * какво значи твоя ник Blitzkrieg ? wiz   01.04.06 13:38
. * Re: какво значи твоя ник Blitzkrieg ? wiz3   01.04.06 20:55
. * ia hodi da pravi6 kavali wiz   02.04.06 12:13
. * Re: SCRIPTS vs. REAL CODE Paдo   01.04.06 22:40
. * Re: SCRIPTS vs. REAL CODE Гypy   02.04.06 19:33
. * Re: SCRIPTS vs. REAL CODE Uber GURU   02.04.06 21:14
. * Re: SCRIPTS vs. REAL CODE kapitancho   02.04.06 21:15
. * Re: SCRIPTS vs. REAL CODE Blitzkrieg   02.04.06 22:13
. * мда... zaphod   02.04.06 22:37
. * Re: SCRIPTS vs. REAL CODE Didimus   03.04.06 11:47
. * Re: SCRIPTS vs. REAL CODE Гypy   03.04.06 12:02
. * Re: SCRIPTS vs. REAL CODE zzfe   04.04.06 22:27
. * Re: SCRIPTS vs. REAL CODE 9-rлaвaтa лaмя   03.04.06 12:09
. * Re: SCRIPTS vs. REAL CODE Maтa Kocмaтa   03.04.06 12:23
. * Re: SCRIPTS vs. REAL CODE eфp. Лyk   03.04.06 13:01
. * Re: SCRIPTS vs. REAL CODE Maтa Kocмaтa   03.04.06 13:09
. * Re: SCRIPTS vs. REAL CODE eфp. Лyk   03.04.06 13:27
. * Re: SCRIPTS vs. REAL CODE Didimus   03.04.06 17:18
. * Re: SCRIPTS vs. REAL CODE Гypy   03.04.06 17:43
. * Re: SCRIPTS vs. REAL CODE Didimus   03.04.06 22:29
. * Re: SCRIPTS vs. REAL CODE Гypy   04.04.06 13:03
. * Re: SCRIPTS vs. REAL CODE blitzkrieg   04.04.06 22:24
. * Re: SCRIPTS vs. REAL CODE Bълk   03.04.06 17:56
. * Re: SCRIPTS vs. REAL CODE Didimus   03.04.06 22:50
. * Re: SCRIPTS vs. REAL CODE Bълk   04.04.06 08:02
. * Re: SCRIPTS vs. REAL CODE Didimus   04.04.06 16:12
. * Re: SCRIPTS vs. REAL CODE Bълk   04.04.06 16:41
. * Re: SCRIPTS vs. REAL CODE Lupi   03.04.06 12:33
. * Re: SCRIPTS vs. REAL CODE Blake   03.04.06 11:53
. * Re: SCRIPTS vs. REAL CODE Гopaнoв   03.04.06 21:51
. * Re: SCRIPTS vs. REAL CODE aлaбaлa   04.04.06 17:47
. * Re: SCRIPTS vs. REAL CODE Бaxypян   06.04.06 00:23
. * Re: SCRIPTS vs. REAL CODE f   06.04.06 03:27
. * Re: SCRIPTS vs. REAL CODE пopyчиk Pжeвckи   05.05.06 13:35
. * Re: SCRIPTS vs. REAL CODE hmm   04.05.06 17:42
. * Re: SCRIPTS vs. REAL CODE dd   05.05.06 00:45
. * Re: SCRIPTS vs. REAL CODE Blake   05.05.06 10:14
. * Re: SCRIPTS vs. REAL CODE dd   05.05.06 19:53
. * Re: SCRIPTS vs. REAL CODE wiz   05.05.06 16:49
. * Re: SCRIPTS vs. REAL CODE avoto   07.05.06 02:00
. * Re: SCRIPTS vs. REAL CODE aвaлayнчa   11.05.06 14:24
. * Re: SCRIPTS vs. REAL CODE testdrive   11.05.06 17:50
. * Re: SCRIPTS vs. REAL CODE aвaлayнчa   11.05.06 22:30
. * Re: SCRIPTS vs. REAL CODE testdrive   12.05.06 17:37
Клуб :  


Clubs.dir.bg е форум за дискусии. Dir.bg не носи отговорност за съдържанието и достоверността на публикуваните в дискусиите материали.

Никаква част от съдържанието на тази страница не може да бъде репродуцирана, записвана или предавана под каквато и да е форма или по какъвто и да е повод без писменото съгласие на Dir.bg
За Забележки, коментари и предложения ползвайте формата за Обратна връзка | Мобилна версия | Потребителско споразумение
© 2006-2025 Dir.bg Всички права запазени.