[12:34] morning [12:34] hi [12:55] morning [12:56] cmaloney: CHC tonight? [13:09] rick_h_: Planning on it [13:09] cmaloney: party time [13:09] Woo woo! [13:10] morning [16:09] https://plus.google.com/+SageLaTorra/posts/27Z4yW94RMf [16:11] I will never understand PHP [17:21] <_stink_> hahaha [17:22] I have never seen another language go through as many hoops to get it wrong [17:22] with the exception of Javascript [17:24] c++? [17:24] its gotta be up there with js and php. [17:25] Does C++ parse a string to get the numbers out of it? :) [17:25] yes. so does C [17:25] wut? [17:25] atoi() [17:25] No no no nono [17:26] I mean taking "3" + "I have 5 bananaas" and returning 8 [17:26] hhahahaa, no, not by default or course. [17:26] type conversion I understand [17:26] yes, I think implicit type conversion should be considered BAD [17:26] but that's just brain-damaged [17:27] imagine how much simpler JS would be if it didn't have implicit type conversion. [17:27] Some conversion I don't mind a while lot [17:27] then again, python has it and its simple and understandable,s o I don't nkow. [17:27] (I come from Perl so take that with a grain of salt) [17:27] yes, a small well defined set, or even an extensible set can be OK. [17:27] i come from perl too, and it was never an issue there. [17:28] I guess JS and PHP just fucked it up [17:28] Well, went way too far at the very least [17:29] yeah, maybe that is it. [17:29] if you have "2324" and add that to 3 then your choices are either to fail, treat as a string, or convert to integer [17:29] but having "3FFF" + 3 convert to 6? I can't fathom where that would be appropriate [17:29] or... do the sane thing and treat 3 as a char literal and append ascii(3) to the string and get 2324^@ [17:30] jrwren: I'd accept that, even though that would be surprising [17:31] it would? hrm. yeah, I guess maybe it would be. [17:31] I think that's why PHP and Javascript are languages I don't like: they act in surprising ways [17:31] and not good surprises [17:31] same here. but that is OUR problem, because we've been conditioned to expect things one way, and they do things another. [17:31] like VB conversions to variant [17:32] or True = -1 [17:32] everything is a variant! [17:32] heh