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.
Try with something simple like Python instead (although python is not a programming language)
Jayden Myers
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 user could help me out that would be amazing..
Henry Flores
>I've been thinking about learning Ruby
Are the open source projects you want to help with written in Ruby?
James Ortiz
>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
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.
Owen Turner
Cool. Thanks
Jacob Clark
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
Dominic Rogers
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...
Nolan Gonzalez
You're either from Sup Forums or India, and you need to fucking leave
Nope, never been to Sup Forums 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.
Landon Martin
Because INDIANS think the phrase "all roads lead to Rome" is a reference to revolutionary Roman sewage technology
Sebastian Taylor
> 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
Nicholas Young
>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.
Samuel Mitchell
>What is the best way to learn? not giving up after 5 minutes
Camden Powell
python is a fucking mess, perl does everything python does but better >inb4 muh line noise language only skiddies can't understand perl
Noah Bennett
>*this is the end of the program, yay! XD*
Isaac Diaz
>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
Kevin Thompson
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.
Lincoln Cox
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. 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
Aiden Hill
>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
Leo Walker
Only libraries I've used for C this far is math and stdio.
Luis Collins
And I bet the only programs you've made would have been considered trivial even in 60s
Nicholas Nelson
No doubt. I'm not trying to create some huge complex program, I just want to learn how programming and computers and networking works
Liam Collins
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
Aaron Edwards
...
Zachary Martin
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
Luke Parker
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