DEV Community

Cover image for The First Time I Learning Programming
Don Alfons
Don Alfons

Posted on • Edited on • Originally published at donnisnoni.github.io

The First Time I Learning Programming

It's almost six years since the first time I learn programming. But I never think of making my own site/blog. Finally, I got to make it happen in 2021 πŸ₯³.

So, in my first post, I will tell my little story when the first time I learn programming πŸ‘¨β€πŸ’».

I started learning programming back in 2015 at STIKOM Uyelindo Kupang College.

Before Goto College

It all started when I didn't finish my education in senior high school. Yes, I was expelled from school because I didn't go to school for almost a month (I skip the class). BTW I went to senior engineering high school and majored in building construction (something like civil engineering). The main reason I went there is that I like to draw things, then a friend of my stepfather suggested that I go there.

Things are not going well, I feel like this is not something
I want and this is not something I am passionate about. It ended up being very uncomfortable for me to go to school again. Moreover, there were many influences from my friends who asked me to skip classes. In the end, I was expelled and I took an exam package (paid) to get a class C senior high school diploma so I could continue my education at a private university.

In our country, Indonesia, people with a class C senior high school diploma cannot continue their education at public universities.

So I spent two years tinkering with computers, well... this is my hobby since I was 7 years old. Sadly, I didn't have a computer/laptop at that time, so every week I went to the internet cafe to study computer things.

After those two years passed, One day, my stepfather put me in one of the computer science colleges in my city. Then he said "get ready, tomorrow you have to go to college" and I was like "what?" but honestly I'm excited about this.

First Lecture in the First Semester

It was a beautiful day for me at that time, coming to campus and very excited for the first lecture.

Our first lecture was "Graphic Design". Well, I've never learned this before although I have a hobby of drawing πŸ˜…. We just learn the basic things like text, shape, color, etc. I thought it would be hard but like somebody says, "Everything is easy if you learn and try". It's really fun and I'm very grateful even though we only learn the basics.

Finally, The Programming Lecture

I look forward to seeing this lecture on my class schedule.
This lecture sounds very interesting when I see it. The name of the lecture is "Algorithm and Programming". I was so excited that we finally got into the computer lab and get ready to learn new things.

After the lecturer introduced himself, we were told to open the computer and asked to run a program called FPC (Free Pascal Compiler). When I first opened it, I was a little confused, this program looks bad, there only blue, yellow, white, and green colors (I don't know about CLI yet at that time πŸ˜…), unlike other applications I have opened before (GUI).

The Algorithm

The first thing the lecturer explained was algorithms, he said, this was the most important thing in computer programming.

The algorithm itself "is a step by step structured way to solve a problem" he said.

Then he explained the diagrams in algorithms and gave us small exercises for solving a problem topic and steps for solving them. Move the water between the two glasses filled with water, Walk to specific coordinates, etc. For me, this section was so important and help me when trying to understand what programming is.

My First Program

The first program has simply displayed a text to screen, it just a displaying "Hello World" but I was so happy about that, it looks cool for me at that time 🀩!

program Hello;
begin
  writeln ('Hello world.');
end.
Enter fullscreen mode Exit fullscreen mode

After that, we studied data types, function, variables, and procedures. It gets even more fun knowing them. After facing a few errors, I finally got it. But I can say that Pascal is very disciplined and verbose, so some of my friends always get errors from the compiler until the class is finished. That's expected since I see they don't pay close attention when the lecturer explains.

First Task of Programming Lecture

Finally, the lecturer gave us the first task. It just simply making a program to display our biodata, Indeed it was very simple but almost all of my classmates asked me to help 😁. It seemed they had no intention of being able to program computers and I was concerned about that because our tuition was a bit expensive.

Conclusion

Learning programming for the first time is a bit scary and intimidating,
especially if you learn a strict and disciplined programming language like Pascal and other high-level programming languages. But I strongly recommend that you start with them. But it depends on your situation.

In my experience, you must have the intention, be diligent, focus, and never give up, especially when you get an error. A programmer has to get used to errors, this is like our daily food. Oh yes, one of the most important things is to understand the algorithm. So, if you're new to programming, just keep learning and keep getting curious because "Programmers are wizards of the future" says Gabe Newell, Founder, and CEO of Steam.

This post is originally from my blog, First Time Learning Programming

I hope you guys found it useful and please give me feedback πŸ™. Thank you guys πŸ™Œ

Top comments (9)

Collapse
 
eric23 profile image
Eric

Great post!
Free Pascal with Lazarus is pretty awesome :)

Collapse
 
itsdonnix profile image
Don Alfons • Edited

Thank's dude for leave a commentπŸ™ !

Yeah.. I agree. They're very awesome! although I never use them again nowadays. But the strange thing is that in semester 1 we used FPC, then in semester 4 we learned to use Delphi 7. I think we should learn to use Lazarus at that time. What do you think? πŸ€”

Collapse
 
eric23 profile image
Eric

Lazarus is total free and very capable.
I'm fairly sure that Pascal was originally made to teach programming. It forces the programmer to write very organized code. Free Pascal and Delphi are light years ahead of the original Pascal.
They build fast and lightweight applications.

Thread Thread
 
itsdonnix profile image
Don Alfons

Yeah.. indeed! But at that time I was new so I don't know about "They build fast and lightweight applications" than other tools and compilers. I found that a year ago after asking some old programmer's... and they say indeed! So I agree with that! BTW are you still using it?

Thread Thread
 
eric23 profile image
Eric

I do still use it. And enjoy using it.
But right now I'm focusing on web tech. I'm learning Svelte at the moment. It's really cool :)

Thread Thread
 
itsdonnix profile image
Don Alfons

Great! Well... I dont have a desktop GUI project so far so yeah.. maybe in the future :). BTW Same as me, I have web project. trying to move on from the web but I can't LoL! and I also using svelte now on my current client project. Yeah.. svelte is great!

Thread Thread
 
eric23 profile image
Eric

Cool!
I think there a number of advantages with web apps. And they can always be packaged as an Electron app.
Right now I'm building all the components/widgets in Svelte that I use in desktop applications.
I'm trying to theme them as what they look like in Linux Mint Cinnamon.

Thread Thread
 
itsdonnix profile image
Don Alfons

Agree!! BTW you can check out this => github.com/romgrk/web-toolkit, but this one is based on GTK's Adwaita theme. BTW good luck man!

Thread Thread
 
eric23 profile image
Eric

Thanks for the link! That's pretty much what I'm hoping to reproduce.
Good luck to you too!