You are here: Re: use of constants in an interpreter environment « PHP Programming Language « IT news, forums, messages
Re: use of constants in an interpreter environment

Posted by gosha bine on 08/15/07 08:51

On 14.08.2007 22:49 Water Cooler v2 wrote:
> what's the use of having constants in an interpreted language like
> php, when there's no compile cycle?

php is not an interpreted language in a strict sense, it's first
compiled to bytecodes and then executed.

>
> Other than enforcing programmer discipline or affording a convinience
> for the programmers, I don't see any.

Programming languages are all about discipline and convenience.
Otherwise, we would be still programming in machine codes like 50 years ago.



--
gosha bine

makrell ~ http://www.tagarga.com/blok/makrell
php done right ;) http://code.google.com/p/pihipi

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация