Introduction to Programming

Need help with C, C++, perl, python, etc?

Introduction to Programming

Postby n0ct1s.deb » 2017-10-28 19:24

Hi, I would like to start programming because I love Linux and computers world. I don't know where to start, please help me :)
n0ct1s.deb
 
Posts: 7
Joined: 2017-10-28 19:19
Location: Spain

Re: Introduction to Programming

Postby pylkko » 2017-10-28 19:54

In my opinion, Python is a good language to begin to understand basic concepts like loops, conditional statements, writing to files, getting user input and eventually graphical interfaces and object oriented programming.

Here is a guide:
https://www.learnpython.org
User avatar
pylkko
 
Posts: 1212
Joined: 2014-11-06 19:02

Re: Introduction to Programming

Postby Head_on_a_Stick » 2017-10-28 20:31

"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6784
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Introduction to Programming

Postby pawRoot » 2017-10-28 21:04

I would go with C# or Javascript, as this is the future imo 8)

I have started with C# some time ago and love it, you can set the .net framework on linux pretty easily:
https://www.microsoft.com/net/core

I would also recommend Visual Studio Code with C# plugin, it's also super easy to setup:
https://code.visualstudio.com/

C++ or C might be better choice though if you want to code stricte for Linux.
OS: Debian unstable sid
Kernel: x86_64 Linux 4.13.0-1-amd64
WM: Gnome3
CPU: Intel Core i5-4690K CPU @ 3.9GHz
MOBO: MSI Z97 Gaming 3
User avatar
pawRoot
 
Posts: 187
Joined: 2016-12-28 18:26
Location: Poland

Re: Introduction to Programming

Postby n_hologram » 2017-10-29 00:54

pawRoot wrote:C#...is the future imo 8)

I've never heard this before. Why do you think this?

I recommend Python if you're getting into the rhythm of programming, and because the libraries are so broad, you can jump into some fun projects; selenium, for instance, is pretty neat. I've been told that plain-ol' C will give you a solid foundation for programming, so that might not be a bad idea, either.
bester69 wrote:There is nothing to install in linux, from time to time i go to google searching for something fresh to install in linux, but, there is nothing
n_hologram
 
Posts: 256
Joined: 2013-06-16 00:10

Re: Introduction to Programming

Postby pawRoot » 2017-10-29 01:26

n_hologram wrote:
pawRoot wrote:C#...is the future imo 8)

I've never heard this before. Why do you think this?

I recommend Python if you're getting into the rhythm of programming, and because the libraries are so broad, you can jump into some fun projects; selenium, for instance, is pretty neat. I've been told that plain-ol' C will give you a solid foundation for programming, so that might not be a bad idea, either.


Javascript is getting more and more popular, with more frameworks etc, you can do multiplatform apps easily (at performance cost though), and web is the future, i believe in future people will be running programs through browser like Chrome without installing anything (you can already do cool apps that work through browser).

And C# is amazing choice since you can also do multiplatform stuff, backend for web, mobile apps, game development, also if you know C# it's easy to learn Java, and if you know these languages it's really easy to get a job if you want to.

Languages like Python are nice but used mostly for stuff like data science.
OS: Debian unstable sid
Kernel: x86_64 Linux 4.13.0-1-amd64
WM: Gnome3
CPU: Intel Core i5-4690K CPU @ 3.9GHz
MOBO: MSI Z97 Gaming 3
User avatar
pawRoot
 
Posts: 187
Joined: 2016-12-28 18:26
Location: Poland

Re: Introduction to Programming

Postby pylkko » 2017-10-29 05:30

Yes. I agree. Not only is JavaScript used in more and more , but given that you basically only need a browser to render it and a text editor to write it, setting up a (basic) working environment is quite easy. Also, I believe that MIT moved their basic programming course to JavaScript last year.

I still think that Python is another good choice, because I feel that the learning curve is not steep, and you can do anything from scraping web pages to scientific computation, gui's, servers, object oriented stuff, procedural scripts... it is very versatile.

I also agree that if you want to eventually get a job, then other languages are more effecient than Python. However, th OP seems to be asking about learning programming for Linux personal use and not for developing professional skills. While it is true that it is used much in data science, it is also much used in Linux programs.

But if you are interested in which languages are more popular or more used, then instead of listening to people's random remarks here, you could look at actual lists/indeces

https://www.tiobe.com/tiobe-index/

It is also important to notice that very much of the basic ideas in programming are shared by all languages

However, responders to this thread should note that the origianl poster did not ask for tips about what language to use, but for actual guides/tutorials.
User avatar
pylkko
 
Posts: 1212
Joined: 2014-11-06 19:02

Re: Introduction to Programming

Postby n0ct1s.deb » 2017-10-29 06:58

So I will try with C# and Python. I heard that Python is the future in programming because of the syntax and the libraries. Thanks guys! :D
n0ct1s.deb
 
Posts: 7
Joined: 2017-10-28 19:19
Location: Spain

Re: Introduction to Programming

Postby alan stone » 2017-10-29 09:18

n0ct1s.deb wrote:Hi, I would like to start programming because I love Linux and computers world. I don't know where to start, please help me :)

If you're really serious and committed, to understand how things work, I'd say start here. EDIT: And here. Please help yourself. :wink:
Debian 8.9 32bit, WM: Openbox
Computers are like air conditioners. They work fine until you start opening windows. - Author Unknown
Programming is like sex. One mistake and you have to support it for the rest of your life. - Michael Sinz
User avatar
alan stone
 
Posts: 220
Joined: 2011-10-22 14:08
Location: In my body.


Return to Programming

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable