Welcome, Guest. Please
Login
Home
Help
Search
Login
FAQ
Radified
Ghost.Classic
Ghost.New
Bootable CD
Blog
Radified Community Forums
›
Rad Community Non-Technical Discussion Boards
›
YaBB Forum Software + Rad Web Site
› PHP and regular expressions
(Moderators: Rad, Christer, NightOwl, Pleonasm, MrMagoo, El_Pescador)
‹
Previous Topic
|
Next Topic
›
Pages:
1
2
3
4
PHP and regular expressions (Read 64110 times)
Nigel Bree
Ex Member
Back to top
Re: PHP and regular expressions
Reply #45 -
Jun 19
th
, 2008 at 8:49pm
Rad wrote
on Jun 19
th
, 2008 at 8:37pm:
This guy invented *both* C and Unix?
They co-evolved together, almost inseparably, and really only the main principals know precisely who did what. From outside, Dennis Ritchie, Brian Kernighan, and Ken Thompson may as well have been a single hive mind.
Great quote from Ken Thompson, snagged from
this page
with more background.
Quote:
That brings me to Dennis Ritchie. Our collaboration has been a thing of beauty. In the ten years that we have worked together, I can recall only one case of miscoordination of work. On that occasion, I discovered that we both had written the same 20-line assembly language program. I compared the sources and was astounded to find that they matched character-for-character. The result of our work together has been far greater than the work that we each contributed.
IP Logged
Nigel Bree
Ex Member
Back to top
Re: PHP and regular expressions
Reply #46 -
Jun 19
th
, 2008 at 9:03pm
Rad wrote
on Jun 19
th
, 2008 at 8:11pm:
So .. it's not defined obviously solely by being inside/outside
Sure, but internally to the PHP system a $ outside a string and a $ inside one have to be treated by different code; the situations deliberately look similar so that there are less things to learn, but the language has to work quite hard to maintain that illusion.
Internally to the language, what it does in order to make this magic happen can have
odd consequences
. This makes it hard to intuitively know what the fastest of all the dozens of equivalent ways of doing the same thing are, but because almost everything does work it's much easier to write
something
and have it be useful.
IP Logged
Pages:
1
2
3
4
‹
Previous Topic
|
Next Topic
›
« Home
‹ Board
Top of this page
Forum Jump »
Home
» 10 most recent Posts
» 10 most recent Topics
Rad Community Technical Discussion Boards (Computer Hardware + PC Software)
- Norton Ghost 15, 14, 12, 10, 9, + Norton Save + Restore (NS+R)
- Norton Ghost 2003, Ghost v8.x + Ghost Solution Suite (GSS) Discussion Board
- Cloning Programs (Except Norton Ghost)
- NightOwl's Bootable CD/DVD
- PC Hardware + Software (except Cloning programs)
Rad Community Non-Technical Discussion Boards
- The Water Cooler
- YaBB Forum Software + Rad Web Site ««
Radified Community Forums
» Powered by
YaBB 2.4
!
YaBB
© 2000-2009. All Rights Reserved.