What is needed for programming in the future? Programming is a topic that has not changed since ancient times, and conjectures about programming are popping up like mushrooms after a rain. Scientists say that time moves forward at a uniform speed, and wise men say that everything changes at the speed of light. However, the rapid changes in technology are still unsolvable. In the blink of an eye, it is a different scene.
Many people wish they could see into the future, but the next five years are nothing more than speculation. Predicting the development of technology is a fantasy, because the impact of innovation is enough to make many current skills and tools obsolete. Having said that, we still take a look at the tea leaves of this fate, which may help us clear up the fog, take a glimpse of the future, and see what technology will be like by then.
Standing at the forefront of technological achievements, we boldly look to the future. Not all prospects will be realized, and not even surprises can be said - in fact, many trends only showed their sharp edges a few years ago. We hope to provide valuable reference for developers to help improve their ability to respond to future changes and make quick plans.
1. REST has dominated IoT since the beginning. The REST protocol governs the entire network. This trend will continue as thermostats, door locks, kitchen appliances and more compete to integrate into the increasingly mature IoT (Internet of Things). The Internet of Things is the Internet of Things, not some other SCSI, USB or SATA networking.
The reason is very simple. The simplicity of the REST protocol is favored by programmers. Its infrastructure makes the REST protocol simple and easy to use, and it becomes easier to find code loopholes. There is no protocol that can store data in text form so clearly at a glance. Don’t be surprised when your brand-new security camera, microwave, or rotary nose hair trimmer launches with Nginx on port 80 and a steady stream of device updates in HTML and CSS.
2. Binary protocol rises again. Sending data in JOSN packets based on the REST protocol is at least much simpler than the old XML data and 90% of the payload of tags; but programmers who are extremely focused on efficiency may question why binary data must be converted to strings. To display correctly in JSON, the string has to be parsed into bytes anyway, right? That being the case, especially when the IoT is only transmitting a few bytes of data, why not just transmit the bytes?
Creating more binary protocols is time-consuming and laborious, and the HTTP standard is originally text. Many programmers have worked with proprietary binary protocols that could only be unpacked with proprietary code bases, and know that this approach doesn't always work, which can be frustrating.
In comparison, the advantages of open JSON and REST are obvious, but this does not mean that the use of binary protocols cannot make open standards work efficiently. The Internet of Things will generate more data than ever before, and many devices will consume large amounts of small data packets with stricter encoding requirements. When efficiency becomes a hard requirement, programmers will find ways to add more efficient binary protocols to the database.
3. Video streaming will make HTML obsolete. Gone are the days of scrolling from website to website, reading text on pages, and clicking on hyperlinks to get more information. Now we sit in front of the TV for hours or even days, lazily standing up from the sofa when the episode is over. . The only time I use my keyboard is to find out when the next season is on Netflix. The Internet has become a new generation of television, and a steady stream of video is spreading along text-based interactive models to help us think.
This is not entirely true. Many people feel that the Internet is liberating televisions, allowing more people to sit in front of computers, eat snacks and watch TV programs. I don't know if "Saturday Night Live" still airs on Saturday nights, or if the show even airs live, but I do know that it can be easily searched for on the website. Does it still retain that opening monologue? Are there any special guest hosting sessions? Who knows?
But with all this, TV fans can’t do anything but laugh at the screen. There are almost no mouse clicks or web pages to scroll through. Perhaps the next generation of video apps will add more video layers and improve existing tools. The demise of Flash and the rise of HTML5 have opened up many possibilities for HTML merging video clips, which is a boon to programmers. Before that, whether the TV program was backed by an Internet giant or a national broadcaster with three capital letters, users just sat there passively, no different from decades ago.
4. Calling is no longer the main function of smartphones. Will anyone still buy a smartphone just to make calls? Send text messages, check emails, go to the website, there are many things you can do. This small rectangular screen has revolutionized every aspect of life over the past decade, and its future is even more exciting. More sensors, smarter microphones, cameras and accelerometers...but this also means that both commercial and private use of mobile phones will face certain privacy risks.
In the past, people had to wait hours outside a doctor's office for help; now hundreds of companies are trying to turn smartphones into little personal medical devices - with microphones to listen for heartbeats and cameras to Check your throat, and the accelerometer can track your fitness—data that can be sent to the cloud to quickly help you find the right doctor.
Yes, the new generation of smart devices will dwarf today’s technology – navigation apps can help with route planning; planning apps can do almost anything but drive; fitness tracking apps can continuously record physical conditions during sleep and work hours . Whether it is a mobile phone or other device, such mobile applications will continue to emerge in endlessly.
5. The database is larger and stronger. Yes, search engines index web pages, and databases already exist that index the world, thanks to a new generation of location-based applications and the ever-expanding market demand for self-driving cars. Apps such as Waze track their users to compile an all-encompassing map of the world for developers and users. Gone are the days of cartographers squinting at aerial photos. Whether a road is blocked, a cow is blocking traffic, or civil engineers have added a new road, you will know immediately.
The sophistication of the database is breathtaking. For example, a self-driving car can input the location data of red street lights, newspaper vending machines and fire hydrants to ensure the safety of the journey. The scale of data is so huge that it is definitely more than enough for self-driving cars. Municipal departments have information on when and where roads need repairs, and where streetlights are broken; police have data that goes far beyond just the people on the street.
The database can even record potholes in each city and how long they need to be repaired. If all of this has overwhelmed you, then robots will definitely touch your heart even more.
6. JavaScript will become the dominant language without having to write it yourself. If we don't write JavaScript, who will? The answer is transcoding bots, which can convert any language into a language that the browser or Node.js understands. More and more code on GitHub needs to be "compiled" to run, such as the streamlined CoffeeScript, which removes many punctuation marks that programmers hate. CoffeeScript alone has dozens of versions - Coco, IcedCoffeeScript and CoffeeScript II: The Wrath of Khan.
This is just the beginning, many programmers have wisely written code converters for Cobol, Java, Lisp and C and other languages. Now these languages are transformed and improved, quickly delivered and parsed to run in the browser. Why go to all the trouble of using JavaScript when you have bot software to convert the language you know?
7. PHP will fight back against Node. js. But it's just to prevent legacy applications from being rewritten. A few years ago, people thought that PHP would disappear from the stage of history as Node.js and JavaScript took over the server fleet. Now it seems that its "retirement time" may be delayed until it has to fight this last battle. The latest instant tools like PHP 7 and HipHop virtual machines run faster and smoother, making code bases like WordPress and Drupal run 30%, 40%, 50%, or even 100% faster.
Other advantages of JavaScript for project development still exist, such as the same code can run on both the browser and the server, but in this case, there is no reason to use Node.js to replace the old PHP code base. These old platforms will eventually be reborn.
8. It’s easy to get started but hard to master. Software development just got easier to teach and learn. On December 8, 2014, U.S. President Obama put aside the Middle East issue and anti-terrorism cause and spent an hour learning and writing a line of code. I wonder if this will make his "Obamacare" website more updated. What about smoother?
Whether the object of teaching is people, pet dogs, or parrots, this craze of code teaching will continue for many years. The best thing for a real programmer to do is respond with a smile and a word of encouragement. As more people join the ranks of learning to code, the more they realize how tricky it is to deal with coordinating numbers, APIs, etc. It's easy to write a line of code like Obama did, but a complete system composed of millions of codes is difficult for ordinary people to control.
There are some talented people who can be like a fish in water once they get started, but most of them just straighten their heads and complain secretly. Writing a loop is easy, but choosing the most suitable one is difficult; how many people learned to chop wood as children, but how many of them mastered the exquisite skills of a carpenter in the future?
9. The dictating BOSS makes people crazy. This isn’t really a prospect, because they’ve already done it—these bosses took a crash course in programming and felt like they were experts, and the programmers were “helped.”
“Are you going to use a variable?” they like to chime in: “Are you sure you want to use a constant here? I think a loop is better.” In this case, just smile and say thank you, that’s the only way you can made.
For programming, what is needed is not just some guesses, but what is more needed is one's own pursuit of programming and continuous innovation, so that latecomers can learn from it and improve technology.
Brotherhood Gao Luofeng recruits disciples for free: http://www.hdb.com/party/lzcw-comm.html
Receive LAMP Brothers’ original PHP video tutorial CD/"Explain PHP in detail" free of charge. For details, please contact the official website customer service:
http://www.lampbrother.net
【Brothers IT Education】Learn PHP, Linux, HTML5, UI, Android and other video tutorials (courseware + notes + videos)!
Network disk tutorial download: http://pan.baidu.com/s/1sjOJiAL
The above introduces what is needed for future programming, including aspects of content. I hope it will be helpful to friends who are interested in PHP tutorials.