Pull to refresh

Язык — отражение образа мыслей его автора

Reading time2 min
Views1.6K
Цитата из книги «Learning Perl, 5th edition»:
In fact, a big part of learning Perl is actually learning how Larry thinks. Therefore, once you can think like Larry does, you know what Perl should do. But while you’re learning, you’ll probably need to look into the documentation.

Перевод:
Вообще-то, большая часть в изучении языка Perl — это изучение того как Ларри (автор языка) мыслит. Следовательно, как только вы сможете мыслить также, как это делает Ларри, вы будете знать, что должен делать Perl в каждом случае. Но пока вы учитесь, следует порой заглядывать в документацию.

Решил выписать краткие философские тезисы по языкам, которые использую в последнее время. Добавляйте информацию по своим любимым языкам в комментарии на английском языке, плз. Крайне желательно, чтобы это были цитаты авторов языка.

Perl


«There's more than one way to do it.»
«Simple things should be simple, and hard things should be possible»
«Perl is a mess and that's good because the problem space is also a mess.»
«We will encourage you to develop the three great virtues of a programmer: laziness, impatience, and hubris.»
«Perl is designed to let you program naturally. Whatever you think natural means.»
«Perl is unique, not just among scripting languages, but among computer languages in general. It's the only computer language consciously and explicitly designed to be postmodern. All other computer languages are still stuck in the modern era to some degree.»
Larry Wall

«Perl Makes You Happy!»
Tim Bunce

Python


Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea — let's do more of those!
The Zen of Python, by Tim Peters

Ruby


«Instead of emphasizing the what, I want to emphasize the how part: how we feel while programming. That's Ruby's main difference from other language designs. I emphasize the feeling, in particular, how I feel using Ruby. I didn't work hard to make Ruby perfect for everyone, because you feel differently from me. No language can be perfect for everyone. I tried to make Ruby perfect for me, but maybe it's not perfect for you. The perfect language for Guido van Rossum is probably Python.»
Yukihiro Matsumoto

Erlang


The Erlang «philosophy» is «everything is an Erlang process»
Joe Armstrong

Java


«Write Once, Run Anywhere»
Java Team
Tags:
Hubs:
+5
Comments26

Articles