[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]

Programming

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: 32
Thread images: 4

File: IMG_2087.gif (133KB, 480x270px) Image search: [Google]
IMG_2087.gif
133KB, 480x270px
Dumb question here,
I want to get into programming and coding, where do I start?

(I would've googled this but I prefer the personal response from your narcissistic aggregate)
>>
If you want to pick it up as just a hobby, I'd say start with C, it may be a bit more frustrating at times, but you'll come out with a good fundamental understanding of whats going on under the hood.

I have C Programming a Modern Approach 2nd edition on my bookshelf, but as I'm looking to do the second thing it'll sit there a while.

The second thing is that if you want to get a job with it, and you have some kind of reason to want to do so quickly (i'm looking to get out of construction) Java is the most used language in the work place so starting there would be good.

I got Head First Java 2nd edition that I'm about to start myself as I've heard its a great start for Java.
>>
>>59070200
Pick some kind of project to work on, after you get the basics of the language down. (>>59071737 recommended C, that's not a bad choice for a first language.) Work on that, then move on to a more complicated one.

Might want to check out Project Euler.
>>
Are you over 25?
>>
>>59070200
Install an editor
>>
>>59071737
don't listen to this retard and his book advice,
best beginner C book is 'pointers on c'

also don't start with C altogether, you won't be able to do anything useful with it for a long time, you will loose motivation, burnout and probably commit suicide.

start with high level language with big existing ecosystem and slow moving pace ie Python
>>
>>59072723
This, you should do Python first before C.
Once you finish it, other programming languages will be easier to understand and that includes C.
>>
>>59073098
This millions of times this.
C requires basic understanding of PC architecture. You will have no clue what is stack/heap, you really don't want to get into that.
Python solves this for you, so you do not need to know about all that junk.
>>
>>59070200
I'm gonna talk in general, I've liked this list

https://github.com/open-source-society/computer-science

I only have to get around to actually watching some of the videos soon because there are some topics in there I'm braindead about.

Also, books are love and life. PDFs will not do it. Seriously, you'll stash it away for months at a time and when do you get around to it, you won't remember shit.

Video tutorials are hit and miss, you may come across one that may be interactive but doesn't teach you much, or one that'll bore you to death. Trust me, just pay attention to the one that'll bore you. I started Java with a half assed video series that walked you through the IDE but didn't explain anything. I didn't even know what the other primitive types were after "graduating" that thing.

Anyways the /g/ wiki's got some "god tier books" you might be interested in after grasping the basics.

https://wiki.installgentoo.com/index.php/Programming_resources#God-tier_books
>>
>>59070200
m.i.t. opencourseware. basically it let's you audit past lectures and course work of classes for pretty much any subject you can think of. also it's not an m.i.t. exclusive thing, lots of colleges/universities do it. only drawback is you don't get any course credit or anything, it's purely for self betterment
>>
File: hortl.jpg (55KB, 900x900px) Image search: [Google]
hortl.jpg
55KB, 900x900px
>>59070200
First find what you want to do as a programmer. I started learning about game engines first but there are many other things to do. I started with C++ (really should have started using C) but the C languages are probably the best to start using.
>>
>>59070200
>Head First Java
Pretty much how I started, also friend of mine's first book. We're both jr. devs with unrelated college degrees.
>>
File: Screenshot_20170222_212934.png (73KB, 809x298px) Image search: [Google]
Screenshot_20170222_212934.png
73KB, 809x298px
>>59073294
Oh man I loved that book. I picked up Core Java recently to get a deeper understanding about Java and I found this.

You know what they're referring to ;_;
>>
>>59070200
nice dubs there amigo.
First you need not to shower for 3months and proceed from there
>>
java is trash as first language
its verbose, vm, camelcase, naming.isShitty.AsFuckYouMightBeWritingANovelAsWell(), also oop for everything, your mind will be rotten for a lifetime.. to all of you who started with java - my sincere condolences
>>
File: Bestpythonbook.jpg (23KB, 260x338px) Image search: [Google]
Bestpythonbook.jpg
23KB, 260x338px
>>59073098
>>59070200
Oh and also OP, you should read "Learn Python the Hard Way".
Literally the best book to jump into Python with, and it's free without videos.
https://learnpythonthehardway.org
However if you want to ignore our advice and you feel comfortable going into C, the author also has a book for that too.
>>
>>59070200
Think of something you could automate in your life and make code for it

language you start with doesn't matter, start with one that's beginner friendly cuz more resources, tutorials, etc
>>
>>59073490
>learning Python the hard way

More like learning Python the wrong way
>>
>>59073467
I actually started out with java and only got through 50% of it before my brain turned to mush.

Take my advice OP, stay far the fuck away from Java if you're just starting out.
>>
>>59073490
>"Learn Python the Hard Way"
No.
>>
>>59073490
>leddit

Read this and reconsider

https://www.reddit.com/r/Python/comments/40s6dm/meta_can_we_take_learn_python_the_hard_way_off/

There is literally no reason why a beginner should be learning Python 2 over 3 now.
>>
>>59073490
>Python 2
Start with Python 3
Think Python is good
>>
>>59073490
This book really sucks because the author is a real life retard. Start with "Automate the boring stuff"
>>
nick parlante python google class ftw
>>
>>59073575
>centos 7 end of life 2024
>ships with python2
where is your god now
>>
>>59073582
i love nick parlante

codingbat.com
>>
>>59073467
I'm starting with C#

is it any better?
>>
>>59070200
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.
>>
I'm learning C now by working through the K&R book. I like how the book is very concise, but it's also a disadvantage for a newbie like me because it doesn't provide in-depth explanations for the concepts being taught.
>>
>>59070200
Javascript. There are tons of tutorials online. W3schools being one of those places. You can even run the examples in your browser without downloading anything.
>>
k&r is a shitty beginner book
read Programming in C or C Programming A Modern Approach
>>
>>59074118
https://www.youtube.com/watch?v=9TZCnY2H8ac
Thread posts: 32
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.