From: Mikhail Zabaluev <mhz@alt-linux.org> To: mandrake-russian@altlinux.ru Subject: [mdk-re] Re: [JT] книга по Python Date: Tue Jan 15 03:28:00 2002 Message-ID: <20020115002859.GD27554@mhz.mikhail.zabaluev.name> (raw) In-Reply-To: <Pine.LNX.4.33L.0112262359060.2268-100000@raven.home> Hello Dmitry, On Thu, Dec 27, 2001 at 12:09:31AM +0300, Dmitry A. Povarov wrote: > > > > MZ> Ирония в том, что Python действительно можно изучить за 24 часа, > > > MZ> только если иметь предварительный опыт в языках. Те, кто преодолевают > > > MZ> "культурный шок" от синтаксиса отступов, обычно становятся фанатами. > > Честно говоря, у меня никаких проблем с питоновскими отступами не возникло. > Возможно, сказался большой разноязычный опыт - Python не первый и не > единственный язык с таким способом задания операторных скобок. В рамках > синтаксиса языка отступы очень логичны, а не путать пробелы с табуляциями > умеет каждый, кто хоть раз в жизни писал makefile ;) Ну, нынешняя мОлодежь, чай, ничего кроме GNU make да Microsoft nmake и не юзала, а там все расслабленно :) > > > А если прежнний язык - Паскаль, где отступы тоже играли роль для > > > нормального выполнения программ? До сих пор помню таинственное > > > исчезновения сообщений об ошибках после правки отступов. :))) > > > > не помогае. я вот поначалу сильно корежился. но язык мне очень нравится. > > действительно дельная вещь. в качестве офисного скриптового и вообще > > быстрого языка очень хорош. > > "И куды полезней мёда, хош по вкусу и не мёд" ;)))) > > Да простят меня перловые гуру, но после perl-а python вызывает чувство, сходное > с буддистским просветлением. Синтакис языка таков, что для написания нечитаемой > программы нужно прилагать немалые усилия. Истинно так. Хотя фаршу можно навертеть на чем угодно. А вот с Perl нужно прилагать усилия, чтобы написать удобочитаемую программу -- there is more than one way to obfuscate it ;) Я окончательно примирился с синтаксисом Python, когда понял, насколько легко делать всяческий мелкий утилитарный анализ программ на этом языке. Например, чтобы отыскать безусловные команды import в файле (/usr/lib/rpm/python.req, anyone? :)), достаточно grep. -- Stay tuned, MhZ JID: mookid@jabber.org ___________ The best thing about being bald is, that, when unexpected company arrives, all you have to do is straighten your tie.
next prev parent reply other threads:[~2002-01-15 3:28 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-12-26 14:28 ` Mikhail Zabaluev 2001-12-26 23:03 ` [mdk-re] " Alexandre Prokoudine 2001-12-26 23:44 ` AVL 2001-12-27 0:46 ` [mdk-re] Re[2]: " Alexandre Prokoudine 2001-12-27 1:03 ` AVL 2002-01-11 18:04 ` Dmitry A. Povarov 2002-01-15 3:28 ` Mikhail Zabaluev [this message] 2001-12-27 1:02 ` [mdk-re] Re: [mdk-re] " Maksim Otstavnov 2001-12-27 10:11 ` Artem K. Jouravsky 2001-12-27 17:20 ` [mdk-re] Re[2]: " Alexandre Prokoudine
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20020115002859.GD27554@mhz.mikhail.zabaluev.name \ --to=mhz@alt-linux.org \ --cc=mandrake-russian@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git