News for hackers. Stuff that matters.
Re:Build command line apps using PHP 7 by wongarsu on Sunday September 03, 2017 @06:14PM (#15164252)
>How is C-like syntax a plus?

C-style syntax is fairly popular [1]. If it had lisp syntax or haskell syntax most people would complain that they can't figure out what's going on without learning all that syntax.

>that to comapre strings you often have to use strcmp

For equality === works just fine. For < and > there is no one obviously correct order, so it's entirely reasonable to use functions for that.

1: https://en.wikipedia.org/wiki/List_of_C-family_programming_l...

There are no comments on this comment yet.