[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
I want to start learning to code. What languages and resources
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 43
Thread images: 8
File: 1456892956507.jpg (969 KB, 2048x1365) Image search: [Google]
1456892956507.jpg
969 KB, 2048x1365
I want to start learning to code. What languages and resources should I start with?
>>
Imma bump you and save your pic. Good luck
[spoiler]php bruv[/spoiler]
>>
>>53283852
>search for the new boston on youtube
>pick one off his tutorials
>>
>>53284332
Please don't do this.
>>
File: 1449732194261.png (296 KB, 649x649) Image search: [Google]
1449732194261.png
296 KB, 649x649
>>53284332
>TheNewBoston
>>
File: happydrake.jpg (11 KB, 252x87) Image search: [Google]
happydrake.jpg
11 KB, 252x87
>>53284465
>Drake
>>
>>53283852
Do CompSci 101 from MIT at edX.org or do Harvard's CS50 course.
They're very challenging if you have no experience though.
>>
>>53283852
Start with Java. It's a good language that is used for lots of things includinng Android development. It has great resources and official documentation online too.
>>
>>53284823

CS50 is good actually, you'll write some C which is cool

you can also do LPTHW

or I like "Learn To Program" by Chris Pine

you will feel like an idiot for the first 5-6 weeks. it is normal, everyone does. it gets easier.
>>
File: 1456418391227.jpg (166 KB, 1000x1000) Image search: [Google]
1456418391227.jpg
166 KB, 1000x1000
>>53284490
>mouthposting
>>
>>53283852
I recommend Python for learning the basics logics of programming and algorithms and data structures. There's no need in learning a syntax heavy language that needs compiling or an IDE for using it.
>>
>>53283852

STOP ASKING THIS QUESTION RIGHT NOW AND GO TO CODEACADEMY.COM AND JUST DO THE PYTHON ONE.

People spend WEEKS 'researching' this question and then end up doing nothing. The answer is that it won't take you very long to learn a language if you just do it and then from there it will be even easier to learn new ones. So just go do it.

You would be almost done with the CodeAcademy course for Python by the time this thread dies, seriously.
>>
Read the fucking SICP
>>
>>53283852
Python
>>
>>53283852
I started learning Python a week ago. It's boring at first but when you start to understand it, shit gets pretty fun.
>>
>>53283852
Literal c++ or python
>>
You a masochist? Perl. The libs are included on anything after System V, you don't need to compile it and you'll learn straight away to not balk at dense, arcane syntax.
>>
File: 1439120782512.png (315 KB, 530x580) Image search: [Google]
1439120782512.png
315 KB, 530x580
>>53283852
If you are fine with learnibg a script language first, go for Lua. If you don't mind starting with an object oriented language, go for Java or Python. Personally I'd recommend Java, I learned it in under 6 months and at that point I was already getting friendly with key listener events anf J framing. (Your learning experience will vary)
>>
bump

in the same boat as op
learnt quite a few programs but i had nothing to do afterwards (finance student)
>>
File: SCIPVN.webm (3 MB, 1280x720) Image search: [Google]
SCIPVN.webm
3 MB, 1280x720
>>53286312
Scheme is love,
Scheme is life.
>>
>>53287077
Perl even relivent any more?
>>
- Codeacademy
- A Byte of Python
- cybrary
- A GNU/Linux distro
And don't forget to check the link in the fucking sticky if you need help.
>>
>>53283852
Go and learn C++, and when you know C++ you shouldn't have a problem learning other languages.
>>
>>53289847
What if I can do very basic things with great effort (file manipulation, functions, including other files, simple objects, etc) in C++ but have no idea how to progress?
>>
>>53283852
Languages: C and Python

Resources: K&R C, Headfirst C, Learn Python the Hard Way, Automate the Boring Stuff with python

Text editor: vim

OS: gentoo

Also learn how to use gnu screen
>>
File: 1443652953589.jpg (37 KB, 348x342) Image search: [Google]
1443652953589.jpg
37 KB, 348x342
>>53289075
wait did somebody make a VN on SCIP?

Am i being trolled? Or were can i get it?
>>
>>53286241
>>53289108
>>53290005
I started to learn how to code with Python via Codecademy, kept getting stuck because they wanted you to format things in a very specific manner even if the code would run, and wouldn't tell you what they expected to be different.

I found myself having to look at the guides and do things the same way with different labels and shit to progress, without understanding if there were any differences or anything. It was just really hard to learn from it.

That being said, I was maybe halfway through the course when I realized I still had no idea how or what I'd actually code after I was done. I don't think I'm a visionary, or that I am a thought guy. I think I'm better at creating things people want, but everyone recommends making things you want to make to learn how to code.

So basically, I'm just not sure if coding is for me. I'm shit with math anyway. Fuck my life.
>>
>>53290065
bruh please, i dont know what to code too, but the process of getting more information and learning to code in general is just pleasing.
youre just at the start of everything, its the base of something completly new for you

so learn or piss off
life is meaningless, do what you want
>>
>>53289092
are you?
>>
File: 4406496.jpg (65 KB, 671x611) Image search: [Google]
4406496.jpg
65 KB, 671x611
>>53290065
pic related

try these:

- http://learnpythonthehardway.org/book/
- http://learnrubythehardway.org/book/
- http://eloquentjavascript.net/

...then go with the one you enjoy most and bounce from there.

what to code?
cover version of something you like
app for a business you like
>>
So you want to be a developer and want a place to start.

My suggestion is to start with a language that is relatively easy to learn. Python is a good way to start.

After you've finished your first book or video tutorial try to solve some basic problems. Search "beginner programming exercises" and do as much as you can.

After you've completed lots of exercises and you feel like you know the language pretty well, pick a topic (like web development or anything else) that you enjoy and search the job market for trending frameworks.

It is important to enjoy what you do and feel like the thing you are learning can make you money some time in the future.

After completing the tutorials for the framework of your choice, you should start a project on your own. Start with something simple and make it incrementally more and more complex.

If you picked web development, never start with something like Facebook. Break it down to core features and implement one at a time perfectly. Build a system where people can register and have profiles first. When you think it's perfect, go on to the messaging system, etc.

After you are finished with your project in some months or a year, you should learn other languages aswell. It is a good idea to specialize and know the in and outs of a single language but you are still in the learning phase.

Pick a language that has features that the current one lacks or pick something completely different (like going from C to Haskell or from Python to C#).

Repeat the same process as you did with your first language but pick another area for you second project.

Now you should have a somewhat solid understanding of at least two very different languages and you can decide what direction you want to go in.

>cont.
>>
>>53290688
Now pick one of the above (or something completely different that you came across during your time of research) and stick with it. This will be your primary language. You should learn everything about it, watch videos, read books, blog articles, everything.

In the mean time, you should start developing your third project, this time make something that you can put into the "references" part of your resume.

Make it perfect and work hard on it. As you make progress, you can start searching for junior developer jobs that do not require a CS diploma.

This process should take you a few years but at the end you will have a solid understanding of at least two or three completely different languages and platforms, which is something that most programmers who follow one way like a religion lack.

You have different viewpoints and know different ways to solve a problem. Congratulations, you can start your carrier as a developer.
>>
>>53290743
How much of what you've suggested is applicable to someone who's going to school full-time for CS, potentially at a top 10 uni if I get accepted? Point being, I'll be fully engaged with a top tier curriculum, is it still advisable to allocate as much time as you suggested to doing extracurricular learning?
>>
>>53291134
Universities give you a very strong basis that you can build upon. It is still a good idea IMO to learn on your own and do projects.

It will give you a big head start when you finish the university as you will have next-to-real experience.

Knowing the basics and the theory makes you a good coder, experience makes you a good developer.
>>
Start with C.
>>
>>53290164
I guess that's my difficulty. I'm used to being able to understand the big picture of most of the things I learn, before I can understand the inner workings, fine details.

I don't think I can do that with programming, I'm learning a -completely- new thing, and that's causing me some huge issues.

>>53290371
I'll look into those links, thanks.

>>53290688
I guess it's just hard to know if I want to be a programmer when I don't understand the scope or scale of the job itself, the moment to moment work. I don't know if I'd be good at it or like it. And I've never been much of a self-guided learner on hugely difficult things.
>>
>>53291349
>I guess it's just hard....

That is why doing projects on your own are a good idea. It is the best way to get to know the daily work of a developer
>>
>>53283852
So you want to learn programming?

You will need to pick a starting language. You will learn more later, but for beginners, there are generally two recommended "programming families" that you can choose to start learning:
-Dynamic programming languages, such as: Python, Perl, Ruby, Lisp
-Structured programming languages, such as: C, C++, Java, 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.
-Dynamic programming may be a bit more suitable for those who need their programs to do heavy mathematics, and thus it is more popular in academia.
-Structured programming is a bit more suited for making general applications, and thus it is more popular in industries.
If you cannot decide, flip a coin.

If you choose dynamic 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://learnpythonthehardway.org/book/
http://www.codecademy.com/en/tracks/python

If you choose structured programming, you may want to start with C or C++. C is very well documented, and C++ is generally "C, with a few extra concepts added". Sources:
For C:
http://www.cprogramming.com/tutorial/c-tutorial.html
http://c.learncodethehardway.org/book/
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

>BUT I WANT MORE SOURCES!
Read: https://wiki.installgentoo.com/index.php?title=Programming_Books

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

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

>BUT I WANNA MAKE ANDROID GAMES!
Learn Java.

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

>BUT I WANNA MAKE PC GAMES!
Learn patience.
>>
>>53283852
>What languages and resources should I start with
C++
http://4chan-science.wikia.com/wiki/Computer_Science_and_Engineering
>>
>>53289964

Learn data structures and algorithms
>>
>>53284157
same
>>
>>53283852
bullets & a glock sempai senpai 2bh desu baka s.m.h.
>>
>>53290243
to you
Thread replies: 43
Thread images: 8

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

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.