op 圣诞节活动_在圣诞节前的夜晚–一个编码者的梦想

op 圣诞节活动

by Brad Harr

布拉德·哈尔(Brad Harr)

在圣诞节前的夜晚–一个编码者的梦想 (Twas the Night Before Christmas — A Coder’s Dream)

Twas the night before Christmas, in a Developer’s placeI had just finished writing, a brand new code baseWith VSCode humming I then pulled up Git,Then I hit up Github with my final commit;

圣诞节前一天晚上,在一个开发人员的地方,我刚写完一个崭新的代码库。随着VSCode的嗡嗡声,我提起了Git,然后我完成了最后的提交,就举起了Github。

With eyes that were heavy and circles so deep,I thought to myself, I must have some sleepWith Hactoberfest stickers all over the back,I closed my laptop, and grabbed a quick snack;

我沉重的眼睛和深深的黑眼圈,我对自己说,我必须睡一会儿,后面贴着啤酒节贴,我关上笔记本电脑,然后吃点快餐。

With my head on my pillow, hoping for sleep,Envisioning my code and rewards I would reapBut my eyes would not shut, I had a slight jitter,Too much caffeine so I thought I’d check Twitter;

我的头靠在枕头上,希望睡觉,可以设想自己的代码和奖励,但是我的眼睛无法睁开,我有轻微的抖动,咖啡因过多,所以我以为我要检查Twitter;

When what to my wondering eyes should appear,but tweet after tweet, saying my code was inferior,The recursion is wrong and the code base is sloppy,No one will use it, it’s not worth a copy;

当我惊异的眼睛出现时,却又鸣叫,说我的代码很差,递归是错误的,代码库很草率,没有人会使用它,不值得复制;

I thought to myself, I have to debug,So I jumped out of bed, but slipped on the rug,Out cold on my floor, but not for too long,A few moments later, I woke to a song;

我心想,我得调试一下,于是我跳下床,但滑倒在地毯上,地板冷了,但时间不长,过了一会儿,我醒了一首歌。

As my eyes regained focus, but what did I see,Good ol’ St. Nick, coming down my chimney,With a rip on his coat, it was in a slight tatter,He looked down at me and asked what was the matter

当我的眼睛重新聚焦时,但我看到的是什么,好吧,圣尼克,从烟囱上下来,他的外套撕裂,有点破破烂烂的,他低头看着我,问怎么回事

My code was all wrong, I just don’t have the knackHe just laughed a deep laugh as he put down his sack,Don’t be confused, I may look like a Gramps,But over the years, I attended code camps;

我的代码是完全错误的,我只是没有技巧。他放下麻袋时只是笑了一个很深的笑声,不要困惑,我看起来像是Gramps。但是这些年来,我参加了代码训练营;

He opened my laptop, and first installed NodeWho knew that old Santa had learned how to code,His fingers were flying, his typing was quick,How will I ever, repay ol’ St. Nick

他打开我的笔记本电脑,首先安装了NodeWho,他知道老圣诞老人已经学会了编码,他的手指在飞,打字很快,我将如何偿还圣尼克

When he was finished, my code was brand new,He said I should practice, mistakes were not few,As he left, I was thinking, I know that he’s right,So I pulled up a browser and freeCodeCamp’s site

当他完成后,我的代码是全新的,他说我应该练习,错误不少,当他离开时,我在想,我知道他是对的,所以我打开了一个浏览器并访问了FreeCodeCamp的站点

Though I was tired, and incredibly wearyI was soon certified in Front End Libraries,I looked out the window, and saw a faint lightMerry Christmas to all, I just coded all night!

尽管我很累,而且非常疲倦,但我很快就获得了前端库的认证,但我看着窗外,看到微弱的灯光,祝大家圣诞快乐,我整夜都在编码!

by Brad Harr | Twitter: @bradsharr

作者: Brad Harr | 推特:@bradsharr

翻译自: https://www.freecodecamp.org/news/twas-the-night-before-christmas-a-coders-dream-b0fc0c6d23b/

op 圣诞节活动

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值