Skip to main content

I am trying to learn to code and I am on my own-which language should I pick?



A couple of things before I begin. One, a reality check. Learning to code is not easy. Some people can pick it up fast. They are just naturals and knock it out of the park without even breaking a sweat. Those types end up YouTube giving lessons and asking you to smash their subscription button. For most of us mere mortals, it is going to a long and torturous slog, with tears and despair. Two, this is not me going to tell what is the best code language in the world. To put it simply, I don't know and don't care. All this is just my experience of how I came to choose the code language that I am learning. The rest, as they say, is up to you.

My first attempt at learning to code did not end well. At the time, I was working at a company that used C# for their development. I tried to learn that language. I was fortunate to be surrounded by a support group of outstanding developers who I got on with really well, and they did take time out of their busy work schedules to offer help. Even with their gracious help, it was just too hard for me. I made the number one mistake of jumping in the deep end. I became a disillusioned very quickly, and my impatience nature kicked into overdrive. My learning tallied off and ground to a halt. I am very prone to self defeatism when it comes to education. It is something that I am always having to battle. I admire people who seem to enjoy learning complicated things. I wish I could.

My situation has changed now, and I no longer have the luxury of work colleagues to show me their coding tricks. I asked on a forum about what language I should pick. I should not have done this. It resulted in people reeling off their favourite language and why it was so great. Don't get me wrong, suggestions can inform your final decision, in my experience, and I just drowned in the information. I decided that I should think about why I want to learn code; this I thought might help me chose.

The first question I asked myself was, "What Do I Want To Do?". My list was quite small. In no order of preference, what I want to do is.


I want to do is be able to create tools to make my testing more efficient.


I want to be able to write simple but effective assertions so I can automate essential tests.


I want to be able to understand a developers’ code so I can see what they are doing.




I keep this list handy as I need to keep reminding myself why I am going through this. Promises, you will have to keep looking at your list. I made a shortlist of languages; again, this from an internet search of what was the most popular language at the moment. I would suggest not to look at too many of these lists. I did and found myself getting lost again. Like asking people, you tend to get a lot of lists with languages at different levels of popularity. They did this poll on Tuesday, and C# is popular, tomorrow it will be Javascript. Type "Industry Popular Software Languages" into your favourite internet search engine, sort the results by date, and pick the list.

I then selected the top three/four. I then made another mistake. I went and looked at the pro and cons of each of my choices. Once again, I ended up drowning in information. I decided just to go and look at examples of code and see how they seemed to me. Github and Stackoverflow are great places to see people coding in different languages, though again, a word of warning you can quickly disappear down a rabbit warren so be diligent. I decided to choose my code language based on if I could understand the flow of the code the easiest.

My choice is Python. I am still getting the "Oh, you are learning to code..you should learn...." I am choosing to ignore this at the moment, politely, of course. I have picked my code bed, and I am going to lie in it. 

Whatever code language you settle on good luck and stick with it. I know that you are thinking "That's easy for him to say", but I can assure you as you read this I am probably holding my head in my hands weeping at my overcomplicated answer to a code challenge, in no way resembles the elegant proper solution. 







Comments

Popular posts from this blog

Day 25 of 2022 : Behind the Walled Garden of Delights

In Your Garden of Delights.. The other day I noticed a story about Disney clawing back a lot of their content is on Netflix. It would appear the days of shared content across platforms is diminishing. The streaming providers want to keep you in their walled garden for as much as possible. If you are a serious tv watcher you are now going to have to subscribe to at least three if not four providers. All that to watch your fave film or TV show. My arithmetic is not that great but it would be safe to say that would be not shy of well over £350 a year. Ouch. We have Prime and Netflix and we do watch them a lot. I had Prime when it was Love Film and £4.99 was a good price. When Amazon came along and waved their wonga at Love Film I continued to only pay £4.99 for years and years. It was down the contract that Amazon had to fulfil. I have since upgraded to a Prime user so now fork out £7.99. My wife decided to pay for Netflix, as she wanted to watch a certain show for a bit. I have to be hon...

Day 24 of 2022 : Good Times and Bad Times

  As The Song Doesn't Go.. Bad Time My week started well when I had realised that I had left my wallet in the Takeaway last night. There is quite a lot of people traffic through that particular Takeaway. Some of them look like they would not bat an eyelid at trying a lost card. This morning I went through the process of cancelling everything. I kept checking the online bank to see if any overnight spending spree had happened. I went round early this evening and the good man in Takeaway had retrieved it. I had placed my black wallet on the black table in there. The takeaway had arrived a bit sooner than I had expected. The table camouflaged the wallet so I did not see it when I got up to get my takeaway. Being distracted by my silly phone had not helped either. Good Time I had a bit more of a productive day at work today. Being left alone for most of the day helped. I actually said that in our end of day meeting. Not sure how that landed with people but no one passed any comments on...

Day 27 Throwback Thursday Album

 Secret Treaties. I am wheeling one album that had a big impact on my musical journey. Blue Oyster Cult's "Secret Treaties". Like everyone I had heard BOC's classic "Don't Fear The Reaper". That song was my introduction, my older brother had all the first three albums. Called the "Black and White" albums as all the covers were pencil drawings. BOC 1974 There is not a bad track on the album, BOC were hitting their stride musically and in the writing. The whole album oozes lyrical menace. From the opening of "Career Of Evil" ( Co penned by Patti Smith who was Alan Lainer's girlfriend at the time). My favourite is the proto-punk "Dominance and Submission". It sounds like a plot for a David Cronenberg movie that he could of made. The closing epic Alien abduction/invasion "Astronomy" inspired many a future metal band. Metallica went out of its way to cover it. My advice is to put it on now, you will be off your seat...