开源日报 每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,坚持阅读《开源日报》,保持每日学习的好习惯。
今日推荐开源项目:《嗯…… is-idiot》
今日推荐英文原文:《Overcoming Developer Fatigue》
开源日报第607期:《嗯…… is-idiot》
今日推荐开源项目:《嗯…… is-idiot》传送门:GitHub链接
推荐理由:有的时候我们可以不为了运行而写一段代码,就像你写的小学作文作业一样,它们是给人看的而不是拿来理解的。需要通过代码表达如同一篇文章一样的意思,兴许这个时候你需要摆弄一些新的函数了,你要让它们表达你的意思而且函数名要十分易读。这个项目是一个很没有什么用的玩具,可以用来检测某人是不是个 idiot——我敢保证这个在实际上没什么用(除非你想给你的朋友开个玩笑),不过如果你需要把代码写成一篇文章的话,像这样自己写些函数就能派上用场。
今日推荐英文原文:《Overcoming Developer Fatigue》作者:Ryan Nehring
原文链接:https://medium.com/better-programming/overcoming-developer-fatigue-5ed91769c81c
推荐理由:找出解决问题的方法,或者是找回行动的动力

Overcoming Developer Fatigue

How to rediscover that magic you felt when you first started

For many of us, the line between designer and programmer is pretty blurry. We’re either one-person-shops or work in teams where we have to wear many hats. When I hear the term “developer” applied to a person, I assume they’re doing a little bit of everything to get a project off the ground, and I commend them.

It would seem at first glance that wearing many hats would help reduce the potential for boredom, but I find just the opposite to be true. Counter-intuitively, the overload of information and choices can lead to serious developer fatigue.

Developer fatigue can manifest in myriad ways. Sometimes it’s the feeling you get when you’re sitting at your keyboard, staring at your latest project and feeling uninspired or out of ideas. Other times, it’s the inability to get started on a new project because it feels like you’re just doing the same things over and over. Even more debilitating, developer fatigue can make you feel like you don’t have any good ideas left, or that you’ll never be as good as other developers out there.

All of these thoughts can feel incredibly real and powerful in the moment, and can severely hamper your effectiveness and output. Overcoming them is not as easy as just putting your “nose to the grindstone” and working through it, however. I, and every other developer you know, have been there. Let’s examine some tried-and-true methods to overcome developer fatigue.

Revisit Your Old Projects

This always step one for me. When you’re feeling particularly exhausted or uninspired, it’s important to take a moment and remind yourself of the incredible stuff you’ve already built.

Revisiting old projects will give you a new sense of appreciation for the clever solutions you’ve come up with for difficult problems in the past. It can re-introduce you to really excellent design and UI/UX solutions you’ve built and should be proud of!

If you’ve been doing this work long enough to suffer from developer fatigue, then you’ve been good at it long enough to have a catalog of self-inspiration you may well have forgotten about, just waiting for you to rediscover.

Explore New Languages

Remember the first time you ever made a computer say “Hello World”? That’s an awesome feeling. It’s a cusp moment where you first begin to grasp the power of what code is capable of. It’s inspiring!

I write most of my code day today in JavaScript, and some days I’m about one addEventListener away from wanting to throw my laptop at the wall. When that happens, I go and play with Python. I’m not a Python developer at all, but seeing how other languages accomplish similar tasks or seeing what new tasks can be accomplished by a different language can be a shot of adrenaline to the brain of a programmer.

Most of the time, it amounts to nothing more than a moment of inspiration. Sometimes, however, it can open the door to a whole new development paradigm or approach. Understanding how other languages work will always be a net-positive result for any developer, even if you never use those languages for anything more than dabbling.

Read Developer/Programmer/Design Blogs

Sometimes, you already know the best way to do something. More often, there are new and better ways of accomplishing a task out there just waiting to be discovered.

I believe developers thrive on discovery. Our jobs are to build solutions for people’s problems, and in doing so we inherently have to discover the full nature of the problem and the many ways one could go about solving it, before ultimately choosing one solution and building it.

There are thousands of other developers, programmers, and designers out there writing every day about how they solved something. Take some time and read about their process and see what parts of it you could incorporate into your own.

Not only will this make you a better developer, but it’ll also help you reignite that fire of discovery and potential that got most of us into this profession in the first place.

Try Peer Programming

Peer programming is something I’ve found myself recommending to developers more and more often lately. Working with another developer on a project can open the door to entirely new ways of thinking.

Exposing yourself to someone else’s expertise can teach you so much, so quickly, that it’d be difficult to overstate how valuable it can be. Quite likely they will have completely new approaches to problems you’ve solved the same way for years. You may find their approach to be better, in which case you learn from it, or inferior, in which case it’s a validation of the quality of work you do.

Peer programming also opens up the opportunity for you to act as a teacher to someone less skilled than you, which can be an immensely rewarding experience. Watching them get excited about the things you’re showing them will inevitably lead to the reemergence of your own excitement about your talents. Excitement is contagious!

Conclusion

There’s no perfect answer for overcoming developer fatigue. It’s important to remember that it’s a temporary state. It can feel all-consuming and debilitating, but it’s a bump in the road, not the road itself.

Spending some time remembering all the reasons you became a developer, sharing your experiences, and exploring new methodologies are all great ways to shake off that fatigue.

Developers are builders. That’s an incredible thing. There are so many incredible reasons to get excited about what we do, but the truth of the human condition is that inevitably you will feel yourself getting bored with it. That doesn’t mean you’re a bad developer, or that you’ll always feel that way; it just means it’s time to rediscover that magic you felt when you first started. You can overcome it, you will overcome it, and you’ll go on to build even more incredible things!
下载开源日报APP:https://openingsource.org/2579/
加入我们:https://openingsource.org/about/join/
关注我们:https://openingsource.org/about/love/