PHP, Perl, Ruby, Python 비교

나는 왜 PHP보다 Python을 좋아하는가? 깔끔한 문법이 일단 매력이지만 그게 다가 아니다. 기능 비교 (( http://en.wikipedia.org/wiki/First-class_function, http://en.wikipedia.org/wiki/List_comprehension, http://en.wikipedia.org/wiki/Mixin )) 일단은 언어의 강력함에서 큰 차이를 보인다. 생산성에 신경쓰는 언어들이라면 당연히 지원해 줄 법한 기능들에 대해 PHP는 너무나도 무심하다. PHP Perl Ruby Python Higher-order functions Arguments Yes Yes Yes Yes Results Yes Yes Yes Yes Non-local variables … PHP, Perl, Ruby, Python 비교 계속 읽기

PHP의 당황스런 특징들

PHP는 나름 태생이 특이한 언어다. 현재 웹에서 널리 쓰이고 있는 많은 서버사이드 언어들(Java, PHP, Python, Ruby 등등 ((등등 취급해서 미안하다. perl 그리고 c)) ) - 중에서 거의 유일하게 '진짜로 웹개발에 특화된' 언어다. 그래서 그런건지 PHP는 다른 언어를 쓰다 온 사람들을 희한한 방식으로 깜짝 놀래키곤 한다. 지난 3년간 나를 당황시킨 PHP의 독특한 동작 몇가지를 소개해 보겠다. 0 … PHP의 당황스런 특징들 계속 읽기

프로그래밍 언어들을 한문장으로 소개

Perl Perl is a language optimized for scanning arbitrary text files, extracting information from those text files, and printing reports based on that information. ((man perl)) 펄은 텍스트를 다루는데 최적화된 언어다. Python Python is an interpreted, interactive, object-oriented programming language  that  combines  remarkable power with very clear syntax. ((man python)) 파이썬은 매우 간결한 문법이 특징. … 프로그래밍 언어들을 한문장으로 소개 계속 읽기