Live data from Hacker News

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

news.ycombinator.com

111–120 of 189 posts

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

#112

Not AHA moments, but some pointers: - most tech is stupid simple, like retard levels of simple, with incredibly complex description - SOA is stupid and monlith is always the way to go(maybe with handful simple microservices) - microservices are not SOA - event sourcing is almost never a good idea - raw bytes over the wire or in storage are not as complex and mysterious as you might think - compiled languages are not…

With bare metal, are you not just paying more for staffing to maintain it? Bare metal as cheaper sounds suspicious. Bare metal as essential maybe if you are doing something like 3D graphics processing or mining or “big data”.

You can just rent bare metal (or "root servers", as it was once called). Then it just have to worry about the occasional hardware defect, but at small scales that basically never happens.

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

#114

My aha moment was that it is 100x better to focus on one project and make it the absolutely very best instead of trying 10 things. With these new and easy frameworks it's incredibly easy and quick to create new projects but creating and launching something is just the tip of the iceberg. The main work comes after that, i.e. traffic, leads, conversions, optimization, etc which unfortunately can only be done with good…

100x this and thank you for posting.

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

#115

I went from Ruby to JavaScript development. First, I’d like to say I think starting with Ruby/Rails is a bad idea. Ruby uses a lot of higher order functions, but it isn’t super clear from the syntax how that all works. Higher order functions in JS are much more clear, IMO, on account of having to use parens to call the function (in Ruby, you don’t need parens to call function, you can just name the function and delin…

> First, I’d like to say I think starting with Ruby/Rails is a bad idea.

It's telling that comments like this inevitably involve Rails, not plain Ruby.

Rails's "magick" is obfuscatory and at times counter-intuitive. Ruby, the language, is pretty straightforward. I wish more people spent time playing with Ruby before diving into Rails.

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

#116

1. Polymorphism 2. Vendors are often pushing bad architecture 3. Architects often push things for the wrong reasons 4. Companies often push risk to their vendors, avoiding collaboration, inherently increasing risk 5. ORM's hide business logic, preventing a company from understanding its business and adapting to change 6. Relational Databases are an operational anti-pattern 7. Graph databases are excellent tools for c…

How exactly do ORMs hide business logic?

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

#117
I'm not sure if these are too meta, but here are ones that I think are relevant:

- The free/libre/open source community care deeply about fundamental problems of our society and are trying to provide legal and technical tools to help take steps to create a better world. When I was younger, I thought "suckers! They're giving their compiler away for free!" It took me a while to internalize the free software ideals and even longer to be an active proponent.

- Corporate software, especially Microsoft, is in the business of creating a walled ecosystem, charging end consumers for their product and charging software developers to be part of that ecosystem. The first 'a-ha' moment was when I realized they, and others like them, were a racket, or at least trying to be one. The later 'a-ha' moment was when I realized there was a viable alternative to this game.

- Most (but not all) computer programming language flame wars about which language is better boil down to whether the developer prioritizes speed of program execution or speed of program development. See [1]. Newer language wars center of safety and bug creation, so maybe this point is dating me.

- Programming languages are more about human psychology than about some mathematical proof of correctness. Programming languages are designed as a compromise between how a computer needs to be told to operate and how humans communicate. All the theoretical and mathematical infrastructure around language design are there to justify decisions once the language has passed the "psychology" test. This is the same idea between JPEG, MP3, etc. compression. Fourier transforms and wavelet transforms don't inherently create a saving, it's only when we can throw away higher order coefficients because the human perceptual system isn't as sensitive to them as lower order coefficients, does it give benefit. That is, JPEG and MP3 are specifically tailored to the human perceptual system. The math is there as the building block but which bits/coefficients to throw away are determined empirically. To belabor this point a bit more, programming language discussions arguing over functional vs. imperative, type safety, etc. that don't try to determine measurable metrics of success, preferably through testing their hypothesis with data collected on actual usage, are expressing an opinion only.

[1] https://web.archive.org/web/20200407014302/http://blog.gmarc...

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

#120
Finding Anki after 17 years of programming and commiting to insert every new data into it and practice it daily.

For me there is no other way of learning anymore and it serve as my real memory. Basically it give me the confidence that something that I learn now will be known years later.

Post reply on HN