java恋爱代码

by Daragh Byrne

达拉·伯恩(Daragh Byrne)

陷入与代码的恋爱中:终生的爱情故事 (Falling in and out of love with code: a lifelong love story)

开端 (Beginnings)

I’ve fallen in and out of love with code a hundred times.

我沉迷于代码一百次了。

When I turned ten, I was impressed and mystified by the ZX Spectrum that my father left plugged into our family TV set on the morning of my birthday.

当我十岁时,ZX Spectrum给我留下了深刻的印象和神秘感,父亲生日那天早上父亲把它插入了我们的家庭电视机。

It was one of the earliest attempts at accessible mass-market computing, and was basic and powerful all at once. I remember the feel of the rubber keys with their printed pop and poke commands, holding the promises of a code I might one day break if I was curious enough.

它是可访问大众市场计算的最早尝试之一,并且一次又一次具有基础性和强大性。 我记得橡胶键带有印刷的pop和poke命令的感觉,它们持有一段代码的承诺,如果我足够好奇的话,有一天我可能会休息。

They’d stick to my fingers as I ran my hand across the machine, the yellow beeps from a cassette tape transformed by some voodoo magic into games on the screen.

当我将手放在机器上时,它们会粘在我的手指上,盒式录音带上的黄色蜂鸣被一些伏都教徒的魔咒转变成屏幕上的游戏。

My still unformed mind began to recognise the power of this small box as an agent of transformation, spinning a cassette (externally mounted) into yellow sounding beeps, then into games on the screen. My own nascent power to transmute a mental intention into a command into an action on the screen in turn.

我仍然不成熟的头脑开始意识到这个小盒子的力量是转化的动力,将一个盒子(外部安装)旋转成黄色的哔哔声,然后变成屏幕上的游戏。 我自己的新生力量,将精神意图转变为命令,然后转变为屏幕上的动作。

The seeds of a lifelong love affair were sown.

播下了终生爱情的种子。

My teenage years saw a flourishing of accessible home computing, the battle between the Commodore Amiga and the Atari ST being won in my heart by a TV ad promising the ST could “paint pictures, and even make them move”. I never quite figured out how to make this happen, much to my frustration. My lifelong suspicion of the motives of advertisers began then!

在我的十几岁那年,可访问的家用计算技术蓬勃发展,Commodore Amiga和Atari ST之间的战斗在我心中赢得了电视广告,该电视广告承诺ST可以“绘制图片,甚至使其移动”。 我从来没有想过如何实现这一目标,这让我非常沮丧。 从那时起,我就终生怀疑广告主的动机!

A trip to my nearest city to buy a book on how to program left me swimming in a sea of assembly language, unprepared, confused and not yet ready for real code.

到我最近的城市去买一本有关如何编程的书,使我陷入了汇编语言的海洋中,没有准备,感到困惑并且还没有准备好真正的代码。

A BASIC interpreter discovered with my group of friends turned into show-and-tells for each of our latest carefully crafted choose-your-own-adventure games, text based adventures into the castles of the minds of our fifteen year old selves. The internet wasn’t even a dream and the copies of Sensible Soccer we played to death still came on 3.5 inch floppy disks.

与我的朋友们一起发现的一位BASIC口译员,对我们每款精心制作的自选冒险游戏进行了演说,这些文字游戏是我们十五岁自我头脑中的城堡。 互联网甚至不是梦,我们玩死的《明智足球》的副本仍然放在3.5英寸的软盘上。

加深 (Deepening)

At university in Dublin studying Physics, I began to realise that people would invite me do things with computers that involved work rather than just play, and that this, indeed, might be an advantage one day. They taught us the omniscient, singled-lettered grandfather language, C.

在都柏林大学学习物理的大学里,我开始意识到人们会邀请我使用涉及工作而不是仅仅玩耍的计算机来做事,而这的确有一天会成为一种优势。 他们教给我们无所不知的单字母祖父语言C。

There was a moment of almost-meditative insight where my understanding of pointers coalesced from a state of perplexity, their dangerous power revealed, my understanding of the potential of bare metal beginning to structure itself. And the head-banging frustration of many, many fails to apply them correctly.

有一瞬间,几乎是沉思的洞察力,使我对指针的理解从困惑的状态中融合在一起,它们的危险力量得以彰显,而我对裸机的潜力的理解开始形成。 而且很多人的挫败感无法正确地应用它们。

Grokking that a pointer could refer to a function clarified what I would later recognise as Von Neumann and Turing’s synthesis of a machine that held its data and its instructions in the same mechanism — this was a point of no return.

抱怨可以指向一个函数的指针澄清了我后来认作的冯·诺依曼和图灵对机器的合成,该机器以相同的机制保存其数据和指令-这是无可奈何的。

This discovery alone was worth the price of entry. However, still believing my future would be spent in a lab somewhere, I didn’t realise that the roots of my current career were growing deeper.

仅此发现就值得入门。 但是,尽管仍然相信我的未来会花在某个地方的实验室里,但我没有意识到我当前职业的根基越来越深。

It took a visit to a number of labs to understand that a PhD in physics wasn’t actually for me.

参观了许多实验室,以了解物理学博士学位实际上并不适合我。

So I turned to code with more deliberation, taking a masters in High Performance Computing. A first job thereafter in a terribly managed small consultancy saw me rebuilding the website of a major Irish government department — and also saw my first taste of coding burnout.

因此,我转而考虑更多代码,并获得了高性能计算的硕士学位。 此后,在一家管理不善的小型咨询公司中的第一份工作使我重建了爱尔兰主要政府部门的网站,也看到了我对编码倦怠的初次体验。

Working 21 hours in a row is not good for anyone. I knew this type of work had the potential to do damage if not handled correctly. I fell out of love with code for the first time, my energy spent, my heart disappointed.

连续工作21个小时对任何人都不利。 我知道,如果处理不当,此类工作可能会造成损坏。 我第一次爱上了代码,我的精力花了,我的心失望了。

成熟 (Maturing)

I spent nearly five years working at the School of Physics at Edinburgh, helping UK scientists build applications, sprinkling magic (Java) beans around. I was educated in ways of going about Projects, working with Teams and applying Best Practices. I was also introduced to the idea that your code might not actually have any relevance in the real world — that a lot of what you write is speculative, or might be thrown out.

我在爱丁堡物理学院工作了近五年,帮助英国科学家构建应用程序,并在周围撒了魔术(Java)豆。 我受过有关开展项目,与团队合作以及应用最佳实践的教育。 还向我介绍了这样的想法,即您的代码在现实世界中可能实际上没有任何关联性-您编写的许多内容都是推测性的,或者可能被扔掉了。

The lesson I learned was to enjoy the process without attaching to the outcome too much. I still try to apply it today. I’d say 80% of what I’ve written has ended up on the scrap heap eventually. This realisation can bruise the ego and you can lose the love for a while, but this switch in mindset makes the difference.

我吸取的教训是在享受过程的同时又不会过多地关注结果。 我今天仍然尝试应用它。 我想说我写的内容的80%最终都落在了废纸heap上。 这种认识会挫伤自我,您可能会失去一会儿的爱,但是这种思维方式上的改变会有所作为。

It was around then I really started to become a Professional Software Developer. My code was my livelihood, so I felt the pressure to get it right. I had my first major episodes of Impostor Syndrome — the little “not good enough” voice that told me I was a fraud began to chatter away.

大约那时,我才真正开始成为一名专业软件开发人员。 我的代码是我的生计,所以我感到压力很大。 我的第一个主要情节是“ 冒名顶替综合症 ”( Impostor Syndrome ),那个“不够好”的声音告诉我我是个骗局,开始began不休。

A few years working in financial services around the time of the GFC taught me that code can be deployed for good or for evil. There’s an ethical dimension to code, which makes the relationship tricky sometimes. I want to do good, but not everybody who wants me to write code has the best interests of humanity involved. So I try to work with the ones who do.

在全球金融危机期间,在金融服务业工作了几年,这告诉我可以部署代码,无论是善是恶。 有一个道德方面的代码,有时会使关系变得棘手。 我想做好事,但并不是每个想要我写代码的人都对人类抱有最大的兴趣。 所以我尝试与那些做的人一起工作。

I spent much of this time doubling down on Java, lost in a world of often purposeless abstractions, wondering why attempts at elegance and clarity often broke down in thirty letter, multi-level class hierarchies. The unfulfilled promise of write once, run anywhere choked a lot of us back then.

我把大部分时间花在Java上,却迷失在一个经常没有目的的抽象世界中,想知道为什么对优雅和清晰的尝试常常会在三十个字母的多级类层次结构中分解。 一次写完的未兑现的诺言,让我们很多人感到窒息。

多元化 (Diversifying)

The last ten years of my career have seen the technology landscape completely upended. Ubiquitous mobile computing. Servers for pennies on the cloud. Unlimited storage and processing capacity. Free libraries, installed in a few keystrokes, that will do literally anything you need. Global issues with bandwidth seem like a complete failure in the face of all of this.

我职业生涯的最后十年见证了技术领域的彻底颠覆。 无所不在的移动计算。 一分钱的服务器在云上。 无限的存储和处理能力。 只需几次按键安装的免费库,实际上可以满足您的任何需求。 面对所有这些问题,带宽的全局问题似乎是一个彻底的失败。

In that time, I’ve been enraptured with C# (a beautifully designed language for a Java refugee), mystified by Wordpress and slightly warped by PHP. Not to mention watching JavaScript — JavaScript! — rule the world. All of them have their lovable quirks. All of them their rough edges. I’ve loved and hated them each a little.

在那个时候,我被C#(一种为Java难民设计的精美语言)所迷住了,它被Wordpress迷住了,而被PHP扭曲了。 更不用说观看JavaScript了-JavaScript! - 统治世界。 他们都有可爱的怪癖。 他们所有的人都有其粗糙的边缘。 我有点爱又恨他们。

I’ve been stunned by the growth of startups I’ve worked for. I’ve moved from full time worker, to being so burned out I needed to work as little as possible with technology, to contractor, to full time once more, to starting my own thing.

我为曾经工作过的初创公司的成长而震惊。 我已经从全职工作人员转变为精疲力尽,我需要尽可能少地使用技术,再到承包商,再到全职工作,开始自己的事。

爱心 (Loving)

Some years I’ve loved that code has been my life for this long — other than breathing, walking, reading and eating, there has nothing I’ve been doing longer.

几年来,我一直爱代码一直是我的生命–除了呼吸,散步,阅读和饮食外,我再也没有做任何事情了。

Other years, I’ve wanted to run, to escape, to cut all ties and start again. But I keep coming back. The power to take an idea, write some lines in an editor and just run it, watching it take life as you type, remains enduringly addictive. So every time I fall out of love with code, I know it’s just a matter of time before I fall back in love again.

其他年份,我想逃避一切关系,重新开始。 但是我一直回来。 发挥创意,在编辑器中写几行并运行它,看着它随着您打字而生机勃勃的能力仍然持久地令人上瘾。 因此,每次我不喜欢代码时,我就知道再次回到爱中只是时间问题。

It’ll likely be the same for you.

对您来说可能是一样的。

If you visit my site, and sign up for my list, I’ll send you three things completely free:

如果您访问我的网站并注册列表,我将免费为您发送三件事:

  1. The Ultimate Guide to Meditation for Programmers

    程序员冥想终极指南

  2. The Coding Burnout Checklist

    编码倦怠清单

  3. Three guided audio meditations三种语音导览冥想

This article first appeared on www.codingmindfully.com.

这篇文章首先出现在www.codingmindfully.com上 。

翻译自: https://www.freecodecamp.org/news/falling-in-and-out-of-love-with-code-2ae1f2eaa37/

java恋爱代码

java恋爱代码_陷入与代码的恋爱中:终生的爱情故事相关推荐

  1. 调试代码遗留_陷入遗留代码地狱吗? 这里有一些想法可以帮助您处理情况

    调试代码遗留 by Felipe Lopes 通过Felipe Lopes 陷入遗留代码地狱吗? 这里有一些想法可以帮助您处理情况 (Stuck in legacy code hell? Here a ...

  2. 同步代码和异步代码_告别异步代码

    同步代码和异步代码 Quasar是一个将真正的轻量级线程(纤维)添加到JVM的库. 它们非常便宜且非常快-实际上,光纤的行为就像Erlang进程或Go goroutines-并允许您编写简单的阻塞代码 ...

  3. 读代码读的什么代码_您的代码应读得像书

    读代码读的什么代码 There's a pandemic among programmers. Long functions, broad and nondescriptive names for f ...

  4. 回滚master代码_[转]Git 代码撤销、回滚到任意版本(当误提代码到本地或master分支时)...

    两种情况(场景) 情况一 代码还只在本地,未push到运程仓库,想把代码还原到上一次commit的代码,此时操作为代码撤销 解决方案: 情况二 代码已经push到运程仓库,想把代码还原到上一次提交,此 ...

  5. 收藏本站html,加入收藏代码_加入收藏代码 -收藏本站的代码

    摘要 腾兴网为您分享:加入收藏代码 -收藏本站的代码,追书神器,智慧医疗,云端学习,央视影音等软件知识,以及workflow,电脑管家2017,自动考勤表,双录系统,国泰君安富易,佳缘佳信,谷歌浏览器 ...

  6. c++hello world代码_在 Rust 代码中编写 Python 是种怎样的体验?

    作者 | Mara Bos,Rust资深工程师译者 | Arvin 责编 | 屠敏头图 | CSDN 下载自东方 IC出品 | CSDN(ID:CSDNnews) 以下为译文: 大约一年前,我发布了一 ...

  7. python灰色模型代码_几行代码搞定ML模型,低代码机器学习Python库正式开源

    机器之心报道 机器之心编辑部 PyCaret 库支持在「低代码」环境中训练和部署有监督以及无监督的机器学习模型,提升机器学习实验的效率. 想提高机器学习实验的效率,把更多精力放在解决业务问题而不是写代 ...

  8. 什么方式可以通过影子系统传播恶意代码_将恶意代码隐藏在图像中:揭秘恶意软件使用的隐写术...

    概述 本周,许多Facebook用户都会发现,一些用户发布图片上出现了原本应该隐藏的图像标签.由此可以证明,图像可以携带大量表面上不可见的数据.实际上,Facebook和Instagram所使用的图片 ...

  9. python低代码_几行代码搞定ML模型,低代码机器学习Python库正式开源

    PyCaret 库支持在「低代码」环境中训练和部署有监督以及无监督的机器学习模型,提升机器学习实验的效率. 想提高机器学习实验的效率,把更多精力放在解决业务问题而不是写代码上?低代码平台或许是个不错的 ...

最新文章

  1. linux查找文件命令find
  2. linux的yum update命令
  3. pytorch学习笔记 torchnn.ModuleList
  4. sphinx在window下和linux下加入开机自启动
  5. 精简JRE第二步 ─ 精简lib目录
  6. 【ArcGIS风暴】ArcGIS点云抽稀(稀疏化LAS点)详解案例教程
  7. m_pMainWnd = dlg错误解决方法
  8. python元组及文件
  9. EXT.NET GridPanel默认选中多行
  10. 做可穿戴医疗,你的对手是“天性”
  11. 使用FusionChartsFree整合项目
  12. 说说关于访问控制模型
  13. java map failed_java.lang.OutOfMemoryError:Map failed总结
  14. WORD 公式编辑工具
  15. 找工作是去智联招聘、前程无忧、58同城还是boss直聘?
  16. TwoPhaseCommitSinkFunction二阶段提交
  17. sql server 找到刚刚插入的indentify的数字
  18. Hitting Set 碰撞集问题
  19. win10给扩展屏设置单独的壁纸(win10自带这个功能)
  20. Prometheus监控神技--自动发现配置

热门文章

  1. 第八届蓝桥杯国赛Java b组 第五题
  2. Windows下管理Linux格式硬盘
  3. 【未有之有】洛森修炼体系整理
  4. Vue3下PostCSS Loader has been initialized using an options that does not match the API schema的问题解决
  5. Python 采用 飞信 发短信
  6. ubuntu16.04网易云音乐安装教程
  7. AI空前火爆,“智能时代”真的到来了吗?
  8. FreeBuds Pro 2开了空间音频效果不明显、卡顿、头部跟踪不灵敏或有延迟、音质差是怎么回事?
  9. 两车追及或相遇问题(hdu1275)数学题
  10. 张高兴的 Xamarin.Android 学习笔记:(四)常用控件