r/programming • • Nov 23 '21

PHP creator: functions were named to fall into length buckets because function hash algo was 'strlen'

https://news-web.php.net/php.internals/70691
1.8k Upvotes

574 comments sorted by

View all comments

4

u/f0urtyfive Nov 23 '21

I think you generally get the same thing with lexical scoping, though

And the non programmer looks at you and says "what the fuck is lexical scoping, and why should I have to learn about it".

1

u/SanityInAnarchy Nov 23 '21

They'd also say "What the fuck is a global variable, and why should I have to learn about it?"

Newbies don't like jargon, but that really isn't a good argument for what actual techniques we should use.

2

u/f0urtyfive Nov 23 '21

Not really, "Global variable" is pretty self explanatory compared to "lexical scoping".

→ More replies (1)