|
it's p funny how yall can go on for a page about which languages are in vogue and which are falling out of favor and php only gets a mere offhand dismissal web hipsters desperately, desperately want to ignore the fact that php is still here and it's not going anywhere it outlived perl, it's currently outliving ruby, and it'll outlive node and whatever the flavor of the year after that is. tbh i expect PHPNG to put ruby in the ground once and for all
|
# ¿ Feb 26, 2015 04:37 |
|
|
# ¿ May 9, 2024 06:18 |
|
fart simpson posted:it's not that funny. php is bad but not very interesting. "interesting" is not an advantage in a language, despite what the rupythonode crowd says. "lets you get poo poo done quickly, with a minimum of fuss, on a ubiquitous platform" is an advantage, and that describes php to a tee.
|
# ¿ Feb 26, 2015 04:45 |
|
javascript is a perfectly wonderful langauge for adding all kinds of client-side UI glitz to your apps; it's mediocre at best for server-side web development. if it "outlives" PHP as a way to open pop-up windows, ok, i can maybe see that. if node.js or whatever it splinters into is anything but an interesting footnote or a strictly niche thing 10 years hence i'll be pretty surprised
|
# ¿ Feb 26, 2015 04:59 |
|
tef posted:the average age of a php programmer is increasing young ppl don't know what they're doing, no surprise
|
# ¿ Feb 26, 2015 05:02 |
|
yeah in the one place we use node it's for a socket thing and "sorta works" doesn't even begin to describe it. it's a huge pain in the rear end and the system goes down all the goddamn timetef posted:how do you calculate sunrise times in javascript, i mean c'mon what is this aw cmon tef, "PHP has too many functions" is like the oldest web hipster cliche in the book, they were saying that back in PHP 4 days and it still doesn't matter
|
# ¿ Feb 26, 2015 05:06 |
|
Mr Dog posted:i hope client side javascript poo poo is a fad that fucks off sooner rather than later what do you think could possibly replace it? flash? silverlight?
|
# ¿ Feb 26, 2015 19:19 |
|
you don't hate client-side JS. try disabling JS and seeing how much poo poo is irritating or just totally broken. what you hate is idiot designers making poo poo flashy for no reason, which happens any time you give a designer too much freedom see: that thing Flipboard did where they recreated their entire UI in a <canvas> tag so they could get "60 fps scrolling"
|
# ¿ Feb 26, 2015 19:21 |
|
Notorious b.s.d. posted:i typically browse with js and css turned off whatever works for you, but this is the web equivalent of living an off-the-grid log cabin out in Montana rigged up with solar panels and well water which is to say that it probably loving owns
|
# ¿ Feb 26, 2015 19:27 |
|
Suspicious Dish posted:warnings are dumb and bogus
|
# ¿ Mar 12, 2015 23:05 |
|
static typing is for autists who literally want to create errors in their program where none would exist otherwise. types are a silly idea for 99% of applications cause it rarely matters how the computer stores a value internally.
|
# ¿ Apr 12, 2015 01:17 |
|
In none of these measured points the use of a static type system turned out to have a successful impact. In the first case, the use of a statically typed programming language had a significant negative impact, in the latter one, no significant difference could be measured. DAAAAAMMMNNNNN
|
# ¿ Apr 12, 2015 05:09 |
|
Maluco Marinero posted:One developer? 27 hours over 4 working days? No maintenance coding or extension? wtf are you talking about there were 49 developers
|
# ¿ Apr 12, 2015 05:10 |
|
anyway sure maybe it's not a perfect study but given that i have literally seen zero evidence of any benefit to static typing, ever, i feel like the ball is pretty solidly in sperg-typing court now
|
# ¿ Apr 12, 2015 05:11 |
|
fleshweasel posted:49 teams of one you loving idiot oh ok i guess that means we should just ignore this and focus on all of the hard evidence for the superiority of static typing, like
|
# ¿ Apr 12, 2015 07:33 |
|
tbqh, with javascript there was probably a better way to do whatever you were doing than overloading
|
# ¿ May 29, 2015 22:41 |
|
comedyblissoption posted:also dont take that as a defense of javascript you don't need to do any of that stuff. just... learn how prototypical inheritance works instead of expecting class-based oo, and also don't have stupid ideas about types? crockford is an idiot fundamentalist who is actively trying to ruin everything good about javascript. look at how lovely all JSON parsers are nowdays thanks to his idiot purism i get why people think php is a bad language; i strongly disagree but i at least understand the complaints. ppl who bitch about javascript just bewilder me. there's nothing wrong with it at all
|
# ¿ Jun 1, 2015 21:19 |
|
i think he's talking about one-off objects that don't use prototypes, so it'd be MyObject = { foo: function() { ... } } instead. being able to just make objects on the fly like that and give them whatever properties they need is one of my fav things about javascript but it's v jarring if you expect traditional inheritance everywhere
|
# ¿ Jun 1, 2015 22:12 |
|
pretend that's indented right cause i'm too lazy to go back and edit in code tags
|
# ¿ Jun 1, 2015 22:13 |
|
i really like that thing where spaces affect precedence, but since all my coworkers seem to think whitespace should be inserted into code at random i will concede that it's probably not a good idea irl
|
# ¿ Jun 2, 2015 14:20 |
|
Athas posted:Yeah, it kind of makes sense if you get really drunk and/or high first. i'll bite; why has the sperg programming hivemind decided this is bad?
|
# ¿ Jun 5, 2015 18:17 |
|
hepatizon posted:If you need any tool other than grep to find all occurrences of a name, you hosed it up you still don't, just do something like grep -i "butt_?class"
|
# ¿ Jun 5, 2015 18:27 |
|
Notorious b.s.d. posted:as with tabs vs spaces i don't care which convention you use, just be consistent a foolish consistency is the hobgoblin of small minds, etc etc much better to have tools that don't care and can work with anything
|
# ¿ Jun 5, 2015 18:30 |
|
Athas posted:Same things should look the same everywhere. There is no way this feature can be used for Good and not Evil. if the language draws no distinction between butt_factory and buttFactory then there's no need for it to look the same everywhere and i don't have to waste time going back to see which casing it uses. sounds p Good to me
|
# ¿ Jun 5, 2015 19:43 |
|
types are a fake idea
|
# ¿ Jun 12, 2015 20:38 |
|
the idea that types help you write code more easily is a fake idea
|
# ¿ Jun 12, 2015 20:49 |
|
it's been said that php is just a wrapper around a bunch of c functions and that's kind of true. in a way, it's c for the modern era of the web. it's easier to work with and all the useless stuff like pointers is stripped out
|
# ¿ Jun 13, 2015 07:13 |
|
triple sulk posted:kinda this, also kinda old rear end java webapps lol php will easily outlive ruby
|
# ¿ Sep 5, 2015 17:18 |
|
PleasureKevin posted:man i might get a job doing PHP and did a test on it and man is it bad. yes only in php do you have to do things like "put the arguments to a function in the right order". other languages just know what you mean. why has php not implemented this feature yet.
|
# ¿ Sep 12, 2015 03:01 |
|
jony neuemonic posted:it has though, we talked about it itt: ya you can do that with implode() but he was talking about explode()
|
# ¿ Sep 12, 2015 17:38 |
|
Bloody posted:/showthread.php?noseen=0&threadid=3481275&perpage=40&pagenumber=1171#pti5 who gives a poo poo what the url looks like. "restful urls" or whatever are stupid cause you can only put one meaningful bit of information in them and you gotta use a query string for everything else anyway
|
# ¿ Sep 30, 2015 23:59 |
|
Necc0 posted:BRACKET ALL IF STATEMENTS YOU loving COWBOY CODERS gently caress gently caress FHDUOFDGF a. ITYM "braces". [] are brackets, {} are braces b. you don't need actually need the braces if the thing inside the if is only one line. that way you can save a little bit of space and it looks nicer
|
# ¿ Oct 2, 2015 19:53 |
|
|
# ¿ May 9, 2024 06:18 |
|
Wheany posted:okay man, i've stood with you every time you've defended php, or at least i have loléd on the sidelines at your wicked ownages so i have this new intern who's always asking me questions and trying to learn from me and stuff. also, today is our company "free tech day" where the tech crew gets to dick around with something cool as long as it has some possible business benefit or you learn something (i'm brushing up on R) one of the PMs was like hey i'm gonna teach myself a bit of coding what should i learn. one of the dudes who was over here from the foreign office was like, oh try python, it's pretty easy for a beginner and it'll teach you good coding habits. the new intern, without any prompting from me, immediately said "oh that's not true you can write bad code in any language and PHP is actually really good now days" i've taught him so well
|
# ¿ Oct 2, 2015 20:39 |