News for hackers. Stuff that matters.
Re:What's new in PHP 8? by zeroimpl on Friday August 14, 2020 @07:16PM (#24164386)
I’ve never used Perl but I periodically mistake eq and = in bash scripts. It’s quite annoying since there’s no obvious indication that one is for numbers and one is for strings.
Re:What's new in PHP 8? by qalmakka on Tuesday August 25, 2020 @11:17AM (#24272215)
There's no obvious indication what the standard C function

  void (*signal(int sig, void (*func)(int)))(int)
means; if you don't know C it's plain gibberish, impossible to fully understand.

Everything in computers (and I may say, more in general in life) is based on assumptions made on knowledge we implicitly have. After a while, writing eq or == becomes natural and you stop mixing them up. These kinds of errors are frequent when you don't use something daily; for instance, after more than a decade I still keep forgetting Powershell's syntax because I don't use it often and when I do, I tend to do basic things.