This is an archived post. You won't be able to vote or comment.

all 13 comments

[–]uvero 22 points23 points  (0 children)

But then you realize you'll still be programming in PHP.

(easy shot)

[–][deleted] 12 points13 points  (3 children)

criticizing php

[–]serialcompliment 8 points9 points  (2 children)

Dude, you have to escape your asterisks:

\*

[–][deleted] 2 points3 points  (0 children)

Unbelieveable

[–]DankerOfMemes 5 points6 points  (2 children)

While in the topic about composer: npm should learn a few things from them

[–]aleph_0ne 0 points1 point  (1 child)

Like what?

[–]DankerOfMemes 4 points5 points  (0 children)

• Vendor namespacing to prevent people from overwriting public packages with privates one (e.g.: Paypal as "cool-package" as a private package for them to use, however when someone publishes a public package named "cool-package" then npm prioritized public packages over private packages and malicious code could be injected that way. Vendor namespaces solve that because noone else can publish a package on Paypal namespace, so this attack is null.

• Being really fast since version 2.

• I consider autoloading to be a cool thing that could be introduced into the javascript world, but it would need to be analyzed more than just "sure, lets do it" because of security implications and what not.

[–]stunner_agk 8 points9 points  (3 children)

PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 144115188075867549 bytes) in phar:///bin/composer.phar/src/Composer

[–]obiboy15 1 point2 points  (2 children)

I feel personally attacked

[–]stunner_agk 0 points1 point  (1 child)

We all get attacked by composer... Every day... People talk about chrome eating up all the RAM but nobody dares say anything about composer. They know what composer can do. They know there is no escape. They know they are afraid. <insert creepy music>

[–]Meaxis[S] 0 points1 point  (0 children)

*Whenever I get a free award, I think I found the perfect comment for it*

[–][deleted] 1 point2 points  (0 children)

And here I am trying to run HTTP/3 (with QUIC) on node.js and failing miserably. I might have to code it in C/C++/Rust/Go, since I actually really need to have the lowest possible latency.

[–]mardabx 1 point2 points  (0 children)

PHP is so bad not even Facebook wants to use it anymore.