Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
10098
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
421.
▲
by
10098
14y ago
For example?
422.
▲
by
10098
14y ago
> Why would you want multithreading in PHP? To not write cron jobs that get triggered every n minutes to do some potentially time-consuming tasks, for example.
423.
▲
by
10098
14y ago
> PHP has all the usual programming constructs and is easy enough to get into that I think it's a great language to start out in. Yes it does, so what? Programming is not just fors and ifs and classes you know. There is more to it. You
424.
▲
by
10098
14y ago
he didn't specify what kind of programming, so I'm free to interpret it in the most general way
425.
▲
by
10098
14y ago
I know about ===. I do understand how type conversion works. I just don't think that it works "correctly". Converting "0" to 0 implicitly seems completely illogical to me. A string is not a number.
426.
▲
by
10098
14y ago
Well, if you _really_ wanted to spawn a thread, you could do it through an extension written in C, but it does not look like a sane option to me :)
427.
▲
by
10098
14y ago
That's a correct remark. I detailed about why I think php is a bad language to start in one of the comments below :) Basically, the "facebook argument" is widely used to prove that php is good for solving real-world problems, but the truth
428.
▲
by
10098
14y ago
Huh? I think I made it perfectly clear that I'm aware of it? Unfortunately, I've had enough experience with PHP to decide to never ever use it again voluntarily :)
429.
▲
by
10098
14y ago
1) 0 == "" && 0 == "0", but "0" != "" Does that convince you? 2) because processing some HTTP requests can be a tad bit more complicated than "do a select from a database and substitute the values into a template"
430.
▲
by
10098
14y ago
Because when you're learning php first, usually you are not learning how to solve problems in an algorithmic way; you're learning how to set up apache or upload a file to the server, or scrape an html page for weather forecast, and other st
431.
▲
by
10098
14y ago
Ostensibly, by writing lots and lots and lots of unit tests. In practice, however, no one has time to write or update unit tests. Which is bad, but understandable, because circumstances can be pressing. In that case, the only fix for weak t
432.
▲
by
10098
14y ago
Let's talk about the conclusions that are drawn in this article. I'll try to challenge them one-by-one. > PHP is a great language to start programming! No. PHP is not a good language to start programming. And I mean programming in a bro
433.
▲
Introducing the Source Filmmaker
(sourcefilmmaker.com)
1 points
by
10098
14y ago
|
0 comments
434.
▲
by
10098
14y ago
Ah, the joys of dynamic typing.
435.
▲
by
10098
14y ago
Shut up and take my money!!
436.
▲
by
10098
14y ago
> I helped him them in as root for the very first time. Aww, this is so adorable :-)
437.
▲
by
10098
14y ago
Actually, Windows 95 looked better than KDE does today. So... yeah, I probably wouldn't mind if my current desktop looked like win95.
438.
▲
by
10098
14y ago
what do you mean? you cant get a working system without compiling some language to machine code at some point
439.
▲
by
10098
14y ago
that's one aspect of dynamic typing that i strongly dislike. you can't figure out what a function does by looking at its signature. if documentation is absent (which is almost always the case), a coding task turns into a reverse engineering
440.
▲
by
10098
14y ago
That is a poor approach that only introduces more unnecessary complexity. On a side note, this probably explains why Finder is the most retarded file manager ever :-)
441.
▲
by
10098
14y ago
Well, yes, but imagine buying a new console vs. just buying a new graphics card or a few additional gigs of ram.
442.
▲
by
10098
14y ago
Can't wait to do a steam install halflife2episode2 that is, if they provide a command line interface :-)
443.
▲
by
10098
14y ago
Also let's not forget that the best, cutting-edge games utilizing the latest technology are pretty much out of console gamers' reach. Consoles have a hard time keeping up with the system requirements of newer games simply because its imposs
444.
▲
by
10098
14y ago
there is a little wheel on your mouse, right between the left and right buttons. in most browsers, if you click the link with it, it will open in a new tab
445.
▲
by
10098
14y ago
click the titles with the middle mouse button
446.
▲
by
10098
14y ago
"Dynamic typing – But how do you know if you’re working with an int or a string? By using your brain. HTTP does not do typing and so PHP does not do (strong) typing for scalars" If you are going to defend dynamic typing (which, by the way
447.
▲
by
10098
14y ago
I always thought Java was the COBOL of the web :-)
448.
▲
by
10098
14y ago
I laughed out loud when eventually an "Access Granted" popped up.
449.
▲
by
10098
14y ago
The thing is, they don't. They really don't. I hardly even notice them, like there's some kind of mental block that prevents the brain from perceiving the ads. Same thing applies to Google ads, I completely ignore them. Has anyone else noti
450.
▲
by
10098
14y ago
Maybe if one tries to do as much as possible from within the database itself (i.e. implement business logic using stored procedures, triggers and such, not an external programming language), there will be no need for any ORMs whatsoever? Th
More ›