Live data from Hacker News

Ask HN: As a developer what are your aha moments?

news.ycombinator.com

161–170 of 189 posts

Re: Ask HN: As a developer what are your aha moments?

#161

Earlier quoted context omitted.

The keyword in my statement is _operational_. Relational databases are excellent for analytics and reporting. But in an operational system with well-defined boundaries, it's more than likely that only portions of the larger system are required for any transactional behavior. In a modern architecture, you could simply write all transactions to an event store (write only) and use CQRS and a relational cache store for r…

If I'm reading this correctly, then it's not relational databases/relational data models that are the problem, but instead the normalization across bounded contexts within a problem domain?

Partly yes. But it’s also the realization that we tend to start with an ERD or domain model before even looking at boundaries. We’re product-oriented. And vendors don’t help. Look at how hard everyone is pushing containers. Containers have uses, but there’s no rational explanation for the effort behind their marketing push.

Simpler is better. Boundaries need to be respected. Tools should be selected based on need, not desire.

Re: Ask HN: As a developer what are your aha moments?

#162
post #3

When react/redux finally "clicked" in my head. Coming from an MVC world it was quite a paradigm change.

Same here. The first time I added a spinner animation while secondary data was being fetch was an eye opener.

Although, I have a growing dislike for Redux.

Re: Ask HN: As a developer what are your aha moments?

#163
post #3

When react/redux finally "clicked" in my head. Coming from an MVC world it was quite a paradigm change.

Same here. The first time I added a spinner animation while secondary data was being fetch was an eye opener. Although, I have a growing dislike for Redux.

What don't you like about Redux (genuine question)? I find myself using useState and useReducer a lot more recently, but I still think redux, or at least the pattern of having actions/reducers/dispatchers/selectors the best way to approach state in the UI

Re: Ask HN: As a developer what are your aha moments?

#165

- My team lead showed me code which i wrote just two years ago and i didn't believe at first, that i wrote that crappy. - When i realized that someone might quit his/her job in his trail phase. It did not occure too me that both sides are checking if its fun/good for them - The main reason why i'm successful is that, besides my character flaws (which did become better over the last 15 years), good software engineeres…

> - Do less but better. Whatever you do shitty now will come back

As everything else in life. This was a life aha moment.

Re: Ask HN: As a developer what are your aha moments?

#166
post #102
post #74

1. When I realized programming was easy That's it. For a long time, when I thought of the hardest stuff to program, I was thinking of computer games. Mind you, not the latest AAA billion dollar development budget 300+ people on the team kind of games. No - given my age, I was thinking about single-programming doing code and graphics and sounds on a C64 kind of games. To me, it was incomprehensible how one person alon…

After watching the first few weeks of Handmade Hero [1] I realised my idea of hard work and dedication was different to a lot of people I was trying to emulate. Doing this as a spare time, free project and the amount of knowledge and experience on-show was incredible [1] https://www.youtube.com/watch?v=Ee3EtYb8d1o

I really enjoyed watching that series too for a while, although it was sometimes moving along a bit too slowly for my taste. I also hear it's not really going anywhere even after a few years in the making now (?!).

One thing I always find amusing about such endeavours is the discrepancy in the level of difficulty when presenting their contents. Often you see (or read) them explaining programming concepts on a kind of baby level ("imagine a variable is like a box that you can put something in...") but then when it comes to video games math, they have no trouble assuming people know advanced concepts from linear algebra or even calculus. Cute.

Re: Ask HN: As a developer what are your aha moments?

#167
post #109

Earlier quoted context omitted.

> You can’t possibly know what a company you join will be like until you actually have been working there 12 months Does it actually take you 12 months, or did you mean that as a measured, sensible statement? Or are you perhaps looking at it from a bi-directional loyalty or advancement perspective and not just general culture? For me, that would only apply to companies that I interpret as middling/unimpressive at fir…

I don’t see how you can know he team dynamics and politics (all companies have politics) before joining somewhere unless you have a friend working there. And even then what they pick up on might be different to you. I’ve seen a company I haven’t worked for but who was on my radar go from hero company that employees loved to mass walkout not soon after that was bought out. Buy outs are a big factor plus reshuffles of…

Please note I wasn't saying _before joining_, either. I agree on your points, though.

Re: Ask HN: As a developer what are your aha moments?

#168
When I realized that my code won't last forever, and in fact shouldn't. My code will solve a problem now, but in 5-10 years someone else will rewrite it. The company may pivot, or get acquired, or merger. So build a solid foundation, but don't plan for it to become the next world wonder.

Re: Ask HN: As a developer what are your aha moments?

#170

My "aha" moment was realizing most of my ideas and most apps out there are complete garbage. Not needed. Damaging, even. 99.9% of all of it. For example, most "cutting edge" web apps are better off as PHP monoliths. Facebook was a PHP file for a long time. But most apps in general should never make it past being shell scripts, which are better off staying as spreadsheets or better - text files which are better off as…

I was really into learning new tech, new algo all in my free time and one day I got the ahah moment you describe and since then I have started reading fiction.
Post reply on HN