TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: If you could start over, how would you learn programming now?

13 pointsby newsoulover 2 years ago

12 comments

karmakazeover 2 years ago
They way I first learned was on an Atari 8-bit. I had friends that also had the same computer. We wrote programs and showed each other what we made or learned.<p>I would hope that something similar is still possible. The most obvious is learning javascript and making browser plugins with the ubiquitous &quot;View source&quot; as inspiration (though much less so with React etc, but you can still mess with the properties&#x2F;css).<p>Ideally it would be good to get set up to auto-deploy a website (e.g. Netlify) based on code pushes, even if the setup is done for them. This way they can have a hobby website that they can keep changing and the results are immediately show-n-tellable to anyone on the internet. For backend, maybe something like Firebase or equivalent.
profstasiakover 2 years ago
My brother wants to learn programming.<p>I am mulling this over, but I think I will recommend python and django. He can learn to old school web apps, focused on serving http from the server. Then he can move into more interactive stuff with javascript.<p>If there was a library&#x2F;framework similar in scope to Django&#x2F;Rails with a lot of documentation I would recommend that one. Even though Javascript seems like a good language that you can achieve a lot of with, lack of one big framework makes it hard for new programmers to learn the ropes.<p>I am curious about opinions of others. My brother did program a bit in python, creating a text game that gave him a lot of interest in programming, but other than that has very limited knowledge.
eimrineover 2 years ago
I would prefer Databases instead of Frontend and I would master vim right after I started to touchtype. Also I would start my SICP journey way earlier. And please do not give me an access to OS Windows!
评论 #33344333 未加载
rrwoover 2 years ago
I learned how to program on personal 8-bit computers using BASIC as a teenager in 1980.<p>There were no data structures besides arrays, and there was no theory. The internet was not available to mere mortals and books and magazines were expensive. There wasn&#x27;t any other option at the time, and the only classes were in high school or university.<p>Half of what I learned was by reading source code to other programs that were shared (printouts from friends with access to universities, or from magazines).<p>I don&#x27;t think I really learned how to program until I was in my late 20s and fell into doing it professionally. (At the time I thought I was a better programmer than I actually was.)<p>So, I do wish I learned to program in a better language, with data structures and a smattering of theory&#x2F;discussion about algorithm efficiency. Probably a tutorial that progressed towards making something fun and interesting, like a simple space invaders-like or text adventure game.<p>But I would not change the part about reading source code.
评论 #33347652 未加载
willio58over 2 years ago
I wouldn&#x27;t change a thing. I learned programming by watching youtube videos on how to create a soundboard app for iOS. I ripped audio files from Napoleon Dynamite, hooked it up with near zero knowledge of what I was writing, and launched it on the Appstore under my Mom&#x27;s name since I was like 13. Made ~1000$, got a cease and desist from Fox, and deleted the app. Later that year I learned about open source apps, basically ripped off a pong game I found, and subsequently got a cease and desist from Atari.<p>Since then I&#x27;ve fallen in love with code, become a senior dev, and developed morals when it comes to using others&#x27; code. But still, I wouldn&#x27;t change a thing.
nh23423fefeover 2 years ago
I learned js in 90s and C in 2000s in HS. I would write &lt;script&gt; inside html files to code at first.<p>If I had to do it all over I would start with robotics and competitive programming and something with databases. Robotics is mathy and library heavy and deals with real objects. Code golf is super math and easy to get into a tight loop and teaches you to research algorithms. Databases are just so useful and are a better way of learning APIs i think compared to restful stuff.<p>I don&#x27;t think the beginning matters really. You have you love it to do it for decades, and if you love it you&#x27;ll get good at it. Dont have to look back and think &quot;aha that path was optimal&quot;
Comeviusover 2 years ago
I would probably start with JavaScript and TypeScript, because you can build so many things with them. You can be very productive and employable with them. But then I would probably want to dig deeper, and start learning C, Zig, with a side order of WASM, along with data structures and algorithms, operating systems, processor architectures, memory hierarchy, network layers and protocols and all that. I would still keep mastering my web knowledge though, eventually including Remix, Qwik and similar JavaScript frameworks and the paradigms they introduce. I wouldn&#x27;t miss Martin Klepmann&#x27;s Designing Data-Intensive Applications book either.
perrygeoover 2 years ago
I took a few core CS classes throughout university in the late 90s&#x2F;early 2000s - database design (Oracle), general programming (C++, Java), unix (Solaris) that were foundational. But for the most part, I focused on building domain expertise. Writing software was just another tool in my toolkit. Most of what I discovered was through pragmatic application, just-in-time learning.<p>20 years later and all I do is write software. If I could start over, I&#x27;d spend a few years on the fundamentals. Learning programming for the sake of programming. Understand how computers actually work, detached from my work goals.
anta40over 2 years ago
Stop trying many programming languages. Eventually you&#x27;ll become a &quot;jack of trades, master of none.&quot;<p>Pick one or two, then try to master them for different purposes, say Dart&#x2F;Flutter for frontend, and Go&#x2F;Rust for backend.
评论 #33346940 未加载
评论 #33347254 未加载
beardywover 2 years ago
Always have an objective. To me if you don&#x27;t have a reason to code you won&#x27;t learn. Theory and exercises are ok but nothing beats getting something done.
coding123over 2 years ago
I wouldn&#x27;t, I would build houses instead.
x86hacker1010over 2 years ago
Start with assembly, C and systems to better understand the “why”. As a freshman in college my first stab was learning Django and trying to make apps. I really missed understanding things early on that make things work