Message from JavaScript discussions

November 2017

— appendChild literally just returns argument 1 without any sort of check, so the explanations of what it does are side effects of that

Message permanent page


But since we have special DocumentFragment behavior... which actually is documented there in the spec, it doesn't really match up

— That's about as informative as returns the result

— Nice stuff

— It is not an internal command

— Yea

— In js, nope except some angularjs (at work) and some vanilla js too

PS: I write php

Note: To whom it may concern, we use PHP at work and I am bound

Message permanent page

— I like js though, very much

— Port it to JS

— I have ported like 20K lines of PHP myself, multiple projects

— Even though JS doesn't really have a full class system, IMO it's better than the C-mockery that is PHP OOP...

Message permanent page

— So, I often find that after porting a project to JS, I really get the urge to abandon the PHP side since none of the improvements I made on the JS side will work in PHP

Message permanent page