|
|
|
|
|
by 9dev
3 days ago
|
|
yet at the same time, you can do stuff like this in PHP: $result = ' PHP 8.6 '
|> trim(...)
|> strtolower(...)
|> str_replace(' ', '-', ?)
|> (fn(string $s): string => match ($s) {
'php-8.6' => 'New hotness!',
default => 'Something else',
});
People always seem to get hung up on the standard library and the runtime, but the language itself is amazing by now. |
|
I think scripting languages tend to represent too great an attack surface, for humdrum reasons (like over-capable default configurations).
So I welcome this effort (not least because I quite like Go)