用于查看编程代码的软件

I had a problem. Before I tell you about this problem, be warned — you will get emotional if you keep reading. Your heart will break for me. There will be weeping, so much weeping. You will be tempted to start a GoFundMe page to help ease my burden.

我有一个问题。 在我告诉您这个问题之前,请注意-如果继续阅读,您会感到情绪激动。 你的心会为我伤心。 会有哭泣,有很多哭泣。 您将很想启动GoFundMe页面来帮助减轻我的负担。

OK, here it is. Ready? Grab a tissue.

好,到了 准备? 拿一张纸巾。

I have so many sneakers that I can’t remember all the pairs I own. Tragic, but true. The Red Cross has already declared this an international emergency.

我有太多运动鞋,以至于我不记得自己拥有的所有运动鞋。 悲剧的,但事实如此。 红十字会已经宣布这是国际紧急情况。

Alright, alright — this is not a real problem. Well, maybe it’s the first-worldliest of first-world problems. Anyway, I’m not here to justify my obsession with retro sneakers (nostalgia, basketball fanatic, extra-feet syndrome). I’m here to explain why I created a web application to address this hyper-specific, undoubtedly trivial, quasi-problem-like situation that affects nobody but me.

好吧,好吧-这不是一个真正的问题。 好吧,这也许是第一世界的第一世界的问题。 无论如何,我不是来证明我对复古运动鞋的痴迷(怀旧,篮球狂热,脚底综合症)。 我在这里解释为什么我创建了一个Web应用程序来解决这种超特定的,毫无疑问的,类似准问题的情况,这种情况只影响我一个人。

I began to learn JavaScript over a year ago as a hobby. I enjoy reading programming books, doing tutorials, and watching coding videos. Most of all, however, I like building things.

一年多以前,我开始学习JavaScript 。 我喜欢阅读编程书籍,教程和观看编码视频。 最重要的是,我喜欢建造东西。

I have one rule for every software project I start. The end result must be something I will actually use.

对于我启动的每个软件项目,我都有一条规则。 最终结果必须是我将实际使用的东西。

Like anyone else, I sometimes need motivation to keep plugging away at a task when it becomes frustrating. Why am I sitting here debugging this code, in my free time, when I could be doing something far easier, like watching TV or drooling over Air Maxes on Instagram?

像其他任何人一样,有时我需要动力来阻止任务变得令人沮丧。 为什么我可以在空闲时间坐在这里调试此代码,而我可以做些轻松得多的事情,例如看电视或在Instagram上用Air Maxes流口水?

Sure, I’ve been tempted to quit on a personal software project. There would be no consequences. Nobody would care. Yet I never have. I’ve finished every project I’ve started (all three!) because I know that, eventually, after much head-scratching and Googling and sotto voce cursing, each app I create will be useful — to at least one person. And that person is … Barbra Streisand. Sorry, typo. And that person is … me.

当然,我很想退出个人软件项目。 不会有任何后果。 没有人会在乎。 但是我从来没有。 我已经完成了所有已开始的项目(全部三个!),因为我知道,最终,经过反复的头部抓地,谷歌搜索和自嘲的诅咒之后,我创建的每个应用程序都将至少对一个人有用。 那个人是……Barbra Streisand。 对不起,错字。 那个人是……我。

Which brings us back to shoes. Some sneaker collectors stock but don’t rock. Not me. I’m the type of sneakerhead who wears all his shoes. On occasion, though, I’ve opened a long-sitting box to find myself looking at a pair of kicks that I not only hadn’t worn but had escaped my memory altogether.

这使我们回到了鞋子。 一些运动鞋收藏家存货,但不要动摇。 不是我。 我就是那种穿所有鞋子的运动鞋类型。 不过,有时候,我打开了一个长坐的盒子,发现自己看着一双脚蹬,我不仅没有穿过,而且完全摆脱了我的记忆。

Seeing those poor sneakers just sitting there — neglected, unworn, unloved — caused me much anguish. Surely, no man has suffered such insufferable suffering.

看到那些可怜的运动鞋正坐在那里-被忽视,破旧,不受欢迎-使我非常痛苦。 当然,没有人遭受过如此难以忍受的痛苦。

But save your sympathy, dear reader, and dry those eyes. For I have righted this horrible wrong, using nothing more than JavaScript and my wee, tiny brain. And Node. And Angular. And MongoDB. And Heroku. Stack Overflow also helped. And Git. And YouTube. Plus this computer-connecting thingy called “enterknit” or something.

但是,请保存您的同情心,亲爱的读者,并擦干那些眼睛。 因为我纠正了这个可怕的错误,只使用了JavaScript和我那微不足道的小脑袋。 和节点。 和角。 还有MongoDB。 还有Heroku。 堆栈溢出也有所帮助。 和Git。 还有YouTube。 加上这种与计算机连接的东西,称为“ enterknit”或其他东西。

I created a very simple web application I called Collection Tracker (click here to try a demo). It allows me to enter my sneaker collection into a database and browse a grid of images. Each morning, I open the application in Chrome (on my phone), I pick the pair I want to wear (on my feet), I press the “wear today” button (with my finger), and that day’s date is added to the database entry for those shoes (by digital magic).

我创建了一个非常简单的Web应用程序,称为Collection Tracker( 单击此处尝试演示 )。 它使我可以将运动鞋系列输入数据库,并浏览图像网格。 每天早晨,我用手机打开Chrome中的应用程序,然后选择要穿的(脚上),然后用手指按下“今天穿”按钮,然后将当天的日期添加到这些鞋子的数据库条目(通过数字魔术)。

The picture of that pair then drops to the last position of the last page of images. So when I open Collection Tracker, I first see pictures of the sneakers that have been sitting on my shelf the longest. No more neglected Nikes. No more abandoned ASICS. No more shunned Skechers. (Haha — Skechers. As if. Friends don’t let friends wear Skechers.)

然后,该对图像下降到图像最后一页的最后位置。 因此,当我打开Collection Tracker时,我首先会看到在我的书架上坐得最长的运动鞋的图片。 不再被忽视的耐克。 不再有废弃的ASICS。 不再回避Skechers。 (哈哈-斯凯奇。好像。朋友不要让朋友穿斯凯奇。)

Could I have just downloaded an existing app to my phone to organize my sneaker collection? Yes, of course. But you know what? Using this app is much more fun for me because I made it. It’s silly, but I really do look forward to pressing that “wear today” button every morning. Because I know it will call a function in my program, and that function will generate an HTTP request to Node, and Node will tell MongoDB to update my database, and that day’s date will be pushed into an array somewhere out there in the cloud.

我可以将现有的应用程序下载到手机上来组织我的运动鞋系列吗? 当然是。 但是你知道吗? 对我来说,使用这个应用程序对我来说非常有趣,因为我做到了。 这很傻,但是我真的很期待每天早上按下“今天穿”按钮。 因为我知道它将在程序中调用一个函数,并且该函数将向Node生成HTTP请求,Node会告诉MongoDB更新我的数据库,因此那天的日期将被推送到云中某个地方的数组中。

There is something so rewarding about using the software you created from scratch. It’s not just text on GitHub. It’s not just part of a portfolio. It’s part of your life.

从头开始使用您创建的软件有很多收获。 这不仅仅是GitHub上的文本。 这不仅仅是投资组合的一部分。 这是你生活的一部分。

I also still use the first web application I made, called First and Last, which I described in a previous post for freeCodeCamp. It allows users to enter the first and last sentences of books into a database. I intended it to be a learning resource for other writers who, like me, enjoy improving their craft by studying the work of great authors. For months after I deployed it, though, I was the only person using this app, as you can see from the GIF below.

我还仍然使用我制作的第一个Web应用程序,称为First和Last ,我在上一篇关于freeCodeCamp的文章中对此进行了描述 。 它允许用户将书籍的第一句和最后一句输入数据库。 我希望将其作为其他作家的学习资源,他们像我一样喜欢通过研究杰出作家的作品来提高自己的手艺。 但是,在部署该应用程序几个月后,我是唯一使用此应用程序的人,如下面的GIF所示。

Sure, it would be great if other people were interested in my project, but, again, I was fine with being the only user. Just as I enjoy using my sneaker-tracking app, I look forward to finishing a book so I can enter its first and last sentences into my database. Then I click back to the homepage and watch the number indicating the collection size increase by one. They say you should enjoy the little things in life, and this is indeed a little, but enjoyable, thing.

当然,如果其他人对我的项目感兴趣,那就太好了,但是再次,我是唯一的用户。 就像我喜欢使用运动鞋跟踪应用程序一样,我也希望能完成一本书,以便将其第一句话和最后一句话输入到数据库中。 然后,我单击返回首页,并看到表示收藏数量增加一的数字。 他们说您应该享受生活中的小事,这确实是一件小事,但很有趣。

Then, one day, I noticed something when I visited First and Last. Someone had entered a pair of sentences — and that someone wasn’t me! In fact, that someone was … Barbra Streisand. Again, I apologize. The Barbra Streisand key on my keyboard appears to be stuck. Let’s try that again.

然后,有一天,当我访问“第一和最后”时发现了一些东西。 有人输入了两句话-有人不是我! 实际上,那个人是……Barbra Streisand。 再次致歉。 键盘上的Barbra Streisand键似乎卡住了。 让我们再试一次。

In fact, that someone was … another human being (I presume). Since then, about 100 people have registered and logged into my app, and some have made contributions, which I really appreciate. Turns out that when you build something for yourself, it’s possible that other people will stumble upon it and use it as well.

实际上,那个人是……另一个人(我想)。 从那时起,大约有100个人注册并登录了我的应用程序,其中一些人做出了贡献,我非常感谢。 事实证明,当您为自己构建产品时,其他人可能会偶然发现并使用它。

One of the most fun parts of learning programming, if not the most fun part, is creating new things that actually do something. First, you had a blank screen on a text editor. Then you wrote some code. Then you had software — it may not be elegant or sophisticated or efficient, but it works. It performs the tasks you wanted it to perform. Maybe you’ll end up being the only person who ever uses that software. So what.

学习编程中最有趣的部分之一(如果不是最有趣的部分)是创建实际上可以做某事的新事物。 首先,您在文本编辑器上有一个空白屏幕。 然后,您编写了一些代码。 然后,您有了软件-它可能不是优雅,复杂或高效的,但可以运行。 它执行您想要执行的任务。 也许您最终将成为使用该软件的唯一人。 所以呢。

If it’s useful to you, it’s useful.

如果对您有用,那么它很有用。

You may not have saved the world, or made any money, or attracted many users, but you made something from nothing. You learned a lot and created a tool that makes your life a little more convenient, or a little more fun. You added something of value to the universe — limited value, perhaps, but value nonetheless. The only code guaranteed to be useless is the code you don’t write.

您可能没有拯救世界,没有赚钱,也没有吸引许多用户,但是您却一无所获。 您学到了很多东西,并创建了一个工具,可以使您的生活更加方便或有趣。 您为宇宙添加了一些有价值的东西-也许有限的价值,但是仍然有价值。 唯一保证没有用的代码就是您不编写的代码。

翻译自: https://www.freecodecamp.org/news/when-you-create-software-to-learn-programming-your-most-important-user-is-you-c2e57cd5a75f/

用于查看编程代码的软件

用于查看编程代码的软件_当您创建用于学习编程的软件时,最重要的用户是您相关推荐

  1. 苹果手机上运行python_Python新手入门教程_在手机上就能学习编程的软件

    Python新手入门教程_在手机上就能学习编程的软件 很多小伙伴会问:我在学编程,想利用坐地铁坐公交吃饭间隙学编程,在手机上能学编程的软件有哪些?毕竟时间宝贵啊!!哈哈哈!!! 这个问题,在悟空回答的 ...

  2. python 手机编程termux_Python新手入门教程_在手机上就能学习编程的软件

    Python新手入门教程_在手机上就能学习编程的软件 很多小伙伴会问:我在学编程,想利用坐地铁坐公交吃饭间隙学编程,在手机上能学编程的软件有哪些?毕竟时间宝贵啊!!哈哈哈!!! 这个问题,在悟空回答的 ...

  3. python手机开发的软件_Python新手入门教程_在手机上就能学习编程的软件

    Python新手入门教程_在手机上就能学习编程的软件 很多小伙伴会问:我在学编程,想利用坐地铁坐公交吃饭间隙学编程,在手机上能学编程的软件有哪些?毕竟时间宝贵啊!!哈哈哈!!! 这个问题,在悟空回答的 ...

  4. 手机学python语言用什么软件好_如何在手机上面学习编程?有哪些软件推荐的?...

    这里简单介绍几个在手机上练习编程的软件,包括c.java.python和html这4种语言,主要内容如下:c语言:这里可以使用"C语言编译器"这个软件,无需root,就可以进行c代 ...

  5. c# 虚拟机加密软件_在C#中构建一个虚拟软件电话,该软件电话可以在您的呼叫中心中作为振铃组...

    c# 虚拟机加密软件 本文重点介绍C#中环组的开发. 任何呼叫中心的有效性不仅取决于运营商的行为,还取决于呼叫中心的技术背景. 学习完本指南后,您将能够创建振铃组分机(即"虚拟软件电话&qu ...

  6. 仿苹果涂鸦软件_有没有仿ios12备忘录便签软件?

    ios是美国苹果公司旗下的一个操作系统,可以用于苹果iPhone手机或苹果iPad平板电脑上,不同的设备所支持的ios系统版本也不一样,其中ios12就是一个比较受欢迎的版本. 很多苹果手机或平板电脑 ...

  7. beyond compare类似软件_你用过最好用的截图软件是哪一款

    写在前面 提及截图软件,大家使用最多的可能是QQ截图或者是微信截图.这两款截图软件确实是非常便捷,而且功能也是越来越完善. 虽然功能越来越强大,但是这两款截图软件在某种程度上还是满足不了我的全部需求, ...

  8. 编辑视频贴纸软件_微剪辑 - 视频编辑神器/专业剪辑软件 贴纸/字幕/音乐

    微剪辑 - 视频编辑神器/专业剪辑软件 贴纸/字幕/音乐 介绍 微剪辑 - 视频编辑神器/专业剪辑软件 贴纸/字幕/音乐 微剪辑是最好的视频剪辑软件,操作简单,让您随心所欲成为自己生活的导演!一个视频 ...

  9. 删除下拉框只找23火星软件_下拉框推广找23火星软件

    会员注册发帖 详情请咨询微信:yu442340141 " 如何做网站推广?网站如何做推广?相信很多中小企业都感叹过,那么多推广方法,免费的,收费的,哪一种推广方法比较适合,比较实用,还真不好 ...

最新文章

  1. 编译器错误信息: CS0016
  2. 【青少年编程】【一级】舞者凯希
  3. numpy.random.randn()
  4. 如何定义和搭建可靠人工智能系统的规则?
  5. LuaLuaMemorySnapshotDump-master
  6. python opencv按照一定间隔保存视频帧
  7. 【Android 逆向】Linux 文件分类 ( 普通文件 | 目录文件 | 链接文件 | 字符设备文件 | 管道文件 | 块设备文件 )
  8. MyBatis中的selectKey
  9. python通讯录管理程序的用户可行性_通讯录管理系统项目可行性分析
  10. kafka中的groupid
  11. 【教程】nrf51822实例代码解析及修改实例
  12. php io流 读取wav,记php中的io流---帮助理解
  13. Android网络课程笔记-----本地音乐播放
  14. 4.4.2 数值处理
  15. python求1到n的乘积_Python如何计算列表中所有数字的乘积?(代码示例)
  16. 面试率 90% 的JS事件循环Event Loop,看这篇就够了!! !
  17. 微信最近的一些新改动
  18. 开源框架ZedGraph的使用
  19. Python 数据挖掘(一) 模块安装部署 numpy等
  20. 关于gite代码提交不显示绿格子的处理心得git

热门文章

  1. 父子继承与方法的重写 java 114818255
  2. 常见的运行时异常 java 1615309080
  3. 类图的使用 c# 1613918428
  4. 根据注释生成项目文档
  5. 爬虫-例子-飞机图片的提取-抓取一个文章中的全部图片
  6. python-函数的返回值
  7. laravel-admin grid中使用的switch必须form中同时具有switch才能生效的解决方案
  8. SoapUI测试webservice
  9. 这些深度学习术语,你了解多少?(上)
  10. [转】TCP 三次握手 四次挥手