Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jblotus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
jblotus
9y ago
Here is a thread with some of our observations. https://forums.aws.amazon.com/thread.jspa?threadID=261421&ts...
2.
▲
by
jblotus
11y ago
Not sure what your statement means.
3.
▲
How to sell the value of a developer community to your boss
(jblotus.com)
1 points
by
jblotus
12y ago
|
0 comments
4.
▲
The full story behind our "chinese democracy" leak
(antiquiet.com)
3 points
by
jblotus
13y ago
|
0 comments
5.
▲
by
jblotus
14y ago
just awesome
6.
▲
by
jblotus
14y ago
interesting, for those of us who have been using apc for years.
7.
▲
Simply scale with Nginx, Memcached, PHP-FPM and APC
(jblotus.com)
2 points
by
jblotus
14y ago
|
2 comments
8.
▲
by
jblotus
14y ago
ok i see your point. i conflated the terms function and closure in this case.
9.
▲
by
jblotus
14y ago
after thinking about it for a while, I was misrepresenting what block scope actually was and removed those references in the post.
10.
▲
by
jblotus
14y ago
author here. <?php $a = 1; /* global scope */ function test() { echo $a } test(); in javascript, $a would be 1 but in PHP it is undefined and won't produce output,
11.
▲
by
jblotus
14y ago
thanks for the help
12.
▲
by
jblotus
14y ago
i've also run into this, usually through double event binding
13.
▲
by
jblotus
14y ago
well, functions close over scope no matter what you call them.
14.
▲
by
jblotus
14y ago
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 beginners.
15.
▲
by
jblotus
14y ago
thanks for reading
16.
▲
by
jblotus
14y ago
or both for next level mode!
17.
▲
Common JavaScript Gotchas
(jblotus.com)
125 points
by
jblotus
14y ago
|
27 comments
18.
▲
by
jblotus
14y ago
all the greats get criticized
19.
▲
My Programming Heroes: Douglas Crockford
(jblotus.com)
5 points
by
jblotus
14y ago
|
2 comments
20.
▲
2013 Programming Podcasts for the New Year
(jblotus.com)
2 points
by
jblotus
14y ago
|
0 comments
21.
▲
First Impressions: Cloud9 IDE + PHP
(jblotus.com)
3 points
by
jblotus
14y ago
|
0 comments