[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

How do I get into coding? Where do I start? What's a good

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 67
Thread images: 4

File: 1501550473096.jpg (71KB, 500x500px) Image search: [Google]
1501550473096.jpg
71KB, 500x500px
How do I get into coding? Where do I start? What's a good language to start with?
>>
>>61708866
Be 9 years old and start with Lisp.
>>
Malbolge or go flip burgers.
>>
>>61708866
English
>>
>>61708866
Learn BASIC, then COBOL/PASCAL, then C. Then go for all the memes.
>>
>>61708917
>Then go for all the memes
Rust? forth?
Perl?
>>
Python.
>>
>>61708962
Perl's ded, I'd recommend python or even php over it. Idk about Forth, but Rust seems hella meme, maybe I just don't _get_ it still. Mozilla pisses me off too much.
>>
Also, there's a reason for the old languages I recommended. They do a good job ramping good noobs up, as far as cs history goes. If you jump into a modern language today without any history or context you'll end up trash.

The next generation will be so fucked up in about 10 years because of ycombinator, mozilla and nodejs. Mark my words.
>>
bumping out of interest
>>61708917
is it bad to start with C?
how about assembly? where would that fall in your analogy?
>>
>>61708866
gentoo
>>
>>61709108
Its not horrible, but I'd at least study up older langs beforehand.

Assembly is essentially advanced/improved BASIC due to memory getting better. Its not bad either, but they taught BASIC in high schools in the 80s because it was friendlier iirc.
>>
This >>61708917 is a troll. BASIC is dead, and COBOL will rot your brain. Starting with C is ideal, but otherwise a language like Python or Ruby will do if one wants to take things the easy way.
>>
>>61708866
<3 Raven

Also, Python. Python is a good place to start.
>>
>>61708882
Age doesn't matter for programming, unless you're like 50+.
>>
>>61709255
Haha well meme'd, stranger
>>
>>61709223
It's not a troll, kys. If you recommend Ruby then swiftly kys. In fact, you might as well recommend Swift at this point because obviously you don't give a shit about someone properly grasping fundamentals of science vs being a pajeet.
>>
>>61709276
It doesn't. You're underage if you think it does.
>>
>>61708866
Install Gentoo.
>>
>>61709287

>Says he's not a troll and yet in the very same sentence uses 'kys'

Yep troll confirmed.
>>
>>61708866
God I want to fuck Raven so bad. Her half-demon ass is probably so warm and tight.
>>
>>61709302
it's like playing an instrument.
most top guns of the field started at < 12 years old
>>
>>61709314
Hey anon, idgaf if in 5 years OP is flipping burgers or browsing Stack Overflow on his phone at work because of an obscure runtime error that he can't fix.

Faggots who continuously shill "easy" languages can literally kill themselves.

What I recommended is sane you butthurt nufag, and practical. Telling someone to ignore it is more of a troll to people who know what they're doing, you filthy casual.
>>
Do you want a job? Do you hate yourself?
Learn JavaScript
>>
>>61709417
If you're smart enough, it doesn't matter what age you start at. Bottom line.
>>
>>61709422
>shill
>literally kill themselves.
>butthurt
>nufag
>filthy casual
You use all these words and have the audacity to propose that anything you have to say is "sane"?
Toplel
>>
>>61708917
>>61709223
BASIC is very dead.
But I LOVE it.
It's so comfy to programm on my C64.
>>
>>61709495
You just used toplel, so...

Anyway, if OP isn't a pajeet, ivan or Brad then he should go back and learn the real pre-udacity era meme languages first. Dedicate one month or more to each, and move on.
>>
my first waifu
>>
>>61709467
Then if you are smart enough, 50+ isn't an issue. It either matters or it doesn't. your shitty double think is cancerous.
>>
>>61708866
Learn basic (freebasic preferably), then you fuck around and acquire the essential skill of picking the pieces you have and assembling a function or program that do what you want, then you challenge yourself to do bigger and bigger things.

Then you unlearn basic, and learn python to get rid of the bad coding practices you learned along with basic and finally go to C to finally be able to use an useful language.
>>
>>61709626
BASED
A
S
E
D
>>
>>61708866
So you want to learn programming?

Pick a starting language. For beginners, there are generally two recommended "programming families" that you can choose to start learning:
-Dynamically typed/interpreted programming languages, such as: Python, Perl, Ruby
-Statically typed/compiled programming languages, such as: C, C++, C#

These are amongst the most popular languages in use worldwide, including 4 from the top 5. Both approaches are perfectly fine, and well-documented.
-Dynamically typed programming may be a bit more flexible, convenient, and forgiving. It is more popular in academia.
-Statically typed programming is a bit more suited for making general applications. It is more popular in industries.

Cannot decide? Flip a coin.

If you choose statically typed/compiled programming, you may want to start with C, then pick up C++. C is very well documented, and teaches many universal programming concepts. C++ is based on C, and adds new concepts. Sources:
For C:
The C Programming Language (K&R)
C Primer Plus (Prata)
http://www.cprogramming.com/tutorial/c-tutorial.html
http://www.learn-c.org/

For C++:
http://www.learncpp.com/
http://www.cplusplus.com/doc/tutorial/
http://www.cprogramming.com/tutorial/c++-tutorial.html
http://en.cppreference.com/
https://isocpp.org/faq

If you choose dynamically typed/interpreted programming, you may want to start with Python. It is very easy to pick up. Here are some good sources:
http://www.learnpython.org/
http://www.codecademy.com/en/tracks/python

>BUT I WANT MORE SOURCES!
Read: https://wiki.installgentoo.com/index.php/Programming_resources

>BUT I WANNA START WITH [language x] INSTEAD!
Sure, if you like. But the languages above are considered good for beginners.

>BUT I WANNA MAKE A COOL WEBSITE!
Learn HTML, CSS, and Javascript.

>BUT I WANNA MAKE iPHONE GAMES!
Learn Objective C and/or Swift.

>BUT I WANNA MAKE ANDROID GAMES!
Learn Java.

>BUT I WANNA MAKE PC GAMES!
Learn patience.
>>
>>61709759
The problem with learning C first, is that it teaches you how it handles things, but doesn't actually teach you what the fuck is going on. Not saying its not amazing, but I don't know about recommending it for someone starting out who doesn't know about threads, memory etc. OOP languages are actually better for that.
>>
>>61709467
"no"
https://en.wikipedia.org/wiki/Fluid_and_crystallized_intelligence
>>
>>61709417
>implying anyone on this board is willing to put in the 80 hr weeks to be top of the field
>>
>>61709626
I guess this is the most solid advice on the thread?
>>
LOL
Retards actually think basic is ded
Look up VBA on Stackoverflow
>>
>>61709889
C teaches variables, assignment, loops, conditionals, functions, and I/O. These are all universal concepts that a programming student needs to fully understand. Yes, C has more complicated stuff, but a student starts with the abc's, not the xyz's.
>>
>>61709447
Why js is so shit
Ehh
>>
>>61708866
OpenGl
>>
>>61708866
>What's a good language to start with?
I'd recommend you html or linux
>>
>>61709608
If you're smart enough, it doesn't matter when you start anything.

Don't be a dipshit.
>>
>>61708866
start off by calling it programming and not coding
>>
>>61710675
Alright, got it
>>
>>61709962
Okay, your point? Pretty sure a 30, 35 year old with dedication and will can master things too. You're mental if you think otherwise.
>>
>>61708866

>it's like playing an instrument.
>most top guns of the field started at < 12 years old
Ever heard of abstract thinking that kids lack when pre-teen? Only if you think of "Look daddy i just made a game in java looking at pajeet's tutorial on youtube on how to make a simple dialogue game using console.log xddddd", that's not even coding, I will tell you that perfect age for starting to code is 17+
>>
>>61710894
Misquote again, fugg
>>
JavaScript then Python. Read SICP.

Don't get meme'd into learning dead languages & frameworks that'll die in a few years.
>>
>>61710801
C O P E
>>
>>61708866
You don't, unless you're a kissless virgin. Evidently being a virgin extremely improves your overall performance.
>>
>>61711255
>unless you're a kissless virgin
dude that's true for like every other poster chances are OP as well
>>
>>61711741
Nah, there are plenty of normalshitters around.
>>
Why is C more recommended than C++?
>>
>>61713648
/g/ in general believes that one should learn how programs work at a low level and move up to high-level abstractions, rather than the opposite. A high-level abstraction is basically the computer doing work for the programmer, meaning it's harder to fuck up your program and make it crash, but it will make your program run slower. C++ has more high-level abstractions than C. C++ and C share some attributes, but C++ adds many many more high-level abstractions and features. So it's easy to transition from C to C++ if you want to learn it. The opposite isn't always true.
>>
>>61714104
Also, the syntax of C is very very similar to many languages today, so if you know C you might be able to look at, for example, Java code and roughly be able to figure out what it does.
>>
>>61714129
Thanks. I took a C++ course a few years ago and was thinking about getting back into coding so I wanted to get an idea if one would be better than the other for any reason. So it seems if I want more control I should stick to C but if I want to write up a fairly quick program, personal time wise, to use C++? In which situations would one be better than the other to use? Or are they so similar that isn't really the case?
>>
>>61713648
C is a pure language. There is little syntax in C, and what exists is all regular and clear. C++ is a very large and bloated language, with many constructs that might be confusing. Having all these features might be useful when developing but is bad for the sake of learning. it's very easy to shoot yourself in the foot with C++ because of hidden behavior, while everything in C is plain and obvious.

>>61714203
You can get just as much control in C++, since almost all of C is valid C++. You can use abstract features or you can use low level features, the choice is yours
Unless you need speed or low-level access, you probably won't use either language.
>>
>>61714203
>was thinking about getting back into coding
Meaning you want to try to get a job, or just for hobby projects?

>if I want more control I should stick to C but if I want to write up a fairly quick program, personal time wise, to use C++?
Despite the high-level abstractions, C++ is a low-level language compared to more modern languages like Python. If it's been a few years and you haven't used the knowledge in the meantime, there's likely a lot you've forgotten and would need to look up while working on a program. In general, C++ is slow to write, again, compared to more modern languages like Python. As far as getting things up and running quickly, both C and C++ are fairly slow to write, again compared to modern languages like Python, but you'd have a stronger grasp on the more general concepts of programming.

>In which situations would one be better than the other to use?
C++ is mainly used for performance-demanding applications like high-frequency trading and video games. C is slightly more performant than C++, but takes longer to write. C used to be used for everything, but these days, C is mainly used for embedded programming, for example a microcontroller in a microwave, or operating systems (the Linux kernel is written in C).
>>
>>61708866
Read a book.
Make projects
Learn programming rather than a programming language.
Read documentation.

The programming language does not depend on prior experience, it depends on the field you want to go into.
Programming is a tool, not a field in itself.
You can describe the world we live in by using a lot of different ways, you can use biology, psychology, physics, mathematics, economy etc.
Programming languages also have different ways to describe the same problem, it doesn't mean you should learn them all at the same time
>>
>>61714440
I guess hobby projects for now until I'm competent enough for a job.
I know a fair bit of python and would be interested in porting a lot of my projects over and doing some new ones like stock analysis and trading (math major so i want to try my hand). It has been about five years since I touched C++ last and even then it was just class projects mainly. I'm not worried about time taken to write programs at all.
>>
File: jfox-selfie.png (453KB, 832x832px) Image search: [Google]
jfox-selfie.png
453KB, 832x832px
>>61709108
>is it bad to start with C
lol
I wonder how many people have left this board in the past 2 years.

Look, maybe rather than obsessing over the "right" way to do something and spending months thinking about *maybe* starting programming, you just start. God forbid, right? Maybe you did something that some anonymous retard you know nothing about doesn't think is the best way to do it [SOMEONE CALL THE POLICE]. Seriously, everyone who has ever succeeded eventually just accepted that there is no perfect way to learn and just do it. Realize this: you will make mistakes. You will waste months on them. It does not matter. Just fucking pick a language that aligns with what you want to do and fucking do it. If you don't want to do anything, why are you trying to learn?
>>
Holy shit the shitters in this thread recommending dead as FUCK languages. In college degrees they start you with C for a reason.
>>
>>61709108
C is a cute little language.

>>61708917
And COBOL is like rearranging your furniture with only your butt. Hard but rewarding.
>>
>>61714926
is it because they expect you to have encountered dead languages in your youth or something crazy like that
>>
>>61708866
Python.
Pick up a starter book, e.g. Python Crash Course. It will tell you everything you need to start with
>>
File: flat,800x800,075,f.jpg (83KB, 800x542px) Image search: [Google]
flat,800x800,075,f.jpg
83KB, 800x542px
Are we gonna have this thread again.

Fucking hell. I honestly doubt OP will spend time learning a Language though.
Thread posts: 67
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.