Which computer programming language should I learn?

Page 1 of 1 [ 13 posts ] 

PossiblyBisexualCanadian
Tufted Titmouse
Tufted Titmouse

Joined: 17 Jun 2017
Age: 21
Gender: Female
Posts: 29
Location: Ontario, Canada

05 Jul 2017, 2:24 pm

I am a high schooler looking to learn how to code, and can not decide whether I want to learn Ruby, Python or Java. If it helps to know what I am using it for, I want to eventually learn how to create basic websites. Also, where do I start when learning how to code? Do you know any good resources?


_________________
You laugh at me because I'm different, I laugh at you because you're all the same- Kurt Cobain


Tori0326
Toucan
Toucan

User avatar

Joined: 12 Mar 2011
Age: 52
Gender: Female
Posts: 293

10 Jul 2017, 8:38 pm

If you just want to learn how to do basic websites then you should learn HTML, CSS, javascript (this is different from Java), bootstrap, maybe a little JQuery, which is a pre-written Javascript library you can pull from to enhance you site (fancy buttons, pop-up windows, etc). The languages you mentioned are for more complex operations and not really needed by front end developers.

If you ever did want to get into more complicated websites where maybe you connect to a database or do some behind the scenes computations you might want to learn PHP and SQL, but in a professional environment there would probably be somebody else who specifically does that work.

There's a bunch of good online sources to learn these skills, usually for free. codecademy, w3schools ,codeschool are a few. Just google and look around, it's pretty straight forward stuff.



AngryAngryAngry
Velociraptor
Velociraptor

Joined: 11 Feb 2016
Age: 46
Gender: Male
Posts: 496
Location: New Zealand

25 Jul 2017, 5:26 am

Don't learn any of those. Just learn C, not C++

Watch this if you don't believe me.
https://youtu.be/QM1iUe6IofM
If you can master pointers (and you should try very hard to before giving up).
You wil then become very highly valued and can get good work.



Chichikov
Veteran
Veteran

User avatar

Joined: 27 Mar 2016
Age: 50
Gender: Male
Posts: 1,151
Location: UK

25 Jul 2017, 2:21 pm

AngryAngryAngry wrote:
Don't learn any of those. Just learn C, not C++

Watch this if you don't believe me.
https://youtu.be/QM1iUe6IofM
If you can master pointers (and you should try very hard to before giving up).
You wil then become very highly valued and can get good work.

C to create a website? Are you serious? Just because you found a video from some guy that doesn't like OOP? I could show you a video from someone that doesn't like procedural\functional coding, would that change your mind back? You could still use a higher-level OOP language but write your code in a largely procedural\functional way if that was your main issue.



peterd
Veteran
Veteran

User avatar

Joined: 25 Dec 2006
Age: 71
Gender: Male
Posts: 1,347

27 Jul 2017, 5:22 am

The most useful area to study, should you be interested in information and its future, is xml, and the xml stylesheet and query languages, xslt and xquery. Get clear on that, and then stack HTML, CSS and JavaScript on top. You can generate any of the last set from xquery. Check http://exist-db.org for free and powerful tools



Aristophanes
Veteran
Veteran

User avatar

Joined: 10 Apr 2014
Age: 43
Gender: Male
Posts: 3,603
Location: USA

27 Jul 2017, 7:50 am

PossiblyBisexualCanadian wrote:
I am a high schooler looking to learn how to code, and can not decide whether I want to learn Ruby, Python or Java. If it helps to know what I am using it for, I want to eventually learn how to create basic websites. Also, where do I start when learning how to code? Do you know any good resources?

If you're focused on making websites, start with HTML/CSS (they're markup and styling languages, not programming languages, but they're a necessity for web work). After you have a firm understanding of HTML/CSS you'll be able to make a static website from scratch. That's when it's time to pick up JavaScript, the actual 'programming' of the web. At that point I would highly recommend also learning Angular, it's overall the best framework for creating single page applications (yes, that's a personal opinion, but it's also backed up by data-- Angular is exploding in popularity right now), and if you decide to move to C/C++ Angular mimics class based languages (JavaScript itself is function based) so you won't have to learn as much new material.



Chichikov
Veteran
Veteran

User avatar

Joined: 27 Mar 2016
Age: 50
Gender: Male
Posts: 1,151
Location: UK

27 Jul 2017, 1:16 pm

peterd wrote:
The most useful area to study, should you be interested in information and its future, is xml, and the xml stylesheet and query languages, xslt and xquery. Get clear on that, and then stack HTML, CSS and JavaScript on top. You can generate any of the last set from xquery. Check http://exist-db.org for free and powerful tools

To be honest XML is now considered old hat. It's still used for back-end things where maintaining data types or validating the data format is required, but xml support in javascript is poor, and JSON is now the data representation format that people use (it fits better with javascript's lack of strong typing also), even some databases are using it as a format to store data.

For generating html, xml and xslt are much harder to use than more dedicated web-based templating frameworks like PHP, asp.net etc, and xhtml has dropped out of favour also.



Ichinin
Veteran
Veteran

User avatar

Joined: 3 Apr 2009
Gender: Male
Posts: 3,653
Location: A cold place with lots of blondes.

05 Aug 2017, 7:44 am

If i learned to code today, i'd skip C++ and Java junk and go directly for Python. It's a capable language, multi platform (with some limitations on Windows), easy to learn, easy to install/deploy in a large environment and it is sought after knowledge that can easily land you a job.

.Net and Java had their glory days, but there are plenty of other languages that starts popping up, like Ruby on rails, Scala, rust etc, each with it's specific focus.

Web monkeys - not so much sought after these days.

Whatever you choose, go with that what can put food on your table, just try to ignore the MS/Oracle dinosaurs.


_________________
"It is far better to grasp the Universe as it really is than to persist in delusion, however satisfying and reassuring" (Carl Sagan)


Chichikov
Veteran
Veteran

User avatar

Joined: 27 Mar 2016
Age: 50
Gender: Male
Posts: 1,151
Location: UK

05 Aug 2017, 8:03 am

Ichinin wrote:
If i learned to code today, i'd skip C++ and Java junk and go directly for Python. It's a capable language, multi platform (with some limitations on Windows), easy to learn, easy to install/deploy in a large environment and it is sought after knowledge that can easily land you a job.

.Net and Java had their glory days, but there are plenty of other languages that starts popping up, like Ruby on rails, Scala, rust etc, each with it's specific focus.

Web monkeys - not so much sought after these days.

Whatever you choose, go with that what can put food on your table, just try to ignore the MS/Oracle dinosaurs.

Pretty ignorant, but it is the internet I guess.



demeus
Veteran
Veteran

User avatar

Joined: 24 Jul 2007
Age: 49
Gender: Male
Posts: 720

05 Aug 2017, 8:08 am

I would say that language does not matter as much as learning to program and learning to learn how different languages work. Languages which are popular today might be going out the window tomorrow and new languages will take their place as technology changes at a fast pace. Don't attach yourself to any one language and you will do a lot better.



Ichinin
Veteran
Veteran

User avatar

Joined: 3 Apr 2009
Gender: Male
Posts: 3,653
Location: A cold place with lots of blondes.

05 Aug 2017, 8:15 am

Chichikov wrote:
Ichinin wrote:
If i learned to code today, i'd skip C++ and Java junk and go directly for Python. It's a capable language, multi platform (with some limitations on Windows), easy to learn, easy to install/deploy in a large environment and it is sought after knowledge that can easily land you a job.

.Net and Java had their glory days, but there are plenty of other languages that starts popping up, like Ruby on rails, Scala, rust etc, each with it's specific focus.

Web monkeys - not so much sought after these days.

Whatever you choose, go with that what can put food on your table, just try to ignore the MS/Oracle dinosaurs.

Pretty ignorant, but it is the internet I guess.


You're right, ignorance is omnipresent on some forums with people trying to beat a dead C++ horse with a Java stick.


_________________
"It is far better to grasp the Universe as it really is than to persist in delusion, however satisfying and reassuring" (Carl Sagan)


CJPotter817
Emu Egg
Emu Egg

Joined: 17 Aug 2017
Gender: Male
Posts: 5
Location: Kingaroy- Queensland- Australia

18 Aug 2017, 3:42 pm

Hello,


May I suggest Python?

I am just starting, but so far, it seems a good way to go!



Ichinin
Veteran
Veteran

User avatar

Joined: 3 Apr 2009
Gender: Male
Posts: 3,653
Location: A cold place with lots of blondes.

20 Aug 2017, 8:11 am

CJPotter817 wrote:
May I suggest Python?

I am just starting, but so far, it seems a good way to go!


Agree, Python is a good language for analytics and some system stuff under Windows and Linux, quite handy if you want to work in those areas. After tinkering with Python, i have no interest in learning Powershell, just wish Python had WMI support by default.

Its not for high performance applications though, so i wouldn't write any games in it.


_________________
"It is far better to grasp the Universe as it really is than to persist in delusion, however satisfying and reassuring" (Carl Sagan)