HACKER Q&A
📣 bosch_mind

What are you working on to become a better programmer?


Lots of content these days makes it easy to feel imposter syndrome and behind the times. What are you people who are actively trying to become a better programmer doing, learning, building or studying to become better?


  👤 atonse Accepted Answer ✓
The best way I’ve found to become a better programmer is to continue to practice solving real world problems (and see how other programmers solved them too). It keeps you focused with your time instead of wasting time on silly things like your tab/space size, white spaces, TDD vs. test first development, and all those silly debates that do nothing to add value to end users.

It gives you practice in mapping real world problems to code, by breaking the problems down into discrete chunks that can be independently implemented. It also teaches you how to design your code in a way that it can adapt easily to those real world problems changing over time. It teaches you where to abstract things out, where to be driven by configuration etc. It has to be driven by a real goal, not a made up one.

The other big thing, focus on readability over cleverness every time. Your code should feel easy to read even by YOU 3 months later. 6 months later. I’ve lost count at the number of times I cursed at my past self for writing some code where I thought I was being clever, but didn’t understand later. Mostly did that my younger years and then learned not to do that.


👤 mattbgates
With every project, I'm always learning something new. I went from building projects with dozens of files to less than 10 and try to keep it to just a single page. I went from spending months on projects to spending no more than a month on a single project, sometimes taking up to just two weeks to complete. I think it's the lessons of sticking to the logic and getting straight to the point with programming.

If there was anyone who helped me become a better programmer, it was my first tyrant boss, who was a complete asshole. I adopted his practices: write out what you want your program to do. What is its purpose? What does it do? How does it operate? Who will use it? Why? What will they pay for it? What will it look like? What pages will it have? Does it need these pages? And a bunch of other questions. It really helps to save a ton of time and keep you on focus.

He said to me: "You waste more time jumping into a program without direction than one where you spend a weekend just outlining what your program should actually do."

Really great advice that helped me write many programs.


👤 coreyp_1
I build things that I don't know how to build, mostly in C++ (because I like the language and I want to get better at it, especially the newer parts!).

I built a programming language as a library and put the entire process on YouTube.

I just recently built a job queue worker pool library.

Next, I'm going to tackle building a HTTP server as a library, hopefully supporting HTTP/1, 2, and 3.

Just build things that push your limits and enjoy the journey!


👤 unobatbayar
Continuing to learn advanced mathematics and revisiting core computer science concepts like networking, systems and architecture. Mainly from video lectures and O’Reilly books. Haven't tackled machine learning projects yet. It's one of my goals, but I must have a solid foundation first.

Never thought about building things to become a better programmer but to create something exciting or cool. Nowadays, it's mainly personal iOS and Javascript projects.


👤 cgopalan
I am trying to see if I can work on more interesting problems. Julia Evans has this great quote: "I have one main opinion about programming, which is that deeply understanding the underlying systems you use (the browser, the kernel, the operating system, the network layers, your database, HTTP, whatever you’re running on top of) is essential if you want to do technically innovative work and be able to solve hard problems."

My using snowflake on the job made me more curious about modern analytical databases, so much that I want to get more into the internals. I am on a journey that's making me read more about database internals, take free courses online, and this in turn is leading me to some auxiliary things I need to know for knowing about databases, like cpu architecture (cache handling, branching etc) and further down the rabbit hole. To some extent, it's helping me overcome the feeling of inadequacy due to not having a computer science education even though I have been in the software field for more than a couple of decades. Not that it has harmed me much - I have always felt that you could learn things on the job in software development. But it just feels somewhat right to go back to the basics.


👤 adamzerner
Taking Eric Normand's course Beginning Clojure (https://ericnormand.podia.com/beginning-clojure).

As someone with most of their experience in JavaScript and Ruby, I really like how Clojure is just so _different_. It's like someone who speaks English learning Chinese instead of a similar language like Spanish. I think doing that opens your mind and teaches you more than if you learned something that is "more of the same". Similar to how it is useful to learn about other fields instead of continuing to grind away at "more of the same" within your field.


👤 warrenm
Albeit not a programmer (but very much in professional IT), I find I "become better" not by learning a new technology, but by learning things tangential (or even totally unrelated) to what I do ... because it gives me new ideas / ways of looking at a problem / perspectives on what I do

👤 analog31
I'm a so called "scientific" programmer. Yeah, one of those. ;-) A real software developer joined my team of researchers. By agreement, his job is not to be a code jockey for us, but to work on his own software related research projects. Still, I've asked him to watch what I'm doing and suggest ways to improve my skills. Meanwhile, he gets a guinea pig to try out ideas for what works in a research setting.

👤 hjr265
I have been building Toph (https://toph.co), a competitive programming platform. I have been working on this for the past 7 years.

The stack includes Go, MongoDB, Redis, RabbitMQ, etc.

Not only have I been gaining software engineering skills, I am also learning aspects of business and growing a community.

I am doing this, of course, beside my client work and open source projects. And, fortunately, my client work tends to be interesting enough and provide opportunities for learning new stuff almost all the time.

I don't know if it is true for everyone or if I am phrasing this right, but keeping myself busy actually building something/anything helps the most (instead of just chasing whatever is new out there).


👤 sshine
1. My day job involves a lot of learning. (Learning DevOps, embedded Rust)

2. I write open source software in my spare time. (Learning WebAssembly, reactive programming)

3. I learned and mastered a functional language, learn DSLs and make compilers for them.

I'm allowed to work professionally on stuff that's new to me and my employer.

The interplay with "getting stuff done" at work and "perfecting the craft" in my spare time is an attempt to strike a balance: Think about the design, leave things nicer, but don't spend forever.

Learning and mastering a functional language makes you think of programming patterns. Studying the programming patterns of well-made open source Haskell and Rust libraries has had a big impact on my learning.


👤 avinassh
I am learning to build a database from scratch and teaching people the same!

It taught me how to take on a daunting subject, break it down and make it approachable for beginners. I learned how to reduce the initial friction so that it is effortless to get started.

I set it up in TDD style so you always get quick feedback, and it guides you in the right direction

python version: https://github.com/avinassh/py-caskdb

go version: https://github.com/avinassh/go-caskdb


👤 faeriechangling
ChatGPT, ChatGPT, ChatGPT

Despite all of the FUD about how it would impair learning, it lets you skip through boilerplate you already know how to do, shows you some ideas you wouldn't think of, and can work as an on-demand code reviewer.


👤 MrVandemar
I'm writing an old-school ASCII roguelike game in JavaScript using the ROT.JS library. Games are interesting and give you a whole raft of puzzles to solve. Keeps me out of mischief and off the streets.

👤 Madmallard
I'm trying to muster up the courage to pursue the realization of this multiplayer turn-based RPG that my friend and I dreamt up years ago. I lack experience with net-code and also large-scale architecture and also RPGs just have quite a large amount of game logic and it feels very daunting. I know how to divide the problem into smaller problems and I've made other games with non-trivial amounts of game logic but I still am struggling and I'm not really sure why. I feel a lot of anxiety when I look over my code for what to do next and then come back a week later (rinse and repeat). I feel internally that getting over this hurdle will be a large stepping stone for me.

👤 marketdev
I am building https://www.market.dev. I've learned about NextJs, Vercel, Supabase, Tailwinds, etc. These are the latest tools that have become popular. I can only learn these through side projects because in my day job, I work with an older stack, and it will take some time before we adopt to the new things. Another benefit of focuing on Web3, I can learn about the trend and what skillsets are more in demand in the new space. It's been a rewarding and interesting project. I also observed time needed to ship MVPs is much shorter than years ago.

👤 w4rh4wk5
I am currently trying to "push the limits" creating a small game engine using C++20 with modern libraries and tools. The goal is not to build a functioning engine or a game, but to see how far I can push things until they break, or get too complex, etc.

I recently discovered how good mimalloc is, how helpful tracy integration is, and that static reflection is actually somewhat possible in modern C++ thanks to refl-cpp.

And a lot of other, domain related things.

For me, pushing the limits, and just building things definitely contributes a lot to becoming a better programmer.


👤 giantg2
"What are you working on to become a better programmer?"

Nothing.

I'm 10 years into a stagnate career. Just going to wait it out another 20.


👤 Aperocky
Wouldn't say I got a lot better by writing small and medium sized personal hobby project, but it most definitely did get me confidence.

A cellular automata runner where you can define the rules and watch what happens: https://aperocky.com/cellular-automata/

Browse THIS website in terminal: https://github.com/Aperocky/hnterminal

A random simulation of prehistoric civilization and market: https://prehistoric.tech/

Every few months I get a bubbly idea and start some fun project, and they are usually small enough I get to finish them in a week or so, package them either on the web or pip/npm. It feels like a boost to software engineering as a job, which can occasionally get boring.


👤 hoofhearted
I work on contract Monday through Friday 9-5 as a senior lead developer, and I give them whatever they need.

I start checking out around 5 and wrap up for the next day. Then I hang with the family and try to have a chill evening where I can detach my brain from the code I wrote earlier in the day. Once everyone has gone to bed, I like to fire up my personal laptop and work on side projects or whatever until like midnight.

I lurk in developer Facebook groups and subreddits daily, and watch YouTube videos on any topics I need help with.

Recently I’ve been working on a little open source side project that is a cool frontend developer tool for building react apps. It’s based on an email conversation that I’ve had with dang, and I plan to do a Show HN soon to get more feedback.


👤 nestorD
Doing small projects that exercice skills I am interested in one small step at a time.

These days it is a lot of LLM as it is a moving target with a large number of applications (they are the perfect toy to go quickly from "I wonder if I can do that" to a working prototype).


👤 f0e4c2f7
I start by asking Bing lately. Usually I have to use other resources too, but especially now that it has internet access I find LLMs to be a great way to start the learning process or finally learn about something complicated I've been putting off for years.

It's especially good for the kinds of questions you would normally need to know someone personally to ask.

"I don't know anything about this programming language but I'm interested in learning it. I know python pretty well. Can you explain the fundamentals of the language and how it is similar and different to python? Below that, can you write some code examples in x language and in python to show the difference?"

Stuff like that.


👤 NayamAmarshe
I'm building projects to learn new stacks and architectures.

Currently working on Writedown: https://writedown.app - https://github.com/NayamAmarshe/writedown

I wanted to create a note writing app that supports markdown and has sharing capabilities. I usually use a Telegram private channel for saving stuff and writing notes, but Telegram doesn't really support Markdown so I thought it would be a good idea to create something like that.

Writedown is currently a WIP and I'm building in public (doing nothing special, just the repo is public haha)


👤 scarface74
My job at $BigTech (cloud consulting - application development ) allows us to open source any work that we do after going through a very easy open source approval process as long as it’s our work and we remove customer references. It’s licensed under the MIT license.

When I open source anything, it forces me to practice being a better technical writer since I have to document everything. I have to explain why this piece of work should exist.

I’m more concern about the general applicability of it and is my code clean and well presented.

Just knowing that my work is out there for the entire world to judge gives me a level of discipline.

No I don’t do any of this outside of work unless I’m really bored.


👤 jonnycoder
I am studying system design as it relates to interviewing. I wish I could go back in time and study this consistently throughout my career.

Why? 1. I am not good at verbalizing the details unless I read or practice the concepts periodically, even though I grok the main concepts due to past experience.

2. Last 10 years has been a boom in horizontal scaling. I just learned what a MinCount sketch is and I did identical work in this space back around 2015. Designing Data Intensive Applications book was published in 2017 but I recently bought it.

3. Not all of us work for FAANG companies and don't always get to work on scaling problems. I find them fascinating though and fun to work on. Studying about it and doing a small side project is a great way to learn.

4. Money. There is a better chance of landing a role at a FAANG company with top pay if you can ace the system design interview and coding (leetcode) interview (at least before the recent downturn). Or a higher pay at 2nd tier tech companies by coming across as more senior.

5. Learning and growth mindset. I spent too many years at working chasing results and learning as I go, but not enough time in stepping back and investing in my training in areas (see above) that are very important but not very urgent. System design resources are plentiful and free, and it's easy to find good resources if you search via the lens of interviewing.

I've always been a little overwhelmed with the amount of new software/cloud tech that comes out and not choosing to start somewhere (unless my job at the time called for it). I've personally found that looking through the lens of finding a new job provides accurate and motivating results. Even if it's not studying system design, you can at least find out the hot skills by looking at senior/principal software roles. Aside from machine learning, I keep seeing AWS and Kafka on the list of tech aside from the normal python+linux skill requirements. And while the tech skills may change quickly (it was cassandra and rabbitmq back when I remember), the concepts in Designing Data Intensive Applications provide core foundations/understanding for a lot of depth in systems.


👤 keyle
I've been doing this for over 20 years. I think my major leaps have been

- Contracting. New workplace approx every 2 years avg, I got to work with some really talented people which I sought to spend my time with as much as possible and learn from them.

- Personal project. I may be contracting on .NET but geeking at home on Python. I may be contracting on PHP but doing SwiftUI at home. I make games, software, tinker on other stuff. Basically widen your scope, explore by doing.

If you want to be in the top 10% of any field, the key is to be willing to go further than 90% of the field. And the beauty of this ever-changing industry, is that you have no idea where that's going to lead you.


👤 devtailz
I’m trying out streaming on Twitch: twitch.tv/devtailsxyz

Mainly focused on learning rust while streaming. Streaming forces me attempt to explain what I’m doing which often shows me what I don’t properly understand.


👤 bobleeswagger
I looked at my home architecture (home lab) and grew from 4TB to 1/4 PB in about two years, with a concentration on self-hosting and digital sustainability. I should reach a petabyte within 5 years.

Ultimately I had a poor grasp of what scaling compute effectively looks like, but I feel much more useful when working with cloud resources due to better foundational understanding in that time. It all started with me putting too many services on one server, and everything webbed out from there.

I think it's going pretty well so far, has gotten me in the door at my last two jobs.


👤 JTyQZSnP3cQGa8B
I'm the worst programmer when it comes to handling threads and parallel tasks in C++, that's why I'll read "C++ concurrency in action"[1] which has been recommended to me by a competent programmer.

Also a friend of mine asked me to write him an application for his business. I'll it as a challenge to learn Qml, SQLite, and CMake/Conan.

  [1]: https://www.manning.com/books/c-plus-plus-concurrency-in-action-second-edition

👤 kitsunesoba
Who knows if it's a valid approach, but I haven't been too worried with chasing whatever's trending. Instead, I've been following a list of interesting potential projects I've written down. The list spans several platforms and several different types, so this takes me all over the place and should be enough to keep advancement rolling for a long time even if none of those projects ever leave the tinkering stage.

👤 flippinburgers
Hard to say. Every new piece of tech every new problem... it is death by a thousand paper cuts to the brain as one tries to remember the details.

👤 symkat
I’ve been working on building a web hosting platform.

https://github.com/symkat/MyJekyllBlog - It’s centered around hosting Jekyll blogs. It supports having paid user accounts (Stripe), building sites (uses podman containers), deploying built sites to web servers, obtaining SSL certificates for the sites it hosts.

It’s been really fun to work on.


👤 a_subsystem
Building small projects with the small lessons I've been learning.

Studying design patterns and broader concepts - Gang of Four, Bob Fowler, Casey Muratori, Yegor Bugayenko), programming languages (OCaml, php, Java, C), and frameworks (Laravel, Django, Rails).

It's been a long and glorious slog. But it's like learning a language: the more you speak and write, the more you can speak and write.


👤 Jfaux
I built a URL shortener (https://ugh.lol) to feel more confident in building 100% serverless apps.

When I find myself feeling like an imposter with X technology, I build a small project with X.

This pattern has helped me build the confidence that if I don’t know X, I know I can figure it out.


👤 stcroixx
Nothing specific. I already spend more hours than I'd like on my job. However, each day brings new experience and I think that adds value. I've learned enough languages/frameworks/stacks to know unless I'm going to use one daily, I'll just forget it so I don't bother with that anymore.

👤 RonnieOwnsLexus
I am still early in my 20's although i have been incredibly blessed with good opportunities.

This is what I am currently planning https://sijinjoseph.com/programmer-competency-matrix/


👤 jareklupinski
I'm subscribed to a few local mailing lists; occasionally someone will post something about a local theater troupe or artist's gallery needing a technical solution for a show they want to put on or exhibit they want to run, etc.

For me it's a couple weeks of Arduino prototyping and some Python glue, but for them it's the world.


👤 mdla-hn
1) Tracking my mistakes to avoid them in the future (e.g., a list of things I missed in designing or code reviews)

2) Trying to improve foundational skills like creativity (produce better ideas, more ideas, or ideas faster)


👤 higgins
rewrote 24HourHomepage (https://24HourHomepage.com), a creative art project.

in general: small, bit-sized projects that solve a problem i have or something that has been on my mind for a while


👤 badloginagain
1) Preparing to leave my job once my spouse finds one. I need a few months off to get into a healthy mindset.

2) Dive into AI, learn how to do small scale LLM end-to-end experiments

3) Pick up my game experiment on Heirarchical Task Networks, based on Maslow's Hierarchy of Needs.


👤 jasfi
I ask ChatGPT for solutions and see what it comes up with. It isn't always right when it comes to writing code, but it can be great with explaining things. At least I can check what it says with Google.

👤 rramadass
Looking at Erlang/Elixir to handle all distributed computing problems, J programming language for all mathematical/numerical computing (AI/ML etc.) and (Modern)C/C++ for everything else.

👤 coyotespike
outside of work:

I'm managing my resources with Terraform - I'm about to start managing all my personal GH repos this way too! I think GitOps and DevOps are cool and a great way to level up as a programmer.

And I'm doing a master's in CS through UT Austin, focusing on machine learning. Implementing old and new architectures in PyTorch.

Last, I'm building an "embeddings as a service" app, which is mainly just normal full-stack stuff but hopefully will present some complexities as we go.


👤 Mageek
I recently started the new class by Casey Muratori, “computer enhance”, that teaches performance-aware programming.

I also try to complete a small personal project every month and write about it.


👤 deterministic
I am experimenting with different software architectures, using code generation to see how much I can automate the software needed for new applications. I have learned a lot from this.

👤 RandomWorker
I’ve got some super talented programmers around me, however, they all use Clojure while I use Python as modelling tool. So I’m learning clojure right now

👤 soueuls
I am becoming more and more convinced that everything is a matter of tradeoff in computer science, except two things

- TDD - Clean Architecture

That's what I am currently learning.


👤 Cardinal7167
Been writing and publishing a bunch of tiny libraries lately, most of them only a few hundred lines of code but it’s been a really good exercise.

👤 aaomidi
I'm trying to create a CNM/CNI plugin to allow tailscale to act as a network provider for containers.

👤 orionblastar
I know over 21 programming languages since 1979. What I lack is algorithms and object oriented programming.

👤 t312227
what imho. counts most in software-development ... efficient communication on all levels which is the means to an advanced understanding of the problem(s) to be solved.

for me, in a nutshell, software is the comprehension of the problem(s) at hand expressed in code.


👤 elecush
APL (a programming language) array-based and diff'rent.

👤 DonHopkins
Playing Factorio!

👤 smitty1e
One must be a student of the tools.

RTFM. Constantly.


👤 smrtinsert
grinding leetcode. It's tedious but necessary.

👤 nathants
gamedev!

👤 dmolony
CLR James once asked 'What do they know of cricket, who only cricket know?'

I think the same applies here.