How did you learn programming? What was your personal experience?
Learning
Other urls found in this thread:
web.archive.org
twitter.com
>How did you learn programming?
by writing small programs
The user guide to my c64
I picked up a C++ book from my father's bookshelf when I was 10 and read it
I like to sit on my tatami mat and program on my mac book pro. I find this really helps me get in the zone and maximize creativity.
I first took AP Computer Science in high school. It was fine. I learnt what I was supposed to learn, in a sterile and artificial environment. Using Java to make calculators and objects and stuff. It was educational, though.
I stayed at that level for a while, until I later had to drop out of college. I found a PDF of the second edition of The C Programming Language, and looked for an OS to work on it with. GNU/Linux distros mostly didn't include a C compiler back then. So I found FreeBSD, with good documentation and other C-friendly aspects. And I learnt Unix and C at the same time. Also mostly making toy programs and Project Euler solutions.
For a few years I mostly got way better at shell scripting, both bourne and korn. It's still what I'm the best at, and is naturally learnt by using Unix.
I began submitting documentation patches to a server program I use, on Github. The server itself is written in C, and despite my lack of confidence in my C skills, I began improving things in the server itself too. Months of that are what genuinely made me better at programming. Did I make mistakes? Yes. But they've been caught and fixed. Sometimes by others and sometimes by myself. And now I'm better and more confident with programming, and with C.
When I was 8 or 9, I wanted to make my own Pokedex like Bulbapedia, so I learned HTML. I made a nice GeoCities site, but knew nothing about PHP or JS or databases or frontend vs. backend, so of course I was coding it by hand in HTML. Needless to say, I didn't get very far. The next thing I remember learning was C++, from a tutorial that I printed out and that used Mexican food for all the examples. I got as far as classes before I got confused and gave up. Then, a few years ago, and I took a programming class at a community college. The class was pretty bad, but about a year after it was over I went through the book and did all the exercises. That's how I learned Java. And I finally understood classes, objects, and OOP. Though I'm not motivated enough to learn enough to make a decent project.
When I was 10 I spot JavaScript book at our shelf at home. The idea that computer can be your extended arm amazed me. I was writing everything in notepad on Windows 2000, it was a bit of pain when I look at it now.
I learn almost every day something new. Usually I pick a good cookbook and documentation and then I try to program only simple things to remember syntax. Then I start looking at github repos and try to copy different styles.
max cringe macfag weebcel.
reading books and dedicating at least 30 minutes to 2 hours a day to it
Besides just reading books and manuals, I like to read about the history and development of a technology. I find it tends to provide insight on why something works the way it does.
>How did you learn programming?
Going to university when I was 21
>What was your personal experience?
I had almost none beforehand.
Bought the Principles and Practice C++ Book when I was 16 and fucking devoured the thing.
Reading source code without additional resources.
holy shit this. reading the source code of a program and playing around with it is one of the fastest ways to understanding a language and how it interacts on a larger scale. reading about functions and pointers and references isn't gonna do shit if you don't know how to use them together
I toyed around with python and Java when I was a NEET then decided to enroll in college as a CS major. Now in my Junior year and I love programming.
automate the boring stuff with python and fucking around with stuff and automating them. for example, i wrote a script that executes ffmpeg on all my flacs and puts them in mega folder. i sync those encodes with all my devices and shit. it was fun and now i don't spend as much time autistically tagging and reencoding everything.
void goodprogrammer(){
Boolean imagudprogramer=book.hasread();
Imagudprogramer?goodprogrammer:cout
>be 19
>go into uni, pick math and cryptography major
>turns out first few years is generic math
>shitty programming course in pascal, my first intro to programming
>professor literally tells us that most of us end up being programmers anyway, what a realistic opinion desu
>math in math major too boring, realizes it has no real world application outside academia unless I go through PhD, which I did not want to
>resign to software engineering (different uni as well), but courses were garbage. low quality uni. what a huge mistake I did
>forward 2 years
>wrote toy kernel, toy compiler, few network clients/servers/protocols, read books, did online courses alongside, grinded a lot outside the curriculum
>learned C, C++, Rust, Lisp, Go, SQL, Python, Erlang, Lua
>bachelor's degree in, got employment, learned even more but now with money
>afterwards, learned about cryptography in relation to computer protocols and high-performance computations. so even fulfilled my original passion.
>built up strong habbit of constantly learning new things and digging deeper into more complete understanding
things are doing fine desu. I've never had such strong passion for anything before.
prime time for my life.
Wanted to make games as a kid and made a shitty mario clone in construct
There is so much wrong with this code ...
where do I get source code
based boomer
B&R
Beginner-ish C/Java programmer here, is learning lisp worth it or is it a meme spread by Jow Forumsoyim?
I've been doing it for 2 years, started with c++ tutorials, and move to the java tutorials, and then started to contribute to my github some shitty projects. Note I spent literally almost every single day at least 1hour on it.
If I can go back in time I would like to spend more time on writing code, than watching tutorials, but this is my own point of view.
Bought a c++ book and wrote a simple terminal based rpg game and kept writing other stuff for fun.
Programing in c/c++ was a required class in my high school that how i learn programing I liked and ended write small progrmangs by fun
>had to learn bash in first year of high school
>C++ in second onwards
>started making Half Life Mods
write programs in Python. Later you can have a look at Ansi C. The web languages are nice to play around with things visually. Other nice languages are Nim, Go, Rust, Clojure. The Supreme languages are Assembler (towards 1 0) and Haskell (towards Y). Also not bad being able to write SQL. Read the web specs. Dont give a shit about OOP. It´s wrong. Use closures, data structures, DSLs, simple ADTs and a decent Editor. I can recommend Code Browser for big projects and Pycharm if you have a high end Laptop. Geany is also pleasant to use, Sublime is overrated. Vim, ok, isnt it 2019? Git can be helpful. Good GUI Frameworks dont exist. Encapsulation and YAGNI is King. Bottom up beats top down (and is more fun).
The best motivation, as others said already, is to have a problem and you want to solve it programmatically.
Im referring to version 4.9 of Code Browser, the last version which had relative indentation, neccessary for indentation based languages.
web.archive.org
You learn a program by doing mini project.
just fork/clone projects off GitHub and play with them