Viewing profile — jblotus
jblotus
HN member- Joined
- Tue, Jun 21, 2011, 2:12 PM UTC
- HN karma
- 132
- Public activity
- 23 items
- HN profile
- View on Hacker News ↗
About jblotus
No profile information was provided.
Recent public activity
-
comment
Comment #14978960
Here is a thread with some of our observations. https://forums.aws.amazon.com/thread.jspa?threadID=261421&ts...
-
comment
Comment #11200653
Not sure what your statement means.
- story
- story
-
comment
Comment #5305068
just awesome
-
comment
Comment #5151315
interesting, for those of us who have been using apc for years.
-
story
Simply scale with Nginx, Memcached, PHP-FPM and APC
When I started programming in PHP, my hosting setup involved a cPanel installation with Apache and MySQL. This has been the de facto standard for many PHP developers and for the mo…
-
comment
Comment #5060218
ok i see your point. i conflated the terms function and closure in this case.
-
comment
Comment #5060203
after thinking about it for a while, I was misrepresenting what block scope actually was and removed those references in the post.
-
comment
Comment #5052646
author here. function test() { echo $a } test(); in javascript, $a would be 1 but in PHP it is undefined and won't produce output,
-
comment
Comment #5050956
thanks for the help
-
comment
Comment #5050740
i've also run into this, usually through double event binding
-
comment
Comment #5050737
well, functions close over scope no matter what you call them.
-
comment
Comment #5049969
author here, it wasn't about hiding private variables. i was demonstrating using closures to avoid global namespace collisions which i think is generally a big problem for beginner…
-
comment
Comment #5049935
thanks for reading
-
comment
Comment #5049929
or both for next level mode!
-
story
Common JavaScript Gotchas
PHP was my first programming language, and my initial exposure to JavaScript was through libraries like jQuery. There were things about JavaScript that always seemed to trip me up …
-
comment
Comment #5014546
all the greats get criticized
- story
- story
- story
-
story
Enforcing contracts in your PHP functions and methods
Design by contract is an important concept for controlling what type of input your methods or functions can receive. One of the most dangerous features of PHP is that functions wil…
-
story
Protect your career with these 5 Web Development technologies
In 2009, rock star devs used to pimp jQuery and most web Ninjas were highly skilled at Rails. Then rails became a ghetto and jQuery became a fat wife. But in the year 2015, things …