tag:blogger.com,1999:blog-3208941668630248550.post2417583819204111360..comments2024-03-13T10:43:06.615+02:00Comments on 18-ть лет с Delphi: Коротко. Ещё о языках программирования и читабельности. ЕщёAlex W. Lulinhttp://www.blogger.com/profile/08400475846894229767noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-3208941668630248550.post-37108990716880987142013-11-19T01:58:26.681+03:002013-11-19T01:58:26.681+03:00А ещё вот например есть цитата - "Коммунизм э...А ещё вот например есть цитата - "Коммунизм это есть Советская власть плюс электрификация всей страны".<br /><br />И что?<br /><br />Что мне с ОБОИМИ цитатами делать?<br /><br />"For example, Haskell is a functional language, and requires no special symbols (i.e. no parentheses) to call a function", "Perl has implicit variables for a similar reason" - ты ПРАВДА считаешь, что это ХОРОШО?Alex W. Lulinhttps://www.blogger.com/profile/08400475846894229767noreply@blogger.comtag:blogger.com,1999:blog-3208941668630248550.post-86128105752609349872013-11-17T11:23:57.097+03:002013-11-17T11:23:57.097+03:00Цитата, извиняюсь, что по английски:
Programming ...Цитата, извиняюсь, что по английски:<br /><br />Programming languages are somewhat Huffman encoded: the designers of a language give special symbols and short names to the things they expect you'll use most often. So you can get a head start in getting the gist of a language by concentrating on the short operators first.<br /><br />For example, C has * and -> for dereferencing pointers. The fact that you don't use some name such as "derefptr" gives you a hint that working with pointers is very important in C.<br /><br />Sometimes a language takes this to the extreme and gives no symbol at all for an operation because it is expected to be so common. For example, Haskell is a functional language, and requires no special symbols (i.e. no parentheses) to call a function.<br /><br />Perl has implicit variables for a similar reason. You can apply a sequence of regular expressions to a string without explicitly referring to the string every time. You can argue whether this is a good idea, but it shows what the language designers thought would be a common operation.Anonymousnoreply@blogger.com