开源日报 每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,坚持阅读《开源日报》,保持每日学习的好习惯。
今日推荐开源项目:《新的开始 getAwayBSG》
今日推荐英文原文:《The Future of Code》

我们是不会停下来的(指日报编辑),只要你们不停下来,我们就会在前方等着你们!!!
所以,不要停下来啊(指每天学习)……
今日推荐开源项目:《新的开始 getAwayBSG》传送门:GitHub链接
推荐理由:不管是遇上了什么亦或是没有遇上什么,逃避或是追赶,带来的结果都是相同的——来到一个新的环境。尽管大多数情况下你无法决定你会来到何处,这个项目能够让你在能够选择自己的下一站时提供一个参考,它对比了诸多城市的生活成本和工作机会等等,让你能够从更现实的角度看待你对下一站的各种选择。
今日推荐英文原文:《The Future of Code》作者:DEV.BIZ.OPS
原文链接:https://medium.com/@devbizops/the-future-of-code-14bcd4730d21
推荐理由:兴许以后我们不会需要自己写代码,而是做写代码的指导者

The Future of Code

With computers coding themselves, do humans even matter?

What is the scariest movie you have ever seen? For me, it’s 2001: A Space Odyssey. Maybe it does not have the gore factor or terror including chills, but HAL9000 is right up there with Alien, Predator, and Snakes on a Plane* for most terrifying villain of all-time:
“I’m sorry Dave, I’m afraid I can’t do that”
With every other villain, you are dealing with the irrational. HAL on the other hand is polite, rational, soothing and a 100% certified sinister serial killing computer. What makes HAL even more threatening to us however is the idea of our creations turning the tables us.

We are still well behind an intelligence such as HAL coming into existence. The pace of software development in this decade however may mean we have to reckon with the future sooner than we are prepared for. What happens once we step into the 2020’s?

A few of weeks ago I spoke on a panel called the “Future of Work” at Innovfest Unbound. Most of these talks tend to devolve into debates on whether humanity is going to be made redundant by the advance of machines. Luckily we avoided much of the doom and gloom and discussed more practical considerations of workforce management, upskilling, and the growth in entrepreneurship and freelancing. Underlying all of this change is software.

During the panel I shared how software has enabled greater economic opportunity and career freedom. The Internet and mobile apps have opened up both local and global marketplaces to supplement ones income or transition into entirely new careers. Supplementing these platforms and online gig marketplaces is more content than has ever been available and communities to help level up one’s skills. The digital economy is really the opportunity economy.

This has two implications in the near term. First, there is an even greater need for software developers to meet the growing demand for digital services. Second, with the growing interest in software development as a career, it has never been easier for someone to transition into a software role. Just this past weekend, I spent time with Rails Girls Saigon and watched women with no coding experience launch a fully functioning website in a day.

What does this means for code quality if so many newbies are entering the industry? Very few developers are of the 10X Engineer variety. Most software is written by average developers. So while issues of tech debt and leaky solutions are problematic, the code functions quite fine.

With the growing level of abstractions, the level of complexity of code and knowledge required to write working code has significantly decreased. When I started, I used C primarily and even with libraries, it required writing a lot of low-level code to do basic things like memory allocation. Just getting a server running to deploy an application was a pain. Scripting languages, cloud compute, and CI/CD pipelines have swept away much of that complexity under the rug.

If it has never been easier to write, test, and deploy working code then, couldn’t a computer do the same? That is in fact what one team of AI scientists was able to demonstrate through a process called neural sketch learning:
“It’s basically studied everything on GitHub, and it draws on that to write its own code. A developer can give Bayou a very small amount of information — just a few keywords or prompts, really — and Bayou will try to read the programmer’s mind and predict the program they want.” —— Swarat Chaudhuri, Rice University
You can try Bayou out for yourself. Bayou however is not the only project. Microsoft and University of Cambridge used a similar technique to create DeepCoder which is able to craft small segments of working code. Google has a program called AutoML that writes machine-learning code more efficiently than the code written by the 1,300 people that built AutoML.

The reality of much of the code written these days is plugging things together that already exist with slight modifications. By some estimates, the majority of code in most organizations is open source. Wrapping legacy services with API’s has simplified accessing existing code for new services. Open API’s have vastly extend once complex software tasks and made them available through a single line of code. The plumbing has already been created..

So what exactly are human coders needed for then? Are we leading people into careers in software development that may not even be necessary in a decade?

No, but as in most things during a massive shift in technology, there will be a transition and new opportunities yet to be created. The first thing we need to understand is that the robots are not taking over anytime soon. They are merely accelerating the things we as humans are good at and automating the things that are slow for human minds. We cannot view and analyze thousands of API’s in seconds like AI can. We still need more humans and more creative thinking to guide AI towards problems worth solving:
“If we succeed, we think this can inspire new types of neural nets and make it possible for non-experts to create neural nets tailored to their particular needs, allowing machine learning to have a greater impact to everyone.” —— Google AutoML Team
The second thing is that technology has already automated things that used to take humans days, weeks, and months to do. When was the last time you actually installed a server? We have cloud and automation for that. This is one reason for the rise of startups in the past decade, the tedium and capital costs of getting started has gone to nearly zero:
“The potential for automation that this kind of technology offers could signify an enormous reduction in the amount of effort it takes to develop code.” —— Armando Solar-Lezama, MIT
The third point is that with greater automation comes new opportunities and industries. The idea of being a “software engineer” only emerged in the 1960’s. In the past decade, we have seen the rise of “full-stack engineers”, “data scientists”, and “cloud engineers”. People that build mobile apps was not a thing until 2008. Those apps in turn have created massive economies built to exploit the opportunities and gains in productivity brought about from software.

With any major shift in technology however, it means rethinking the skills that are needed in the next stage. We do not need more “coders” to pump out more lines of code. We need more thinkers and designers and problem solvers. The future of work for developers is turning business problems into logical flows and digital constructs that enable tangible functionality in the most efficient manner. AI is simply the forklift used by human programmers to allow us to handle ever more complex problems.

What do you see as the future of code? How is your organization leveraging technologies like AI to enable developers to be more efficient?
下载开源日报APP:https://openingsource.org/2579/
加入我们:https://openingsource.org/about/join/
关注我们:https://openingsource.org/about/love/