356600+ entries in 0.108s

mircea_popescu: I passionately hated PHP for a long time after that, but it's just not relevant enough to my work anymore to hate.
mircea_popescu: In other words, I was unsuccessful in explaining this rather basic concept. They got it blisteringly wrong, and hacked this wrongness into the language for all time. I attempted to explain (much more patiently than here) that no, this is not what === is supposed to do, but I wasn't heard. Not by Zeev, not by anyone else on channel. No one got it at all.
mircea_popescu: does === fail to do object identity testing, it's simply '==', does all the "deep comparison" of ==, but also bothers to compare the type.
mircea_popescu: Amen to the cavalier attitude. You know about PHP's Javascript-esque === operator? (that's the one with three equals signs). That got designed on the spot in an IRC session with Zeev and some other devs. Because I actually had to explain to these folks what the concept of "object identity" was, i.e. what lisp does with 'eq', python does with 'is', and Javascript does with ===. Yes, because PHP's is different. Not only
mircea_popescu: For the same reason, "6" == " 6", "4.2" == "4.20", and "133" == "0133". But note that 133 != 0133, because 0133 is octal. But "0x10" == "16" and "1e3" == "1000"!
mircea_popescu: == converts to numbers when possible ( 123 == "123foo"
although "123" != "123foo"), which means it converts to floats when possible. So large hex strings (like, say, password hashes) may occasionally compare true when theyre not. Even JavaScript doesnt do this.
mircea_popescu: so according to php is "1" = 1 evaluated to 1, 0 or what ?
mircea_popescu: now show me any other language which actually MAKES programmers.
mircea_popescu: out of which there were maybe even 2 actual programmers.
mircea_popescu: Weak typing (i.e., silent automatic conversion between strings/numbers/et al) is so complex that whatever minor programmer effort is saved is by no means worth it.
mircea_popescu: or w/e, a digital scrapbook for the information superhighway
mircea_popescu: i still don't believe there's anything that even comes close to php for as long as what you're doing is basically... a blog.
mircea_popescu: mike_c what's so insecure about php anyway. it securely failed the === "orly" test
mircea_popescu: to prove this : consider cheating wives. the dumb ones don't.
mircea_popescu: hello multifacepalming logreader people. your facepalms have been foretold.
mircea_popescu: i can hear the collective multifacepalms of log reader ppl already.
mircea_popescu: r3wt so i guess now you have the answer : wot is the church of bitcoin miracles.
mircea_popescu: <r3wt> ah, now i see what i did wrong. i'm asking if a function is a boolean when it already returns one << pretty good this.
mircea_popescu: its a tool to allow you (and us) to evaluate the credibility of agents.
mircea_popescu: r3wt another thing you may consider is registering with nickserv. if your name is important to you.
mircea_popescu: "let us inject our stupid website spuriously" is not much of an ide.a