Why give up on C + + work

Source: Internet
Author: User

HAPPYPETER,2015 Year January 9

Yesterday into Yanshan University programming enthusiasts QQ Group, see a lot of students learning C + +, I certainly do not like, because I do Web development. So with a wretched mood, write a silly article today, to black C + +. Peter, are you qualified to talk about this? I was research one (2006) that year began full-time development of embedded systems in C language, (one of my C language projects, click here) began to contact C + +, with Qt (a set of C + + programming framework) to write. 09 After graduating the first job is "Qt Developer" in a company in Zhongguancun, called Red Flag Linux. Full time to do C + + for 9 months, project code here. I am not C + + Daniel, today I do not from a very deep technical point of view to black C + +, but to give you a lot of practical examples, to demonstrate that, from the perspective of college students career Development, C + + is not suitable.

Are you really going away from the internet?

Traditional IT companies, communications companies, it consulting firms, emerging internet companies, these types of companies are different. The other day I was chatting with ThoughtWorks, a high-end consulting firm in Beijing, who said that we had a higher salary here than a traditional IT company, but it was no comparison with internet companies. What is an Internet company? Domestic BAT, foreign facebook,twitter,google. Twitter was first used with Ruby, and Facebook used php,google to push python. And of course we all use a lot of Javascript. Who is the main use of C + +? C + + in traditional IT companies use more, mainly should be Microsoft belt, but look at Microsoft hp These old dinosaurs are now doing? While cutting staff, while doing the Internet transformation.

C + + is extremely inappropriate for beginners to learn

I'm getting started. Object-oriented programming is from the C + + language here, which now seems to be a huge mistake. Why? Because C + + is complex, C + + is one of the most complicated details of the language I know. If I'm programming with Ruby or Python, it's much easier to learn. Why is C + + so complex? In the early days of the need to consider the utilization of hardware resources, it can be said that it is very powerful. Now I can only say retarded. Talk about my own experience in C + +, simply speaking two sides. On the one hand you want to achieve business logic, to let customer satisfaction, this is the case, but also to coax the hardware in good hands, or the various compilation errors run error to kill you. If you use a high-level language like Ruby/python, programmers only need to care about business logic, to please the work of the machine at the bottom of the completion, so the programmer is closer to the language interface.

Many schools in China are taught to get started with C + +, which is wrong, and the obscure grammar directly kills everyone's interest. MIT uses Python, UCB programming with Ruby, you can Google a bit, look at their video lessons, very simple, energy is used to realize their own ideas. As if driving, you should first learn how to use the steering wheel, rather than directly study how to repair the car. Do things should be from coarse to thin, rather than the direction of the deep drilling, if you are wrong direction? It would not be a great loss to look back.

Some of my friends ' stories.

My C + + level is limited, now let me say a few friends of my story.

A June, Master of Tsinghua University, the love of C + +, the real technology Daniel, I am very respectful of people, wrote a C + + book. 2010 we all work in a company, he is the technical director, the company is the nature of the Internet, PHP has python but there is no C + +. He worked in that company for two years, and after leaving his interest he turned nodejs. Later to work abroad, do C + +, very boring, but he came back to me in Beijing to ask him to eat grilled skewers, ask him what the future? He insisted that it was C + +. A few days ago, he came to Qinhuangdao for me to play, and said to me: "By, I this went wrong, my direction is messed up." Now he is co-founder and technical director of a 3D printer company, but seldom uses C + +. He said: "Confused ah. I still want to go abroad to read a computer degree ", saying he is a year older than me!"

B June, my former colleague, also used to be the first in the domestic computer department of the teacher, more than 10 years C language experience. When I was working with him in 2011, I teased him: "Don't make C, learn Ruby on Rails with me, the internet means openness and freedom", he didn't respond, I guess his idea is: "The Web is too superficial, the C language has a serious academic". Later in 2013, his family moved to Silicon Valley, influenced by the atmosphere, he first learned rubyonrails for more than a year, and now Meteorjs (both of which are web). The study of C and the writing of books, as far as I know, he slowly put down. By the way, the C language is also black, although Linus Torvalds to the present is still my idol.

Conclusion

The general meaning is to let everyone do not learn c++/c these underlying language, and to embrace the Internet, a money and dream of the field. Developing iphone Apps originally with OC this is a very similar thing to C + +, but this is a historical legacy, it seems that Apple is using Swift to correct this error. Finally say, my name is Peter, GitHub account is Https://github.com/happypeter above has my mailbox, welcome everybody letter to communicate with me.

Http://qqpeter.github.io/cpp.html

Why give up on C + + work

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.