How did (YOU) learn to code?
>>10749032642
>>107490326people telling me I was dogshit and to read manpages until I got it right.
I picked up ISO/IEC 9899 and read it cover to cover over and over again until I knew how to program.
I was in I high school in 2015
id rather not say
>>107490326Readed the manual
>>107490326I was bored during summer and got hold of a computer magazine which showed how to make a simple interactive fiction game in BASIC. I thought it was pretty neat, and I've been coding ever since.
>>107490326at multimedia uni, didn't understand a single thing, but at the internship I did, by myself, and I had a blast, so google and docs I guess
I learned gsmemaker pretty young bug desu self learning young is nog all that its cracked out to be since it took me a while to understand things such as for loops. I still dong know when to apply trig.Lastly most manual coding takes place in ghe docs either way.
>>107490326I went to school and took classes.
>>107490326When I was a kid I found my father's book from collage about visual basic. I didn't knew what compiler or interpreter is, but I figured out that Microsoft office macros use same language and I just started following that book while making macros for MS Access(it had forms with buttons and shit that I could program).
>>107490326With a book, in the 90s.
>>107490467This. My first-semester programmming instructor was very mean-humored and couldn't stand people who made basic-sounding questions (like what different sorting algorithms look like or why while could be used in certain situations that for and if couldn't be used for), but I sure as hell learned a lot from her.
it was revealed to me in a dream
>>107490326Self-taught, trial and error, and limited to strongly typed programming languages.With the LLM, I got some conveniences, but I soon abandoned it, it only gave me wrong answers.
>K&C>nano>gcc>no internet>patience
>>107490326I started with those C++ tutorials on that tutorial dump youtube channel TheNewBoston in the late 2000s. Never really got a good grasp on it. Then a few years later in like 2013 I learned Python on Codecademy or whatever which actually taught me a lot. I fucked with Python for a few years after that until I wanted to make real games so I started learning C# for Unity. This is when I made the most progress with programming. I used that C# Player's Guide book. Then after all that I finally went back to C++ about 5 years ago to use with Unreal 4 and thats all I use now.
>>107490326Thw father of a friend of mine brought an AIM 65 home and my friend and I gave it a try. It had an assembler, no baSIC and we have some simple OPcode lists. And that was all it took to get going.
Chronological order (2023):Automate the Boring Stuff with PythonPython Crash CourseCS50xLearnXinYminutes.comNow I just use manpages or snippets of examples.
>>107490326dota3 custom map
>>107491193I meant wc3 whoops
>>107490326Shell ScriptingCS50Reading source of existing programsMan PagesI then moved from C to Go.
I imagine less people will be learning to be decent programmers with AI turning their problem solving skills to mush. Many people on this board have likely learned at a time when coding agents didn't exist but soon it will be full of people where its all they know
>>107491273What exactly can you learn from man pages? Aren't they just for terminal executables?
>>107491374NtaThe entire C language is in the man pages. It can be a bit terse.
>>107490326I type stuff into chat gpt then paste the results into a notepad file
>>107490326easy, i didn't
>>107490326Making choose your own adventure stories in batch on MS-DOS
M.U.G.E.N. got me into editing config files. But actual(*?) programming was in starcraft/warcraft 3. I helped make Parasite, Angel Arena and a third person samurai game we never released because key input lagged too much.
>>107490326halo custom edition then python in school a decade later. I wish I did more programming as a child but no one around me understood the significance.
>first year: C class, didn't understand shit>second year: C++ OOP class, didn't understand shit>third year: elective Java course: everything suddenly clicks>go back and re-learn C>everything else takes mere days to learn at this point
First I learned lambda calculus, then I read the Structure and Interpretation of Computer Programs and then I read Introduction to Computing Systems: From Bits and Gates and then I learned Rust.
Coding mandelbrot set generators in BASIC
>>107490326>How did (YOU) learn to code?read books and looked at other people's code. taught myself C, assembly languages for various CPUs, python, BASIC etc. the process:>make something>it crashes>find error>make it run>no errors>*mistake remembered*repeat. really is that easy.
>>107490326went to school. But i'm terrible and i hate it. All I do is copy paste to and from chat gpt, and pretend like 2 hour tasks take 2 days.
>>107490326Why would I? AI does it for me better than anyone can manually.
>>107492791because you're not learning anything. you're merely copy/pasting slop it's scraped off of stack overflow and various other websites.
>>107491209lmao "dota3" is a good one
>>107490326the concept? I copied a pong tutorial,1:1, in scratch and tried changing random blocks to see what happens. Something clicked that day, and I've never been the samereal coding? when I got bored and started reading learncpp.com, I learned it the other way around, that is to say c++ first and c later
>>107490326I used sympy to cheat on my calculus homeworks.
>>107490326Glitch city labs taught me z80 assembly back in the day when I was obsessed with the first-gen pokemon games and glitches. I remember studying it in my school library's dogshit laptops. I miss those times. Then I tried learning java but classes made no sense for me at the time, so I went to javascript (and got semi filtered by async/await) and only learned C some time later.
>>107490326by making WoW addons using LUA
>>107490326They forced me to learn it at college and i didint get it for 3 years.Then i had to pause it and go to the army were i was allowed to have a laptop by accident i stumbled into some video on APIs and i made a shit ton of programs and apps.I then got back found a min wage job and studied C and the exams i had leftover.
>>107490401Say
>>107490326ZX Spectrum
>>107490326I dont know how to code, I just put wires together.
>>107490326I installed arch and then just started writing fluent C. I actually don't remember how it just happened.
>>107490326By finding things similar to what I wanted and modifying them. My first major project when I was a kid was taking a FOSS general purpose calculator script and making it a specific calculator for center of gravity (barring Z axis but I was like 12 at the time)
>>107490326Jesse Liberty’s Teach Yourself C++ in 21 Days(It took me longer than 21 days)
>>107490326I remember there was this website that had programming examples of various Visual Basic programs. Like a notepad, music player, etc.I didn't do much programming starting; I just copied the code wholesale and playing around in the Visual Studio project.Eventually, I started making my own programs and implementing features. Sure, very basic, but I liked it!Then I went to school that had Computer Science with programming and learned Java.I was good...but my math skills are terrible. From my understanding of CS and math, the two are intertwined very well.I couldn't crack Linear Algebra and realized the being a programmer will be alot more difficult without decent math capabilities.Every once in a while, I will make a project in Java or Python to make a solution that I needed.While embarrassing, my best project was a Java+Spring Boot project that connected to a database of DLsite RJ I have amassed. It had tagging, search, bookmarking, inventory tracking, and URL management (I had to manually download because I pirated the RJs and the uploaders had some Katfile or ad-money download sites). I made an accompanying Python script to scrape the DLsite and inject into my DB.I wish I was better at Math, but I have trouble with even basic trigonometry like drawing a graphing plot with the Processing application. :( Alas....
>>107490326Made shit for giggles in Paskal in school, never coded anything since. Then I was forced to flee in another country with one little ass samsung laptop and has a grave need to learn a trade in half year I had before my money ran out
>>107493138sounds based, I am going through learncpp.com right now
started with BATCH scripting after seeing a kid in my class do `color 0a` in a command prompt. I would write absolutely disgusting scripts with a bunch of gotos for taking user input and simulating nuclear missile launches. I was obsessed with the aesthetic (funnily enough, before I even knew what a command prompt was, I would do black background, green text word documents on my Vista machine).then I got into Powershell. learned what functions were. starting trying to make symmetric ciphers in fucking Powershell of all things. I really like Powershell because I could use it on the school computers. I would write quick scripts that allowed me to quickly calculate solutions to assignments when we had access to the computer lab.then I learned some basic AutoIT, Perl, PHP, Python, etc. I was not at all good at programming, but I could write basic scripts. I also got extremely into HTML/CSS (again, I have always liked aesthetic things). to this day I refuse Tailwind and other retarded web design shit. I use my trusty CSS reset that I have maintained for nearly a decade. I read the entirety of practicaltypography.com and got super obsessed with typography too.eventually I got into Go. this is when I really started to dive deep into programming. wrote websites. wrote complicated ass algorithms with lots of loops and stuff. I refused to even use a database, so I wrote things like automatic sorting of mutexes with unlocking then relocking of lesser mutexes when adding a new mutex to the lockset in order to avoid deadlocks. I did not even know what database transactions were (they are fucking amazing btw), but I knew that mutexes were fucking cursed.then I learned Rust, Elixir, Clojure, some Common Lisp, some Racket, some Haskell. Rust and Clojure are what I primarily write these days. oh, and SQL. lots of fucking SQL.
>>107490326when i was like 8 i saw some kid in my class doing 10 PRINT "HELLO" 20 GOTO 10 and my mind was blownthen i found all this BASIC shit in the manual for our dot matrix printer so i typed it in to see what happened. pic related30 years later i code VBA in my day job lmao
>>107500617I say face what u struggle with and conquer ityour best project is only slightly more complex than a web dev bootcamper's final project
>>107490337Bullshit, but I spare if troll.
i wouldnt consider myself to have learned how to code until about the 2 year mark at my first job. it was an intense amount of work.
>>107490326I followed a guide and referenced docs on MDN. Made various little projects to build up my skill level until I could get a job.And then from that point onward learning any other language is just a matter of making similar little projects. Recently I've been playing around in BASIC after discovering a love for retro computers.
>>107490326Amstrad CPC type-in programs from magazines.I literally used to type in code before I would learn how to write in school because I was like 4 years old