Which is the most suitable for go, python to be WEB?

is currently in a state of confusion. Should I focus on one language or use multiple languages at the same time?

using golang to develop web for a year, frequently writing erratic assertions, frequent loop assertions, reflect,unsafe. I feel like I spend most of my time writing about wheels, or considering the performance of wheels. In terms of development efficiency, it is PHP50%; the biggest problem is that the code is not elegant. If I use wheels, I have to write at least two or three more lines.

python, has only read the manual and hates indentation; but it is an ideal language, dynamic typing is more suitable for rapid development, Kudo! I want to study deeply, but I am afraid that go will gradually forget.

I first learned Cmursharp, but later I forgot to use php, c-sharp. I almost forgot to learn go, php later. Not to mention CPP, which we didn"t learn well before, can"t even read complex pointers. But js didn"t forget, because he uses it almost every day.

very tangled! Ask the old bird for advice.

Mar.11,2021
The question of

is very broad, and it is also a place where most people are confused.
1. It is not certain which language is the most suitable for web,. It basically depends on how to balance, whether it is for fast development, or for the pursuit of high performance, or the technology stack of team members. These are all factors that affect the development of a web to choose a language
2, java, php, python, go sharp, java, php, python, go can all do web
to quickly develop and choose php, python
to pursue performance, the market master more people to choose java, go performance, but after all, fewer people have mastered
Sharp between the above two
3, it is certainly better to know one language, as for fear of forgetting, it is also easy to pick it up, the more skills you master, You are more sure when balancing what technology to use
4. Now that the blockchain is so popular and go is suitable for the development zone chain, you have an advantage


personally, I am mainly in the direction of PHP and Golang. Let me talk about my personal views.

for the choice of development project language technology stack, we should not only consider the development language itself, but also consider the corresponding ecological environment, including software ecology, community conditions and human resources.

at present, from the perspective of the whole industry, PHP is very suitable and efficient for page-level development, which is what many large Internet companies call the "application layer." Java through decades of development, its ecological environment has been very prosperous, which is why many enterprises choose Java, and also stable. Golang is relatively new, but it is more advanced only in terms of development language (this design idea has a lot to do with it). It is also one of the results of the pit that Google has stepped on for decades. it is not to replace anyone, but to give you more choices.


step on me, I won't change.

Why no one says PHP.

PHP still has a lot of advantages.

I think every language has its advantages.

for example, PHP is suitable for rapid development. The development speed of Python is not as cool as that of PHP.
Golang is suitable for developing a service.
JAVA, it takes some time to design the architecture up front. It was pretty good in the later stage.


different scenarios are suitable for different languages.
Go can write API, but if you render the page, the template is not very convenient.
Rapid development, PHP is very fast


python was originally recommended, but if you hate indentation, choose another language. Nodejs can also consider it.

the key is that you are comfortable to write and willing to continue, and you might as well go deep into one or two of each introduction to linguistics.

digression: even for languages that are not forced to indent, reasonable indentation is a good programming specification.


WEB development currently, PHP still has a lot of advantages! You learn too much. How many bowls of rice can a person eat a day? You still need to be proficient in one subject first, and then get in touch with other languages


in China, web is still Java.

python and Golang are still niche. Even if it is a first-tier city (except Beijing).


PHP bar what forum portal

if the enterprise is still javaee, the trading system or something

just look at the success stories


Why did LZ change from PHP to GO? at present, PHPer, is also learning from GO. In order to increase its own technology stack, it is impossible for practical application and work in this company, and I would like everyone's opinion every day


choose the appropriate language in the corresponding application scenario to solve the corresponding pain point scenario

just wrote an article recently. You can take a look at the high-frequency tags related to Golang
Portal: https://codeshelper.com/a/11.

. < hr >

again, don't focus all your attention on A language, B language, and C language. It's just a problem-solving tool.
they don't conflict. They understand or master individual words, and there are more familiar solutions in theory

.

PHP still has an advantage in web.


my JavaScript


language is just a tool, the important thing is thinking, you should not consider who is suitable for web, because it's all right.


node.js pays a lot of money and doesn't work hard, so program for salary

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34765-2bf0c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34765-2bf0c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?