Thinking of learning how to code, any good first languages or tips?
Post number #310782, ID: 8014a3
|
Post number #310806, ID: 65dc0c
|
Read. Do. Retry. In programming you'll need to start accepting that failures can happen from the smallest of mistake.
For your first language, I recommend dipping into OOP first. Java, C (and derivatives) — those languages can teach you the very basics of programming quickly.
If you prefer the less steep learning curve, Python is a good starting point as well.
Post number #310892, ID: 7b9400
|
Do you want to eventually have an academic career or be a very smart programmer? Do you handle Mathematics well? If so, I'll deviate a bit from the usual suggestions and propose an alternate in my opinion more interesting route to approach programming. Look up the "MIT SICP Lecture" video series about the basic principles of computation. This will teach you important cornerstones of programming, which might even save you from becoming a code monkey. Scheme is a great language!
Post number #310893, ID: 7b9400
|
>>310892 To elaborate on why I find this way worthwhile: A lot of self taught programmers, or ones in terrible education are not taught computer science basics. It in my experience results in what you call "code monkeys" who rely on copy-pasting code from the internet they don't really understand. They learn skills just to get things done, without really understanding what's going on in any other layer of abstraction they're currently working in.
Post number #310899, ID: 7b9400
|
>>310893 What ever way you choose, it'll certainly not be a short affair. Professional programmers will likely have poured thousands of hours into programming before they even got their first job.
Post number #310908, ID: af00ae
|
>>7b9400 A few months ago when I finally decided to take coding seriously I downloaded the pdf of the book with the intent of doing all the exercises. Some of them are pretty hard but I try at least. I will check the videos to see if there is value in reading the book and watching them. However the exercises really helped me understand stuff so far. So if there's no form of exercises in the lectures I would still recommend going through them
Post number #310909, ID: af00ae
|
Also >(((((lisp)))))
Post number #311012, ID: efac3d
|
OP here, thanks for the replies! I'll try all the options and see which ones are fit for me.
Post number #311020, ID: bce221
|
What are you going to use code for? Because it's good for automation, so you should try to learn how it's used to make your life more convenient.
Post number #311104, ID: 853699
|
There's always Ruby, which is what Danger/u/ runs on. I think.
Post number #311135, ID: 46c780
|
is javascript a good language to start with?
Post number #311342, ID: a7130d
|
>>311135 I wouldn't recommend starting with it, for starters you already need to have some idea of HTML (and maybe CSS) and the syntax of it is a little confusing for complete beginners. As other people said, I would recommend starting with C, it's an older, simpler language and you can get the hang of programming with it, when you're more confident move to something more modern, like C#.
Post number #311347, ID: 804887
|
>>311342 Whst should I go with if I wanted to skip c#?
Post number #311400, ID: 289d99
|
>>311347 Avoiding Microsoft technologies is a good call. Try C++, Go or Rust.
Post number #311424, ID: 01d1f2
|
>>311347 It really depends on what you want to work with, Java is a decent alternative to C#, especially if you plan on doing stuff for mobile.
Post number #311445, ID: a7f007
|
Learn to connect switches, relais and lightbulbs with wires to a logical circuit,
Post number #312194, ID: 853699
|
>>311445 I used to love playing with those electronics kits when I was a kid.
Post number #312261, ID: 905620
|
In my opinion C is the best language to start with. Not too low level, yet it models hardware well and makes you understand what goes on under the rug. Not object oriented and function based, yet has its structures and unions to teach how data can be clumped in bundles and object oriented things are only a few member functions away. It doesn't cover reality with beautiful veils of abstractions but shows and does exactly and only what the code is.
Post number #312265, ID: 062eaa
|
>>312261 but it's so fuckin hard to learn compared to Lua
Post number #312267, ID: 905620
|
I actually do not know Lua, so I'd only be ridiculous if I tried to express an opinion about it.
Post number #313253, ID: 46c780
|
do different languages do different things or are they just different ways to do the same things?
Post number #313356, ID: c0ed33
|
@.@ Man even just reading coding names makes me dizzy
Post number #313453, ID: 649cce
|
>>313253 Some languages are better suited to certain activities and software for that is easier to write in those languages. For example, awk is specialised to processing text, analysing it and acting on the content. C is more generic and provides means to do fork processes, do networking... You can write your own netstat and ping and traceroute with it. It processes text too. But while awk has some neat utilities in its core for this, with C it would be needed a bit more work.
Post number #313456, ID: 649cce
|
C doesnt know what a word is. Or the concept of a field delimter in a record. Or what a record is. It only knows characters. It can do what awk does, but while awk takes for granted some behaviour, one needs to 'teach' C that behaviour through coding.
Total number of posts: 24,
last modified on:
Mon Jan 1 00:00:00 1528770181
|