Starting coding

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
Post Reply
Juanmac
Level 1
Level 1
Posts: 43
Joined: Thu Feb 06, 2014 12:35 pm

Starting coding

Post by Juanmac » Fri Mar 16, 2018 11:30 am

Hi, i would like to start coding for the very first time, and i've been looking for a good coding basics book that gives me a little bit of the background knowledge needed to understand what i am doing when i start learning an specific language. Any recommendations??

deepakdeshp
Level 11
Level 11
Posts: 3935
Joined: Sun Aug 09, 2015 10:00 am

Re: Starting coding

Post by deepakdeshp » Fri Mar 16, 2018 1:19 pm

I will recommend that you learn Python 3.x version. It is simple yet very powerful
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
I am using Mint 19 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

Juanmac
Level 1
Level 1
Posts: 43
Joined: Thu Feb 06, 2014 12:35 pm

Re: Starting coding

Post by Juanmac » Wed Mar 21, 2018 12:12 pm

deepakdeshp wrote:
Fri Mar 16, 2018 1:19 pm
I will recommend that you learn Python 3.x version. It is simple yet very powerful
but im not talking about languages, i'm asking for books, exercises. I started reading about pseudo codes, cause i understand those are the programming basics..

JosephM
Level 6
Level 6
Posts: 1086
Joined: Sun May 26, 2013 6:25 pm

Re: Starting coding

Post by JosephM » Fri Mar 23, 2018 5:15 am

The best way is probably pick a language and start writing actual code. You can learn all the theory you want but until you start applying it in actual code you don't really understand it. The language you start with could depend on what kinds of things you want to do. Why are you interested in learning programming?
When I give opinions, they are my own. Not necessarily those of any other Linux Mint developer or the Linux Mint project as a whole.

User avatar
Flemur
Level 16
Level 16
Posts: 6287
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Starting coding

Post by Flemur » Fri Mar 23, 2018 10:15 am

JosephM wrote:
Fri Mar 23, 2018 5:15 am
The best way is probably pick a language and start writing actual code. You can learn all the theory you want but until you start applying it in actual code you don't really understand it.
Indeed! It's rather like trying to learn a human language by just reading it.

OP: pick a project you want to do with your code, something simple to start with, and then do it.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

Hoser Rob
Level 12
Level 12
Posts: 4459
Joined: Sat Dec 15, 2012 8:57 am

Re: Starting coding

Post by Hoser Rob » Mon Mar 26, 2018 10:56 am

I agree on Python (or maybe PERL would be better?) for beginning coding. I'm not so sure however that pseudocode is going to be useful if you don't know any programming languages. But here's a pretty good pseudocode guide:

http://guyhaas.com/bfoit/itp/Pseudocode.html

rene
Level 8
Level 8
Posts: 2371
Joined: Sun Mar 27, 2016 6:58 pm

Re: Starting coding

Post by rene » Mon Mar 26, 2018 2:23 pm

Hoser Rob wrote:
Mon Mar 26, 2018 10:56 am
(or maybe PERL would be better?)
Nooooooooooooooooooooooooooooo.

User avatar
otacon14112
Level 2
Level 2
Posts: 64
Joined: Sun Apr 21, 2013 11:43 pm

Re: Starting coding

Post by otacon14112 » Mon Apr 09, 2018 8:06 pm

I third the recommendation to start with Python. It's an easy language, and the variables can be declared on-the-fly without having to worry about casting. Don't be fooled by its ease to pick up; it's a very powerful language. In fact, it's probably the most popular language to use with AI and neural networks, and it has a large online community.

I'm not really sure what you mean by wanting to study pseudocode without delving into a particular language. All pseudocode is written in some language. The best way to learn is by doing. Look up some Python tutorials. There are many out there.
Otacon: You remember pre-ripped jeans? Manufacturers thought that just because people loved old, broken-in jeans, they would want to buy new jeans that looked old. So they purposefully...
Solid Snake: What do jeans have to do with nature and order?

User avatar
BG405
Level 7
Level 7
Posts: 1563
Joined: Fri Mar 11, 2016 3:09 pm
Location: England

Re: Starting coding

Post by BG405 » Thu Apr 12, 2018 11:07 am

otacon14112 wrote:
Mon Apr 09, 2018 8:06 pm
I'm not really sure what you mean by wanting to study pseudocode without delving into a particular language. All pseudocode is written in some language.
My thoughts as well. I think doing some actual coding will make it easier to learn the concepts of how it works. I started out with CBM BASIC V2 on the Commodore 64 and later, in the quest for better speed & performance, decided to try writing simple machine code routines based on how I thought the BASIC commands were being interpreted. This worked and I ended up writing modules for display interrupts, mouse drivers etc. using the Action Replay cartridge's built-in assembler.
otacon14112 wrote:
Mon Apr 09, 2018 8:06 pm
The best way to learn is by doing.
Exactly! :D Now, as for which language? Don't know enough about the candidates to suggest one myself, yet ...
Dell Inspiron 1525 - LM17.3 CE 64-------------------Acer D255E 2GB - Manjaro KDE, LM17.3 KDE 32
Toshiba NB305 - Manjaro KDE------------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Dell PII 350 64MB - Puppy 4.3 & Win98-SE

User avatar
lsemmens
Level 6
Level 6
Posts: 1247
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: Starting coding

Post by lsemmens » Thu Apr 12, 2018 10:43 pm

I'll second/third the motion to learn by doing. Theory is great, I can write fantastic pseudo code but, making it work is a whole 'nother ballpark. On a related topic, what are the main uses of Python? Web dev? Standalone? SQL Access?
Kernel: 4.15.0-36-generic x86_64 bits: 64
Desktop: Cinnamon 3.8.9
Distro: Linux Mint 19 Tara

Laptop T4500 Dualcore 4Gb RAM
Server AMD Phenom 9650 - GEForce 9400GT 6Gb RAM
+ three other Linux Mint machines
Out of my mind - please leave a message

JosephM
Level 6
Level 6
Posts: 1086
Joined: Sun May 26, 2013 6:25 pm

Re: Starting coding

Post by JosephM » Fri Apr 13, 2018 6:46 am

lsemmens wrote:
Thu Apr 12, 2018 10:43 pm
I'll second/third the motion to learn by doing. Theory is great, I can write fantastic pseudo code but, making it work is a whole 'nother ballpark. On a related topic, what are the main uses of Python? Web dev? Standalone? SQL Access?
Python is used for pretty much everything. It's all over your Linux install. Many of Mint's own tools use it. While it's a great choice to learn with, it does depend a bit on what you want to do. If you are interested in game programming, desktop environment dev, graphics, etc. You might be better off learning something else.
When I give opinions, they are my own. Not necessarily those of any other Linux Mint developer or the Linux Mint project as a whole.

mediclaser
Level 3
Level 3
Posts: 161
Joined: Tue Mar 20, 2018 2:28 pm

Re: Starting coding

Post by mediclaser » Fri Apr 27, 2018 1:45 pm

Juanmac wrote:
Fri Mar 16, 2018 11:30 am
Hi, i would like to start coding for the very first time, and i've been looking for a good coding basics book that gives me a little bit of the background knowledge needed to understand what i am doing when i start learning an specific language. Any recommendations??
Start with a book about flowcharting. Then pick an easy-to-learn language like what has been mentioned here already (Python). Also, this site may help you in solving programming problems --> projecteuler.net
Having a Linux operating system is just like driving a car -- you learn something new everyday.

Hoser Rob
Level 12
Level 12
Posts: 4459
Joined: Sat Dec 15, 2012 8:57 am

Re: Starting coding

Post by Hoser Rob » Sat Apr 28, 2018 8:08 am

JosephM wrote:
Fri Mar 23, 2018 5:15 am
The best way is probably pick a language and start writing actual code. You can learn all the theory you want but until you start applying it in actual code you don't really understand it. The language you start with could depend on what kinds of things you want to do. Why are you interested in learning programming?
That pretty much nailed it ... the actual language syntax is not the hard or important part. Understanding the algorithms is. It's like mathematical problem solving ... if you're memorizing it you do not understand it.

Post Reply

Return to “Other topics”