S
S
stepan-neretin72019-08-03 12:44:04
Programming languages
stepan-neretin7, 2019-08-03 12:44:04

Which language to choose after PHP?

I want to poke some language other than php. It is clear that in php I still have a lot to learn and learn, but there was a desire to just poke some language so that in the future I could either combine these two languages, or completely switch to a new one.
I choose between ruby ​​or go. What do you advise? It is clear that 2 completely different languages, but still.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
sim3x, 2019-08-03
@sim3x

We take the playing dice
We take the tiobe rating We throw the
dice The dropped
number we learn
https://www.amazon.com/Polyhedral-Dice-Set-Pathfin...

A
Andrew, 2019-08-03
@deepblack

Any. Just take it and start doing.

D
Dmitry Belyaev, 2019-08-03
@bingo347

If you just look and get distracted - try something low-level, such as C or Rust, or even one level lower - some dialect of assembler (for Linux, for example, NASM x86_64 is now relevant), this will at least bring benefits, in the form of a basic understanding how iron works.
Another option is to look at the paradigms of your language from the perspective of other languages. For example, OOP prevails in php - we look at other OOP languages ​​​​- C # or Java.
And another option is to deal with a completely new paradigm, for example, FP (clojure, haskell) or actors (Erlang, to some extent Go)
ИМХО, но Ruby и Go - плохие языки, да php позволяет Вам на говнокодить, но и не запрещает писать качественный и поддерживаемый код, а вот с Ruby и Go так не пройдет:
Ruby - write only язык, годный лишь на то чтоб накидать MVP, опробовать идею и, если поперло, переписать все с нуля... посмотрите исходники gitlab и попытайтесь в них хоть что-то понять, к вечеру Вас уже будет тошнить от Ruby, и так можно сказать про любой Ruby проект живущий дольше нескольких месяцев...
Go - я убил на этот язык больше года, пока не понял, что язык форсирует на копипасту... Кто-то умный рассказал Вам про принцип DRY? С Go Вам придется забыть об этом принципе... Опять же, загляните в исходники докера, чтоб понять о чем я говорю...

D
dollar, 2019-10-29
@dollar

The language is chosen for the task if you have to learn (any) from scratch. Well, or the language that you already know is stretched for a specific task. But you did not describe the task itself or the scope of application. On the server, even C / C ++ is suitable, as well as any script, that is, anything.
And so it is very difficult to say which language will continue to develop and become fashionable, and which will become obsolete and die in the next, say, a couple of years.
https://www.youtube.com/watch?v=Og847HVwRSI

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question