開源日報 每天推薦一個 GitHub 優質開源項目和一篇精選英文科技或編程文章原文,堅持閱讀《開源日報》,保持每日學習的好習慣。
今日推薦開源項目:《嗯…… is-idiot》
今日推薦英文原文:《Overcoming Developer Fatigue》

今日推薦開源項目:《嗯…… 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/