首页 » 技术分享 » 078 史上最完美的代码

078 史上最完美的代码

 

No Code

No code is the best way to write secure and reliable applications. Write nothing; deploy nowhere.

Getting Started

Start by not writing any code.


This is just an example application, but imagine it doing anything you want. Adding new features is easy too:


The possibilities are endless.

Building the Application

Now that you have not done anything it's time to build your application:


Yep. That's it. You should see the following output:


Deploying

While you still have not done anything it's time to deploy your application. By running the following command you can deploy your application absolutely nowhere.


It's that simple. And when it comes time to scale the application, all you have to do is:


I know right?

Contributing

You don't.

翻译如下:

没有代码

没有代码是编写安全可靠应用程序的最佳方式。什么都不写; 无处不在。

入门

首先不写任何代码。


这只是一个示例应用程序,但想象它可以做你想做的任何事情。添加新功能也很简单:


可能性是无止境。

构建应用程序

现在你已经没有做任何事情了,现在可以构建你的应用程序了:


是的。而已。您应该看到以下输出:


部署

尽管您还没有做任何事情,但现在可以部署您的应用程序了。通过运行以下命令,您可以绝对不会部署您的应用程序。


就这么简单。当需要扩展应用程序时,你所要做的就是:


我知道,对吧?

特约

你没有。

转载自原文链接, 如需删除请联系管理员。

原文链接:078 史上最完美的代码,转载请注明来源!

0