News for hackers. Stuff that matters.
Re:Ask HN: What was your most humbling learning moment? by mablopoule on Sunday June 02, 2024 @06:35PM (#40557662)
I don't remember where I saw this quote, but... "It's okay to half-ass something, when all you need is half an ass".

EDIT: Totally agree about the 'important mindest for startup', I had a similar eye-opening experience, working in a startup with 'cowboy' code that was actually quite good, but I had to unlearn a bit of stuff I read as a junior/mid-level developper.

It was code that was well-architected, had well-concieved data structure, and had business value, but every "professional" coder would deem bad-quality, since it had no unit test, did some stuff unconventionally, and probably would have many linter warning.

Re:Ask HN: What was your most humbling learning moment? by bee_rider on Sunday June 02, 2024 @06:50PM (#40557748)
Most scenarios only warrant fractional assing. Also this philosophy provides the opportunity to say “ok guys, this time… we have to whole ass this one,” which is always fun.
Re:Ask HN: What was your most humbling learning moment? by eru on Monday June 03, 2024 @04:07AM (#40560364)
Some times you might even have to bring two whole donkeys to bear on a project.
Re:Ask HN: What was your most humbling learning moment? by chrisbrauns on Sunday June 02, 2024 @07:30PM (#40557962)
It was Gary Bernhardt in this talk: https://m.youtube.com/watch?v=sCZJblyT_XM
Re:Ask HN: What was your most humbling learning moment? by jwilk on Monday June 03, 2024 @04:18AM (#40560418)
Re:Ask HN: What was your most humbling learning moment? by a_t48 on Sunday June 02, 2024 @09:08PM (#40558429)
Well-architected + well designed means you can go back later and fix the code if the project survives. I'm hitting this personally right now - the amount of code I can write is dwarfed by the amount of features needed to get something like a working demo out the door - I can spend time and make every thing perfect, or I can squint and imagine how I will implement fixes later and focus on making sure that I don't have to rearchitect.
Re:Ask HN: What was your most humbling learning moment? by Buttons840 on Sunday June 02, 2024 @11:42PM (#40559143)
Ask yourself: Will the amount of work it takes to "do this right" increase over time? (And by how much?)

I drew some quick placeholder art for a game I'm working on for fun. One day I might sit down and draw some good art, but not today. When the day finally comes to finish the art, the difficulty of creating that art will be no greater than it is now. In fact, with improving art tools, it may be easier to do later.

On the other hand, if I'm not quite happy with my database scheme and I want to change it, I can spend a day on it now, or I can spend--based on my experience--months on it in the future. In fact, there's a good chance if I don't fix the database schema now, it will never be done.

Re:Ask HN: What was your most humbling learning moment? by a_t48 on Monday June 03, 2024 @12:11AM (#40559253)
Exactly.
Re:Ask HN: What was your most humbling learning moment? by randomdata on Sunday June 02, 2024 @09:39PM (#40558602)
> since it had no unit test

But aren't unit tests the half-assed solution? They are a wonderful help if you want to deliver something fast, but if you had more time you'd probably do something else.

Re:Ask HN: What was your most humbling learning moment? by Buttons840 on Sunday June 02, 2024 @11:46PM (#40559159)
It doesn't get said enough that unit-tests are not the ultimate in good code. There's a lot of shitty code with unit-tests, and there's a lot of really good code with no tests.
Re:Ask HN: What was your most humbling learning moment? by randomdata on Monday June 03, 2024 @09:04AM (#40562261)
That's true, but a codebase without unit tests is apt to be deemed poor quality by professionals due to the time factor. Being able to release fast is an important quality of business software. Professionals don't look for perfect artistry, they want to see painter's tape in the right places to get the job done efficiently.
Re:Ask HN: What was your most humbling learning moment? by adolph on Sunday June 02, 2024 @09:48PM (#40558659)
> "It's okay to half-ass something, when all you need is half an ass".

Going to mule that over.

Re:Ask HN: What was your most humbling learning moment? by makk on Sunday June 02, 2024 @11:49PM (#40559169)
Sometimes, in the interest of efficiency, you only use half your horsepower.
Re:Ask HN: What was your most humbling learning moment? by lelanthran on Monday June 03, 2024 @01:13AM (#40559535)
> Sometimes, in the interest of efficiency, you only use half your horsepower.

Or, in this case, half your asspower.

I think the asspower unit of effort makes more sense than story points.

Re:Ask HN: What was your most humbling learning moment? by SideburnsOfDoom on Monday June 03, 2024 @04:07AM (#40560356)
or "If it's worth doing, it's worth doing badly."

Meaning that e.g. if you really need a ride, then a noisy, beat up old car will do.

Re:Ask HN: What was your most humbling learning moment? by ahfeah7373 on Monday June 03, 2024 @02:49PM (#40566037)
That's such a good quote, haven't heard that before