Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eevee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
151.
▲
by
eevee
13y ago
And yet I still read Yahoo Answers, and I never read Quora.
152.
▲
by
eevee
13y ago
veekun is my project, yes :)
153.
▲
by
eevee
13y ago
Block both, wonder why the site has nothing on it, leave.
154.
▲
by
eevee
13y ago
I'm actually working on that—hopeful to have something passable out by the release of X/Y.
155.
▲
by
eevee
13y ago
A vim plugin pack could work very well—I think the problem is with many of the plugins, which were built to scratch the author's itch and inadvertently dig their tendrils into half of vim's functionality. That's sort of to
156.
▲
by
eevee
13y ago
Also seems a little disingenuous to call it "open sourcing" when the vast majority of it is submodules of existing open source projects.
157.
▲
by
eevee
13y ago
Maybe we should do less crying and more contributing. Google has a bit more dev muscle to throw at projects than Mozilla, so community involvement is far more critical to Rust's health.
158.
▲
by
eevee
13y ago
It is rather telling that PHP's design is based on whatever was popular at the time. The original design was based on Perl, further additions and the stdlib were designed like C++, the class system is a lot like Java, and recent fea
159.
▲
by
eevee
13y ago
It's good when languages try to help. Reprimanding someone for not doing enough work is useless. My problem is that the language is guessing wildly , in ways too obscure to be mentioned in the documentation or known by you (a user of
160.
▲
by
eevee
13y ago
Would you expect "1.30" == "13e-1", since both are strings? How about "0xb" == "0xB"? 0 == "zero"? I don't see how this is anything but bugprone, and all to save you from actually say
161.
▲
by
eevee
13y ago
I disagree that it wasn't a language fault; it provided very little benefit and directly caused hard-to-diagnose bugs. Being told where the mines are doesn't make walking across a minefield any more palatable. If it were a good
162.
▲
by
eevee
13y ago
register_globals could not have existed without the legality of undeclared variables, and it could not have been a security issue without code that relied on using undefinedness as a default value.
163.
▲
by
eevee
13y ago
The people of Thailand didn't invent Thai, and it's unlikely that a handful of them could invent a new language and have it catch on within a few years. The analogy doesn't quite hold. Switching sentence structure is more a
164.
▲
by
eevee
13y ago
Ah, sorry, some actual context might be helpful. In Perl, variable declaration was originally even worse than it is in PHP: any variable, anywhere, required no declaration and was assumed to be a global . (This was inherited from... some
165.
▲
by
eevee
13y ago
Despite your sarcasm, that is a significant part of actually solving a problem: getting the solution into people's hands. Would you be very impressed with all the improvements if Ford's new line of 100% safe cars all cost milli
166.
▲
by
eevee
13y ago
I'm not sure how to reconcile this analogy with the existence of government programs (carpool lanes, tax incentives for hybrids) that encourage the use of more efficient cars with more people in them, on the grounds that it's bett
167.
▲
by
eevee
13y ago
PHP has deprecated obviously insecure behaviors that are largely Web-related, yes. I'm coming from a Perl perspective, where deprecating bad language features means things like "radically overhauling how variables work" or &
168.
▲
by
eevee
13y ago
I'm only observing that the article comes across weirdly as a result, especially when the author makes judgments like "simple". Not defending the condescension. (Though the same tone might well be taken if he were a Ruby no
169.
▲
by
eevee
13y ago
Tools should be designed to fit with humans; the goal is to minimize how much humans have to contort themselves to fit their tools. There'll always be some degree of learning and adjusting. But a mallet is still an improvement over a
170.
▲
by
eevee
13y ago
Hello, author here. You're not the first to scoff at my hammer description, but perhaps you can explain to me what kind of nail puller looks exactly like a hammer but with two claws, or why it would be useful to have the exact same to
171.
▲
by
eevee
13y ago
Variable declaration is pretty core to the language. Remember register_globals? That was only a problem because so much code relied on having undeclared variables act like empty strings. I suppose they could have made it work differentl
172.
▲
by
eevee
13y ago
GP's phrasing aside, it does make the article read as though the author has never used any other closure implementation (and, by extension, any other programming language).
173.
▲
by
eevee
13y ago
Speed will always matter. You'll never find time to address technical debt; you have to make it.
174.
▲
by
eevee
13y ago
PHP's worst problem is an exacerbated form of what strangled Perl for many years (and still does, though they're actively fighting it): lots and lots of existing code that's really, really bad. Adding new features doesn
175.
▲
by
eevee
13y ago
I'm pretty sure w3techs is just measuring who has what in their `Server` headers, so even a static site that happens to have mod_php available would still ping as PHP. For the same reason, Python is virtually nonexistent—because nobody
176.
▲
by
eevee
13y ago
With what? Rails? Doesn't that require generating a whole "project" (whatever that is) with a bunch of directories and files and then figuring out where everything is and... PHP requires opening index.php and typing "h
177.
▲
by
eevee
13y ago
PHP supports lexical scope; it's just local to the current function. The actual problem is that PHP automatically initializes variables even on read—the same reason all globals have to be manually "imported", even if they
178.
▲
by
eevee
13y ago
This is maybe the third comment about whether the 80% is lies, damned lies, or statistics. I would much rather see a conversation about how other languages can bridge the gaps of "hello world in a browser isn't obvious" and
179.
▲
by
eevee
13y ago
Why is Python 3 relevant? Porting a large Python 2 library to Python 3 (or, more likely, to both 2 and 3) is a significant undertaking. Porting a PHP library to use namespaces would largely be a matter of adding global aliases for backwar
180.
▲
by
eevee
13y ago
I don't think that's accurate. There's not really any notion of "success", and the most important part of the process is that changes are made effectively at random and either propel the species forward by some min
More ›