Comparing a script in multiple languages - Golang vs Python vs JavaScript vs Bash vs PHP

preview_player
Показать описание
A longer than normal video comparing a few languages.

All code here:
Рекомендации по теме
Комментарии
Автор

out of the 4 languages PHP is the one that looks easier to read for me, using "array_map" or "array_shift" looks very splicit to me. The second one would be Go. Btw you dont have to use array_shift, you can use array_slice to do immutable.

Автор

Just the kind of video I was looking for. Why do people ever compare languages without showing any code?

nullsah
Автор

I really like the toUpperCase() != toLowerCase() method to check for alpha characters, in the case where you don't have a built-in function to check for that. :)

tobberh
Автор

Fun fact: Bash was named bash because when you're writing bash scripts you want to bash your head through the monitor.

:)

michaeldursojr.
Автор

What's the name of the terminal emulator that you are using ?

adityashourya