Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
KrisJordan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
91.
▲
On Muted Methods, Fluent Interfaces, and Bar Game
(krisjordan.com)
1 points
by
KrisJordan
17y ago
|
0 comments
92.
▲
by
KrisJordan
17y ago
The point is not to argue some kind of replacement of scheme for PHP. Or one language's superiority to another. The point is to show its possible to write functional, good looking PHP. Letting the "neat things" of LISP influence the way you
93.
▲
by
KrisJordan
17y ago
Re "and probably won't understand code written thus". Rather than giving up on the masses of "PHP coders" by labeling them incapable of functional style programming, recursion, etc, why not try to show them? If they're capable of wading thr
94.
▲
PHP as sexy as Scheme using lambdas and recursion
(newmediacampaigns.com)
36 points
by
KrisJordan
17y ago
|
38 comments
95.
▲
Implementing map / reduce functions using PHP 5.3's lambdas
(recessframework.org)
9 points
by
KrisJordan
17y ago
|
2 comments
96.
▲
by
KrisJordan
17y ago
The use syntax is a little weird at first but it turns out to be straightforward to understand. In fact, being explicit about what is being closed over makes the function itself easier to understand. PHP, being the quirky language that it i
97.
▲
by
KrisJordan
17y ago
Fixed. Thanks.
98.
▲
Functional PHP 5.3 - What are Anonymous Functions and Closures?
(recessframework.org)
25 points
by
KrisJordan
17y ago
|
17 comments
99.
▲
by
KrisJordan
17y ago
The third conflated point is a rant of Perl over PHP. "His language convinced him to do it wrong, and now he is pretty much stuck. And that's bad." PHP doesn't convince you to roll-your-own over use-someone-else's. The author could have jus
100.
▲
by
KrisJordan
17y ago
"Half-ass Solution" The PHP internals team could have pushed 5.3 out the door last November with :: as the separator. It was in the alpha. It worked. Except it didn't. If they had pushed it out then, knowing it broke down, that's a half-ass
101.
▲
by
KrisJordan
17y ago
Here is an example of an ambiguous case: // classes.php ///// namespace foo::bar; function baz() {} namespace foo; class bar { static function baz() {} } // someotherfile.php ///// include('classes.php'); foo::bar::baz(); // Ambiguity /////
102.
▲
by
KrisJordan
17y ago
The lust has nothing to do with the syntax and everything to do with the functionality. Namespaces are long overdue in PHP (how has it taken so long)? This is going to make developing larger scale projects (and projects that mix and match 3
103.
▲
On PHP 5.3's Namespace Backslash Backlash: The PHP Internals Team was Right?
(newmediacampaigns.com)
23 points
by
KrisJordan
17y ago
|
37 comments
104.
▲
JQuery Content Expansion: Give your code more breathing room
(newmediacampaigns.com)
1 points
by
KrisJordan
17y ago
|
0 comments
105.
▲
JS-Kit introduces Echo, Powered by the Strength of Weak Ties
(newmediacampaigns.com)
1 points
by
KrisJordan
17y ago
|
0 comments
106.
▲
WebKit: Last Browser Standing in way of RESTful Content-Negotiation in Web Apps
(newmediacampaigns.com)
6 points
by
KrisJordan
17y ago
|
0 comments
107.
▲
Unacceptable Browser HTTP Accept Headers (Yes, You Safari and Internet Explorer)
(newmediacampaigns.com)
65 points
by
KrisJordan
17y ago
|
26 comments
108.
▲
HTML 5: Should we be excited yet?
(newmediacampaigns.com)
2 points
by
KrisJordan
17y ago
|
0 comments
109.
▲
Amazon Shuts Down Associates Program in NC
(newmediacampaigns.com)
21 points
by
KrisJordan
17y ago
|
8 comments
110.
▲
How people have used Twitter to help their cause
(newmediacampaigns.com)
2 points
by
KrisJordan
17y ago
|
0 comments
111.
▲
Behind The Scenes: Iterative Design on a New Component of the Recess Framework
(newmediacampaigns.com)
5 points
by
KrisJordan
17y ago
|
0 comments
112.
▲
Ingredients of Great Non-tech Internships in Start-ups, an Intern's Perspective
(newmediacampaigns.com)
1 points
by
KrisJordan
17y ago
|
0 comments
113.
▲
Getting XHTML 1.0 Strict from TinyMCE in the face of Cut/Paste Microsoft Word
(newmediacampaigns.com)
1 points
by
KrisJordan
17y ago
|
0 comments
114.
▲
New Google Tool Suggests Competitive Keywords Based on Site Content
(newmediacampaigns.com)
2 points
by
KrisJordan
17y ago
|
0 comments
115.
▲
by
KrisJordan
17y ago
When I was a graduate student at Brown I was advised by Andy van Dam and was a member of the 'Microsoft Center for Research on Pen-Centric Computing' ( http://pen.cs.brown.edu/ ) The research group had developed an in-house math recognition
116.
▲
by
KrisJordan
17y ago
From reading Odersky's book Scala's notion of currying functions i.e. f(x:Int)(y:Int) is differentiated from partially applied functions. Here is his currying example using a partially applied x(): def x(a:Int, b:Int) = a + b val y = x(1, _
117.
▲
by
KrisJordan
17y ago
They're not used as executable code. They're used as meta data. Not much different than an XML file sitting beside of a script, except that 1) it's more DRY because for external files to say something about a construct in code there is re
118.
▲
by
KrisJordan
17y ago
PHP has its flaws, no doubt. It's little known that doccomments are a PHP language construct that can be reflected over just as Python's doc strings can be introspected with __doc__. http://us3.php.net/manual/en/language.oop5.reflection.ph
119.
▲
by
KrisJordan
17y ago
The idea of routing annotations is used extensively in the Recess PHP Framework, except that in Recess the annotation also takes the HTTP verb (GET, PUT, POST, etc.) to make beautiful, RESTful URLs even easier to work with. http://www.rece
120.
▲
by
KrisJordan
17y ago
I abandoned PHP about two years back. 8 months ago, after going to a conference and hearing the folks at Flickr talk, specifically Cal Henderson ( http://www.krisjordan.com/2008/09/16/cal-henderson-scalable-... ) I got re-energized to take
More ›