I have no idea how to write a programming language

Расмус Лердорф, создатель PHP, рассказывает о том, как не знает, как написать язык программирования, собирает код методом проб и ошибок и не понимает любовь людей к программированию.
Расмус Лердорф, создатель PHP, рассказывает о том, как не знает, как написать язык программирования, собирает код методом проб и ошибок и не понимает любовь людей к программированию.

Коллаж с фотографией Расмуса Лердорфа, создателя PHP, и подборкой его самоироничных высказываний о программировании. На изображении он признаётся, что не знает, как остановить разработку языка программирования, не понимает, почему люди любят программирование, и считает себя плохим программистом, который просто собирает код до тех пор, пока он не заработает. Отдельно высмеиваются характерные для PHP решения: утечки памяти, перезапуск Apache каждые десять запросов и использование функции strlen() для хеширования. Главная шутка строится на контрасте между огромной популярностью PHP и признаниями его создателя в том, что он не был настоящим программистом и не слишком заботился о «правильном» программировании.

I have absolutely no idea how to write a programming language. I don't know how to stop it, there was never any intent to write a programming language [...] I have absolutely no idea how to write a programming language. I just kept adding the next logical step on the way. I don't know how to stop it. There are people who actually like programming. I don't understand why they like programming. Yes, I am a terrible coder, but I am probably still better than you :) But I am probably still better than you :) I still am really bad at writing parsers. Ugly problems often require ugly solutions. Solving an ugly problem in a pure manner is bloody hard. Ugly problems often require ugly solutions. We have things like protected properties. We have abstract methods. We have all this stuff that your computer science teacher told you you shouldn't be using. I don't care about this crap at all. I don't care about this crap at all. This crap. I'm not a real programmer. I throw together things until it works then I move on. The real programmers will say "Yeah it works but you're leaking memory everywhere. Perhaps we should fix that." I'll just restart Apache every 10 requests. I throw together things until it works. I'm not a real programmer. I actually hate programming. Rasmus Lerdorf @rasmus Breaking the Web Creator of PHP Back when PHP had less than 100 functions and the function hashing mechanism was strlen() the function hashing mechanism was strlen() strlen()