Akuaro

categories

5 Ways To Love Your Code Forever

Nick Floyd

Nick Floyd

by Nick Floyd

Date.

April 27, 2017

Categories

Technology

Words of affirmation = Use criticism for inspiration

Compilers and interpreters seem to love telling us that things don’t work. This “feedback” can be extremely persuasive when it comes to squashing innovation. But it can also create a canvas for us to craft a new solution. Instead of getting discouraged when we start throwing errors the way black belts in Judo toss their sparring partners, take the opportunity to remake it into something great. Maybe that means making your intentions clearer in the code, or reworking your approach to a hard problem, but it’s a chance to make things better.

Here’s a tip: I have found that I often have to do the most “explaining” when my own thinking is flawed. Ideally, our code should be able to tell its own story without us having to explain it. Challenge yourself by writing code that you could almost read as if it were telling a story.

Quality time = Spend the time to properly curate your code

Time is often considered our most valuable commodity. New Relic founder and CEO Lew Cirne likes to say “life is too short for bad software.” So how do we make the most of our programming time? The short answer is to passionately pursue our software and choose to make it better. More specifically, instead of chasing the latest edgy tech, challenge yourself to spend time on automating pain points or reworking a nagging bit of code. Refactoring, measuring, and monitoring your applications is how you create quality time for your users.

“Life is too shor for bad software” Lew Cirne

 

Receiving gifts = Deliver your code early, and don’t stop giving new features and performance

My pile of GitHub rubble is full of projects that I didn’t get in front of users early enough—many remain unfinished doing no one any good. I’m not alone: Some of the most grandiose fumbles in software came from too much pointless fine tuning before getting some real-world feedback. The ironically named Duke Nukem Forever, for example, endured years of constant tinkering and was left unfinished until another studio picked it up.

Instead, focus on delivering a Minimum Viable Product (MVP) to your users as soon as you can. Done right with the proper expectations, an MVP can delight users and get you the feedback you need to address issues before they hit production. But don’t stop there: Things like supportability, performance, and reliability can all be seen as gifts to your users as well.

Acts of service = Contribute to open source

Service to others is rarely measured by time spent or the effort invested; rather it’s measured by the impact you had. One of the best ways for software developers to have an impact is by contributing to open source software projects. You can give a little or a lot and still make an impact. Best of all, the impact can extend far past the project you’re working on. Open source ideals, behaviors, and approaches will inevitably leak into your own software and eventually benefit users as well.

Committing to open source helps keep you in the “getting to know you” mindset of the exciting, early part of a relationship. Most of us who contribute to open source make a consistent effort to ensure we have plenty of test coverage, that we fully understand the impact of our changes, that our contributions are clearly communicated and documented, and that the software performs well afterward. We do this out of respect for the people collectively trying to make something great. We should learn to do the same for our own software.

Getting started with open source is just a click or two away. It helps to begin by finding something you are really interested in. I was recently introduced to an open source project called Code Combat that teaches people how to write code using a really cool approach to reduce barriers to entry.

Physical interaction = Go back and touch your code regularly

When was the last time you grepped your code for “todo”, “bug” and “needs to be refactored?” Just like a loved one, your software needs your regular touch, too.

Our applications are not static because the people who use them are ever changing. If you have an old cron job running for years, odds are that when it eventually breaks (and it will) no one will know how to fix it, even if they read the support documentation that was originally written on a papyrus scroll.

The old adage “we’ll get back to this later” usually turns out to mean you’ll never look at it again. To maintain your relationship with your code, make an active choice to rework, update, or add to the things you need to change. You’re wasting mental capital on it anyway, why not use that energy to actually fix it?

Love and coding may not share a lot of similarities, but in both areas taking the time to pay careful attention can go a long way toward creating success.

LEGAL NOTICE

Social object

AKUARO WORK, SL, has as activity the provision of personnel placement services (CNA 7830) And the provision of study and analysis of processes for mechanical processing, programming for electronic equipment, data recording media for computer input as well as the sale of programs, data processing for third parties and other independent data processing services and tabulation (CNAE 6201).

identification

In compliance with the reporting obligations contained in Article 10 of Law 34/2002, of July 11, Services Information Society and Electronic Commerce, data entered here correspond to the owner entity of the Web:

Company Name: AKUARO WORK, SL

Address: Rambla Catalunya, 57-08007 – BARCELONA.

CIF: B66376674

Intellectual property

All rights of Intellectual Property of all elements contained on this website, including trademarks, formats, graphics, text, images and documents are property of AKUARO WORK, SL and they are protected by Spanish and international laws under intellectual and industrial property. Hereby, it is strictly prohibited the total or partial reproduction of this website and any of its contents without the express written consent of AKUARO WORK, SL.

Access to the website does not imply any kind of waiver, transmission, license or assignment of such rights by AKUARO WORK, SL unless expressly stated otherwise.

Terms of use

Access to this website implies acceptance of these conditions and its content.

The use of the contents of this website for commercial use or distribution, processing or communication is strictly prohibited. AKUARO WORK SL is not responsible for any consequence or damage that may arise from such use or use of information.

Both access to this website and the use made from the information contained therein is the sole responsibility of the user.

The user agrees not to use the information published on this website for illegal or harmful purposes, not damage or disable the information and to do not take any other action that may be contrary to the contents of this Legal Notice.

AKUARO WORK, SL, reserves the right to modify the contents of the commercial offer of it services when it deems appropriate and to keep its current content.

AKUARO WORK, SL can not guarantee no interruptions or errors in accessing this website, but will use its best efforts to avoid them.

Data Protection Policy

In compliance with Law 15/1999, of December 13, Protection of Personal Data and its implementing regulations, we inform you that personal data provided by you will be incorporated into an automated file owned by Akuaro WORK, SL, in order to provide the requested information about our services.

Through filling out forms on the web, by sending emails or any other type of request for information sent to AKUARO WORK, SL, the applicant gives his consent to process its personal data and to receive commercial communications from services of AKUARO WORK, SL

At any time AKUARO WORK, SL use the personal data given for purposes other than those mentioned above, and agrees to keep the proper confidentiality and to establish the technical and organizational measures to safeguard the information subject to the requirements established by RD 1720/2007, development of the LOPD.

The personal data we collect from you may be transferred outside the EEA either by us and/or by any of the third parties to whom your personal data may be disclosed. Such transfers will occur where they are necessary as part of the recruitment and/or related services we provide to or for you. By providing personal data you agree that your data may be transferred outside of the EEA in such circumstances. We and/or the third parties to whom we may disclose your personal data may store your personal data on a server overseas. By providing personal data you agree your data may be transferred to servers located overseas. We will take reasonable steps to ensure your data is treated securely outside of the EEA.

You are able to exercise the rights to access, correction, opposition and cancellation by sending a statement accompanied by copy of an official identification document via email to support@es.akuaro.com or via regular mail to Rambla Catalunya 57, 08007, Barcelona, Spain.

Should you wish to opt out of receiving further information about our services, please email support@es.akuaro.com to unsubscribe to update your contact details or relevant information, please contact the sender.

Child Protection Policy

Who provides the data through the forms on this Web accepts treatment and formally declares to be older than 14 years.

Access and use of the Web by minors under the age of 14 is prohibited.

The company AKUARO WORK, SL reminds those who are responsible for minors that is your sole responsibility if a minor incorporates or forward data to obtain any service.

AKUARO WORK, SL, also reminds that there are computer programs to narrow your navigation through the filter or block of certain content.

Cookies

This site may use “cookies” for internal use that are essential for the provision of those services requested by users and necessary for statistical analysis.

The “Cookies” that this Web can use are small pieces of information that are stored on the computer for the sole purpose of managing user authentication, providing the services requested and make the transmission of communications through the Network, according to the Article 22 of Law 34/2012 of Services of the Information Society (LSSI).

As user you can prevent the installation of “cookies” on your hard disk, configure your browser to be informed before “cookies” are stored on your computer or to remove those that have been installed. In addition, you can configure your browser to specify the “cookies” which can be accepted and those that can not; can also accept “cookies” session, so thse are removed when the browser is closed and may, at any time, be viewed and deleted individually.

However, we notify that failure or rejection to accept “cookies” on our Website could limit or constraint us to provide our services in addition to a non proper visualization of the content.

Please go to the instructions and manuals of your browser if you want more information on the management of “cookies”.

Links to other Websites

The links that can be found on this website are a service to users. These pages are not operated or controlled by AKUARO WORK, SL therefore AKUARO WORK, SL, is not responsible for the contents of those websites and subsequently not covered by this Privacy Policy. If you access these websites should be aware that their privacy policies may differ from ours.

Applicable law and jurisdiction

This Legal Notice is governed by current Spanish legislation.

For the resolution of disputes that may arise as a result of the provisions of these terms and their interpretation, application and enforcement; the user, by virtue of acceptance of the conditions contained in this legal notice, expressly waives any other jurisdiction that may correspond.

In any case, within the Spanish jurisdiction, if the law allowed to undergo a particular jurisdiction, the user expressly waives the jurisdiction that may correspond and voluntarily submits to the jurisdiction of the Courts of Barcelona.