How I’ve started to learn programming

栏目: IT技术 · 发布时间: 4年前

内容简介:My initial plan was to be a math teacher or a doctor like my parents. I've become a software developer by chance ... and because of a broken computer.When I was 10 my father bought me an Amiga computer. The kind that you would have to connect to your TV as

My initial plan was to be a math teacher or a doctor like my parents. I've become a software developer by chance ... and because of a broken computer.

When I was 10 my father bought me an Amiga computer. The kind that you would have to connect to your TV as it did not have a monitor.

At the beginning of the 90's this was considered a hi-tech device :grinning:

How I’ve started to learn programming

But that computer was broken and could not be connected to a cassette player. This meant that I could not load and play any games on it. Cuz, yes during those times a game was stored on a cassette tape.

The only thing I could do with that that computer was to run the BASIC programming language on it.

However, I've managed to get my hands on a book with a title like "How to make 10 games in BASIC".

I was typing about 3-4 pages of code to get a basic game up. A very complex game. Something like a red dot chasing two other blue dots.

I had no idea what I was doing. Lucky the BASIC programing language is made of short lines, so it was quite easy to track down a typo. Mostly I was copying the code like a monkey.

How I’ve started to learn programming

Another downside of not being able to connect this computer to a cassette player was that I did not have any way to save that code. When the computer was unplugged I was losing all of my code and had start from scratch again.

The funny thing was that after you write that code for enough number of times, those stage lines start to have some logic. I've started to change the color codes, the pixel values and see what was happening. Trial and error.

I was feeling like a wizard learning spells.

This did not get any practical application until highschool when I've discovered that I can skip a lot of the boring classes by taking part in some scholar computer contests.

And from there realized I could make this into a job and so on ...

So, a few takeaways from the story:

  • programming can be thought at a very young age. I was 10 year when started how to code, and for sure I don't have any special IQ.
  • video games are good; if it was not for the need to play those video games, maybe I would not be a programmer today. For sure I would not be interested in learning how to code if the aim was to solve a math equation.
  • it's ok, in the beginning to just copy. I think that the human brain, especially the brain of children, is super good in recognizing and learning patterns and adapt.

Cheers and happy learning!

I hope you have enjoyed this article and if you would like to get more articles about React and frontend development you can always sign up for my email list.


以上所述就是小编给大家介绍的《How I’ve started to learn programming》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

深入浅出程序设计(中文版)

深入浅出程序设计(中文版)

Paul Barry、David Griffiths / 蒋雁翔、童健 / 东南大学出版社 / 2012-1 / 98.00元

《深入浅出程序设计(中文版)》介绍了编写计算机程序的核心概念:变量、判断、循环、函数与对象——无论运用哪种编程语言,都能在动态且多用途的python语言中使用具体示例和练习来运用并巩固这些概念。学习基本的工具来开始编写你感兴趣的程序,而不是其他人认为你应该使用的通用软件,并对软件能做什么(不能做什么)有一个更好的了解。当你完成这些,你就拥有了必要的基础去使用任何一种你需要或想要学习的语言或软件项目......一起来看看 《深入浅出程序设计(中文版)》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具