Learn to code requires focus, not an encyclopedic knowledge of functions

learn to code

Joe wanted to learn to code. He started Ubiqum’s Data Analytics and Machine Learning program in Barcelona last September. Joe writes about European technology and business for a range of UK media. He usually lives in London but loves all that Barcelona has to offer! In this article, he’s going to share the challenges he’s faced so far learn to code.

So let’s take a look!

I wrote that in my notebook a few weeks ago. At the time it felt like an epiphany. Now, it feels like stating the obvious.

Learn to code and much more

If learn to code was the difficult thing about becoming a software developer or data scientist then it would be possible for more of us to study from online resources alone and set sail in the industry.

Like many, I have tried that path and it’s not gone so well.

Much more important than learning libraries or nifty functions, for me at least, has been working on the core underlying skills that the process of building projects requires:

  • Problem solving
  • Research
  • Testing hypotheses

It has been about habits, not hackathons.

For my particular journey, there has been one skill that has seen my output increase dramatically: focus.

Not losing your focus

As the difficult and complexity of the tasks we complete increases (becoming more enjoyable), I have come to realise that one of the biggest differences between my cohort friends and myself was how much longer they could focus on their work before needing a break.

At the begining I could barely go 20 minutes without gasping for a quick inbox check or a social media pit stop.

I don’t think it is a coincidence that I am also the youngest in my particular cohort.

After various false starts, bouts of willpower, and a lot of Chrome extensions, I can easily do an hour or more without too much trouble.

“The path to learning to code and building better projects hasn’t been about learning anything specific. It has instead been about reassessing my relationship with my mobile phone, with my email inbox, and with my social media accounts.

In many ways, it has been about unlearning how to be a digital journalist and a millennial.

It has been about understanding my behaviour and bad habits which tend to cluster into four key habits.

  • Sharing: I see a nice view, read a good article, or make a breakthrough with my code and I want to share it with someone.
  • Searching: A stray question or thought pops into my mind. Before I can even think, I’m on Google and I’m finding the answer. Then I’m on Wikipedia or IMDB, then I’m lost on the internet bouncing from fact to fact.
  • Socializing: The need for social validation here has me scanning social media feeds, or checking apps for red notifications.
  • Refreshing: Something curious, something bright or shiny is the need here. It’s my curiosity here that keeps me returning us to my inbox, social media feeds and to news websites.

learn to code

Breaking bad habits

During this courses, many of us strive to break the habits above. For me, the answer has greatly come from the most old fashioned of tools: Pen and paper.

Every time I feel myself getting curious or wanting to search, share or socialise, I make a note on paper.

The act of noting each instance down helps me return to the task at hand.

In hindsight, it has been, at times, tough.

But, crucially, it has been extremely rewarding and once I started to see results, whether they be models that work or novel insights in the datasets I’m working with, it has become easier and easier.