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: What Got You into CS?

14 pointsby nigamanthover 2 years ago
I remember how I got into CS, it was by reading a book which broadly discussed CS topics and my reaction was that I wanted to learn more.<p>How about you? How did you get into CS?

20 comments

bchernyover 2 years ago
10 years of writing code (PHP, JS, SQL, Basic) without knowing anything about CS, then realizing the intuitions I developed are beautifully explained by existing CS concepts (thanks to someone’s post on Reddit, I think). I was a professional engineer for years before understanding complexity, algorithms, data structures, memory management, “CS”.<p>After dipping my toes in online, I picked up the Red Book, then a bunch of functional programming books, then a bunch more books. This unlocked Scala, Haskell, and other languages that I now love. I went to meetups to practice Leetcode problems, gave a few talks on data structures, then started my own meetup. As I learned more, grokking types was the best part: it was an experience that kept blowing my mind, every step of the way.<p>I then wrote an O’Reilly book myself, hoping that a few others might have the same experience I did.<p>I still wouldn’t say I use CS concepts much day to day. But they do come up maybe once a week, and they do give me a deeper appreciation of programming than I had before.
redditor98654over 2 years ago
I come from a country that is very hot. This was back in 2000. I had decided to go into CS, because I knew CS classes and labs were held in mostly AC rooms giving respite from the heat.<p>I could not be more naive but somehow so lucky that things turned out so well considering the original rationale of my life-altering decision.
hypertele-Xiiover 2 years ago
I wanted a Nintendo 64, but mom talked me into accepting a computer, on the grounds that you can do more than play games with it.<p>Games used to have uncompressed assets and plain text configuration, so I learned a little about how computers work through modding and hacking. I dabbled in simple programming environments like ZZT or Game Maker, but things only really clicked when I started making websites with PHP, right around the time CSS came out.<p>Then languages begun evolving in usability beyond C&#x2F;C++ and Java, I picked up D and wrote my first console program. It was still game related, renaming my Moonbase Commander replay files collection to appear chronologically in the in-game browser. I realized programming didn&#x27;t have to be painful anymore.<p>Then the scripting language revolution happened, first I wrote an AI for OpenTTD in Squirrel, then the similar but even better Lua appeared and now I&#x27;m developing a game.<p>I&#x27;d always kept studying across the Internet though. Reading tutorials, SIGRAPH papers, forums, hobby collaborations, etc. while trying to figure out not just how computers work, but how I could make them work <i>for me.</i> Oh and I took two years of electrical engineering where we designed and programmed microcontrollers. And I&#x27;ve played every Zachtronics game. Toyed with esoteric stuff like Brainfuck and Corewar, just for the sport.<p>One of my favorite activities is watching people play games while trying to figure out how they were programmed. Speedrunners discovering glitches and exploits reveals a great deal of the inner workings.
thw09j9mover 2 years ago
I&#x27;m chronically ill with an idiopathic incurable condition. I started coding out of necessity - my first program was a script that crawled Pubmed and analyzed what drugs were most frequently mentioned, what countries were doing the research, etc.
underwaterhouseover 2 years ago
When I was in middle school I&#x27;d make little static sites in HTML&#x2F;JS&#x2F;CSS just for fun. The immediate feedback was good motivation for me. I never considered working in software<p>When I was at uni, I initially started as a business major and wanted to do finance or something. In hindsight I really didn&#x27;t know what the hell I wanted to do, so I just did that because it seemed like a safe choice. I really didn&#x27;t like it, just because most of the actual stuff we were learning was either accounting, how to use excel, or &quot;how to create your personal brand&quot; (yuck)<p>After one year of those classes I looked at my schedule, saw all of the classes were in business hell, and was <i>really</i> unhappy about. I wanted to switch majors but didn&#x27;t really have an idea. I considered CS but held back because two people I knew through mutual friends (and weren&#x27;t very fond of) were in the major<p>I picked CS and then realized I actually liked writing programs to solve problems, but just needed some sort of structured guidance like what a university offers in a 4 year degree. It was pretty easy ngl, but I wish the actual job was less annoying boilerplate stuff and more writing code
nathellover 2 years ago
I recently blogged about this. In Polish, but Google Translate does a recent job of conveying the story:<p><a href="https:&#x2F;&#x2F;plblog-danieljanus-pl.translate.goog&#x2F;2022&#x2F;12&#x2F;24&#x2F;jak-zostalem-programista&#x2F;?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-US&amp;_x_tr_pto=wapp" rel="nofollow">https:&#x2F;&#x2F;plblog-danieljanus-pl.translate.goog&#x2F;2022&#x2F;12&#x2F;24&#x2F;jak-...</a>
stevekempover 2 years ago
Was given a ZX Spectrum, at age 11. Unfortunately the cassette-player was broken, so we couldn&#x27;t load any games from tape.<p>That meant I spent the Christmas period reading the manual, which explained how to write BASIC and from there I taught myself Z80 assembly-language.<p>Initially my interest was in hacking games, both to remove the copy-protection, and to get more lives&#x2F;energy&#x2F;time.<p>After that I moved to PCs and started programming for a living, before moving into more formal education and later jumping from development to sysadmin.
knaik94over 2 years ago
I liked cybersecurity enough to sit in on a college lecture on it. I asked the professor about a question I had and he asked me if I was thinking of focusing on cybersecurity. I told him that I was doing a biology major at the time and he suggested I self reflect on what I see myself doing in the future. I ended switching 3 years into cell biology&#x2F;neuroscience to CS.<p>If you mean CS as a topic, I wanted to play runescape over the summer when I was in middle school. My parents took the router with them because they wanted me to do something productive over the summer. So I ended up learning how to boot up Kali Linux from a USB and run Aircrack-ng to capture and decrypt the WEP wifi key. I wonder if I would be on a different path in life right now if the wireless card didn&#x27;t support packet injection or monitor mode. It wasn&#x27;t directly CS, it was being a script kiddie. But it got me interested in cybersec and linux. My first laptop lacked good video ram and so my options were limited to slitaz and puppy Linux. My comfort around computers can be directly traced to that summer.<p>I didn&#x27;t really get into the theory before college classes though. I technically did some pascal while hanging out with my friend who was doing hw in it for the intro CS high school class. I also did some BASIC programming on my Ti-89 to make some AP physics formulas easier and run a pokemon emulator, but nothing more complex than loops.<p>I was fortune and my existing interests naturally aligned well with CS. I approached problem solving naturally in a way that is a developed skill for some people who chose to pursue CS professionally. When I was failing in orgo, my TA informed me bluntly that I was wasting my energy pursuing something I hated when we got into a discussion about shitty flash games we grew up playing, and I said how I decompiled certain games to change graphics. I don&#x27;t consider what I did CS because I didn&#x27;t touch actionscipt, I played with key frames and images. I think it led to me wanting to sit in on that cybersecurity class though. I knew basic Crypto math and was super paranoid about my privacy so I felt comfortable, arrogantly, about the 400 level material. I enjoyed it a lot more when I did take the class for real, during my final semester 2 years later.
jjiceover 2 years ago
My dad is a software engineer and has been my whole life. When I was a kid, he and my grandpa always surrounded me with computers. They got me my first computer (and Acer laptop that came stock with .5GB of ram - later upgraded to a whopping 1 full GB) and my dad installed Visual Studio on it.<p>I loved computers but really started writing code regularly when I was 13 and knew it was what I wanted to do. Once I got to college (for Computer Science), I realized how deep it went and I loved it all even more. Now I&#x27;m a software engineer and I regularly think about how lucky I am to work a job I love that pays well.
HowIGotCodingover 2 years ago
Grew up as the child of poor immigrants (like rent was $1300 and we only made $1200 a month poor) which led to a lot of arguments and depression at home. I used to stay at the library as long as I could to avoid all that and my parents eventually used the library as a babysitting service. I developed a passion for reading and the library also had computers with internet access you could use for 30 minutes a day. I used those 30 minutes everyday to learn and make my own website and the rest is history. Today I make ~$450k&#x2F;yr and hope I can continue to give my family a better life.
Mockapapellaover 2 years ago
Broadly speaking:<p><pre><code> - Final Fantasy XII gambit system - ZipKrowd Server (old minecraft server on youtube) - TI-83 Plus calculator. Tried to write a single program that would do all of my physics calculations. Didn&#x27;t succeed, but had some nice QoL design decisions and a couple equations programmed into it. Writing a 150-200 line program with only 8 lines viewable at a time sucked lol</code></pre>
082349872349872over 2 years ago
I clicked on the &quot;essays&quot; link from: <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20170629060656&#x2F;http:&#x2F;&#x2F;www.advogato.org&#x2F;person&#x2F;raph&#x2F;diary&#x2F;252.html" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20170629060656&#x2F;http:&#x2F;&#x2F;www.advoga...</a><p>or: how I learned to stop worrying and love Theory.
visoxover 2 years ago
Wanted to make games :D did learn a bit C and pascal, was all quite good but realised to know the language is not enough.
atomicnatureover 2 years ago
In short, computers got me into computer &quot;science&quot;. When I was young, I saw games running on desktops. I hadn&#x27;t seen any other object that sophisticated around me. There was something special about the machine. And I wanted to learn more about it. Still on the journey :)
fatnoahover 2 years ago
My parents got me a Commodore 64 when I was 8 years old. It was used, but came with a massive trove of software, including Gortek and the Microchips, which was an introduction to programming in Basic. I checked it out, and when I learned I could make a computer do what I wanted, I was absolutely hooked.
cobaltinfernoover 2 years ago
I wanted to take a programming class when I was 13, and spent a while learning C, only for them to only use scratch. Fast forward 3 years, I&#x27;ve spent a decent bit of time contributing to various open source projects, and have almost made the switch from C to Haskell.
ariostoover 2 years ago
Hacking Diablo II (making bots and such) and phpBB modding. I originally wanted to go into Civil Engineering but applied too late and the CS department accepted me.
MrLeapover 2 years ago
The quake2 modding scene
billconanover 2 years ago
video games. wanting to make video games
Jugurthaover 2 years ago
CS or programming?<p>TL;DR: what got me into programming was looking at software and saying &quot;I want to be able to do that&quot;, then creating a text file and changing its extension :D<p>I started programing when I was 9 (I&#x27;m in my mid thirties). My family bought a computer when I was about 4 and I used it since then. To put that into perspective, it cost as much as a 150-200 square meters piece of land or a car at that time. The printer cost about as much, which my family bought. The 90&#x27;s was civil war and the country was isolated and sanctioned and in deep economic trouble.<p>I wondered how when I type an executable&#x27;s name and hit Enter, it does something useful and displays things. Games. Utilities. Programs that did amazing things. Doom, Prince of Persia with a cute little mouse opening the door, Duke, Wolfenstein.<p>My first attempt at programming was Papua New Guinea style: I created a text file, changed its extension to .EXE, and ran it. I don&#x27;t know what I hoped it would do. It didn&#x27;t work obviously, and I changed its extension to .COM and tried again, as if it would take pity of me and &quot;bring cargo from big bird in the sky&quot;.<p>We had no internet back then in the country. I learned BASIC as a child (QBASIC, GWBASIC, etc) from the interpreter&#x27;s documentation. It was in English, which I didn&#x27;t speak (only spoke French, Kabyle, Algerian, and Arabic), so I was basically copying the code, running it, changing it and seeing what breaks, and learning causal effects. I had a Harrap&#x27;s English-French dictionary I used to understand key words from the docs. It was tedious but a bit more systematic and an effort to understand actual causal effects as opposed to trial&#x2F;error. My first &quot;major program&quot; was one where you enter the name of a country (all caps or it didn&#x27;t work), and it&#x27;d return information such as population, capital city, surface area, etc. I had entered every country&#x27;s data by hand from a Larousse French dictionary.<p>I then learned x86 Assembly mainly from a book called &quot;La Bible PC&quot; which was a 1600 page book on systems programming, buses, cycles, BIOS and came with a CD containing code examples. Learning TSR (int 27) and writing ASM code to print on LPT port and display graphics was fucking amazing. I also tinkered with hardware, making cables, playing with DB9&#x2F;DB25, hooking up scavenged LEDs to them, etc.<p>Then did a bit of C, which was so, so higher level than x86 Assembly, then Pascal.<p>Then I did Visual Basic for DOS. Buttons and forms, wow! Then Delphi, which is Pascal&#x27;ish. These are teenage years.<p>I would read &quot;Science &amp; Vie&quot; articles that talked about a thing called the Internet as a child. It sounded like an amazing thing but we didn&#x27;t have it. It was very frustrating not to be able to take part. As a teenager, I&#x27;d buy CD&#x27;s that contained content from BBS groups with .NFO files. There were crews of people doing amazing things! I learned a lot from viruses and &quot;programs that changed other programs to make them do something they were capable of doing but were prevented from doing until certain conditions were met&quot;. It was exhilarating to know such things and people existed and worked together and frustrating not to be able to partake.<p>In the late 90&#x27;s, we had Internet in youth centers but it was expensive by the hour. Then residential but it was really expensive (it cost as much as a salary).