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

Learning 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: 36
Thread images: 5

File: Screeching-autistic.jpg (25KB, 505x405px) Image search: [Google]
Screeching-autistic.jpg
25KB, 505x405px
So I've decided to start learning programming so I can contribute to some Open source projects and to make my own programs.

What is the best way to learn? I tried watching Java tutorials on YouTube, but I'm lost after 5 minutes. I've been thinking about learning Ruby, but I don't know if that's the right way to go.

Please help.
>>
every fucking day

just go through this and see what you want to do from there
https://www.youtube.com/watch?v=tKTZoB2Vjuk&list=PLC8825D0450647509
>>
Try with something simple like Python instead (although python is not a programming language)
>>
As this thread is here, I will just ask here... Where can I find good documentation on C?
Found a ton of C# and C++ but almost no C.. So if an anon could help me out that would be amazing..
>>
>>60531334
>I've been thinking about learning Ruby

Are the open source projects you want to help with written in Ruby?
>>
>>60531367
>Python is a widely used high-level programming language for general-purpose programming, created by Guido van Rossum and first released in 1991. An interpreted language, Python has a design philosophy which emphasizes code readability (notably using whitespace indentation to delimit code blocks rather than curly brackets or keywords), and a syntax which allows programmers to express concepts in fewer lines of code than possible in languages such as C++ or Java.[22][23] The language provides constructs intended to enable writing clear programs on both a small and large scale.[24]

but hey! some autist doesn't like it, so it must not be a REAL programming language.
>kill yourself
>>
>>60531378
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf
>>
>>60531379
There are a few, but it's not that common I know. I'm just thinking that since it's newer maybe it's worth learning.
>>
>>60531354
Cool. Thanks
>>
>>60531401
Ok, that's fine, it doesn't really matter how you start. I would pick just one open source project for now. Learn its language. The project probably has an IRC or a mailing list. Ask how you can help. Ask how you can learn the language and the codebase. Maybe find a mentor in the community. Read the docs for the project, read the open bugs against it, read the code as much as you can. Just be as involved as possible in any way you can and it will snowball into being a code contributor in no time
>>
>>60531393
looks good, but isn't there anything that is not as technical or at least better to look at?
Kinda lost my programming boner seeing that...
>>
File: 1493817354195.jpg (23KB, 552x535px) Image search: [Google]
1493817354195.jpg
23KB, 552x535px
>>60531462
You're either from /v/ or India, and you need to fucking leave
>>
>>60531334
This book is good for people who don't grasp how programming works yet. https://www.ida.liu.se/~732A47/literature/PythonBook.pdf
>>
>>60531510
Sir, why are you speaking bad about INDIA?
>>
>>60531510
Nope, never been to /v/ and am not from india.
Just looking for an easy to understand starting point for C.
I don't say I can't learn from this but there must be an easier way than an ISO standardization.
>>
>>60531577
Because INDIANS think the phrase "all roads lead to Rome" is a reference to revolutionary Roman sewage technology
>>
>>60531367
> not compiled == not a programming language
> follows all normal programming paradigms
> pretty much a C wrapper

I like C as much as the next guy, but Python is really fucking comfy for writing quick throwaway tools, especially web scraping ones
>>
>So I've decided to start learning programming so I can contribute to some Open source projects
You mean so you can fuck it up with your noob code.
>>
>>60531334
>What is the best way to learn?
not giving up after 5 minutes
>>
>>60531659
python is a fucking mess, perl does everything python does but better
>inb4 muh line noise language
only skiddies can't understand perl
>>
>>60531661
>*this is the end of the program, yay! XD*
>>
>>60531698
>implying I only use python

I like perl as well, but python is my go-to language for quick programs.

Most of my perl is for modifying my sqeezebox these days anyway. still a really nice language though, just not as comfy as python in my opinion
>>
>>60531661
this.

I don't think anyone has a problem with people wanting to contribute to open source projects, but you need to understand the language like the back of your hand before you start committing.
>>
>>60531599
I'm pretty new. I started with Python but I quickly found it to be useless. It was a good introduction to programming but it rapidly turned into "finding which library to import and how to stitch shit together". It's easier, sure, but it doesn't work for me. I feel this constant discomfort nagging at me when I don't understand how shit works, and Python obscures everything from you. Now I'm learning C and while it's certainly harder, I actually implement shit myself and understand how it actually works, which I think is worth the effort. Just read K&R, also you can check out this course. It's got lectures if you're into that, I usually prefer reading to learn stuff, but it helps to read it once, then watch through the lecture while I'm eating or something, then actually implement the concept myself.
https://cs50.harvard.edu/weeks

Oh, and skip that first week where they use Scratch. I don't think there's any value in that unless you're a complete brainlet and if that's the case just give up now
>>
>>60531814
>I'm pretty new. I started with Python but I quickly found it to be useless. It was a good introduction to programming but it rapidly turned into "finding which library to import and how to stitch shit together"
that's every programming language bro
>>
>>60531826
Only libraries I've used for C this far is math and stdio.
>>
>>60531857
And I bet the only programs you've made would have been considered trivial even in 60s
>>
>>60532131
No doubt. I'm not trying to create some huge complex program, I just want to learn how programming and computers and networking works
>>
>>60532688
You can do all that in Python. And if you use some library or built-in thing that you wish you understood better, just read the source code for that thing. I actually almost never look at the python docs. I'm either looking at the standard library (written in Python) or the built-in stuff (written in C)

And it is professional C and python code, you will learn a fuckton about writing good code by reading it
>>
File: IMG_0706.jpg (174KB, 525x1710px) Image search: [Google]
IMG_0706.jpg
174KB, 525x1710px
>>60531334
>>
>>60532688
Anyway my point is that for anything non trivial you're going to end up using a bunch of huge abstract libraries, even in C
>>
>>60531334
OP if you're having trouble learning coding through the more traditional methods try just doing a bunch of coding challenges. I was having trouble wrapping my head around arrays so I just looked up coding challenges; I'd look at what they wanted me to do, make an attempt, and then look at the answer. Eventually you start to pick up on things and it clicks like "they keep using that like that, ohhhh that makes sense now". Just practice, like anything else you need time under your belt
>>
>>60531334
>>60531378

INTRODUCTION
How to read code: http://worrydream.com/LearnableProgramming/
How to think programming: https://www.reddit.com/r/learnprogramming/comments/2qznse/i_need_serious_help_learn_to_program_was_my_new/cnb1luk
Understand abstraction: http://worrydream.com/LadderOfAbstraction/

TOOLS
GCC and Make - A Tutorial on how to compile, link and build C/C++ applications: https://www3.ntu.edu.sg/home/ehchua/programming/cpp/gcc_make.html

C GUIDES
How to Think Like a Computer Scientist: http://greenteapress.com/thinkcpp/index.html
C Tutorial - Learn C: http://www.cprogramming.com/tutorial/c-tutorial.html
Learn C The Hard Way A Clear & Direct Introduction To Modern C Programming: http://c.learncodethehardway.org/book/
Introduction to Computer Programming, Part 1 - FREE COURSE: https://www.edx.org/course/introduction-computer-programming-part-1-iitbombayx-cs101-1x

C FAQ
C - For Dummies: http://www.dummies.com/how-to/computers-software/programming/c.html
C Frequently Asked Questions: http://c-faq.com/

EXAMPLES
FizzBuzz - Rosetta Code: http://rosettacode.org/wiki/FizzBuzz
Algorithm Implementation - Wikibooks, open books for an open world: https://en.wikibooks.org/wiki/Algorithm_Implementation

PRACTICE
C/C++ Programming Practice Problems: http://www.cprogramming.com/challenge.html
Project Euler: https://projecteuler.net/
>>
>>60531334
Learn C
>>
File: 1493608575789.png (186KB, 416x404px) Image search: [Google]
1493608575789.png
186KB, 416x404px
>>60533616
Good post anon
>>
File: oDnrU2y.jpg (133KB, 638x714px) Image search: [Google]
oDnrU2y.jpg
133KB, 638x714px
>>60533616
My man
Thread posts: 36
Thread images: 5


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