24,182 karma · joined Jul 22, 2017 (9y ago) · 14,302 submissions
https://hnbadges.netlify.app/?user=quickthrower2
comment 5y ago · link · parent
In addition to being great and having features of more expensive machines it can be trivially modded for flow profiling. You can now do what decent/slayer/lever owners do and pressure profile. Ok maybe it doesn’t quite compare to those but they are a multiple of the price, and now you can do the coffee shots, turbo shots, blooming shots and all that fun stuff.
If mine breaks down and I’m not in the mood to spend $5k on a machine id get the dual boiler.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
Coming from the UK, where the washing machine is always in the kitchen and having a laundry room is seen as extravagant, I think this is great because washing machines are noisy and shaky and sometime leaky. Having a separate wet room with drainage for this is a good idea. It means you can wash/dry at any time too (e.g. even if you are eating in the kitchen/diner area and want some peace!)
comment 5y ago · link · parent
I think this sort of thing will be interesting to many, but not me. Seen enough view frameworks (ok this probably is something else, even working out what it is and what problem it solves is a weekends work). Thanks!
comment 5y ago · link · parent
See this pattern all the time in both technical and people side all the time.
“You should never estimate using time”
“Don’t start new work until all the teams sprint commitments are completed”
Etc.
In a word it is arrogance with a twist of ignorance.
Ignorance that complex systems of humans and code don’t follow perfect dogmatic rules.
It might be ok for junior devs to be a bit like this but always add a pinch of “most of the time, but when experienced you’ll know when to ignore the rule”
Ignoring some unwritten or written dogma is often what makes for a competitive advantage.
Let your competitor drown in EnumClassFactorys .
comment 5y ago · link · parent
An enum is essentially an encoding over integers. I guess this depends on your programming language, so humour me.
If you have an integer whose meaning is a category (as opposed to a count or measure) - does this need refactoring into classes?
Probably not most of the time.
For example you import a CSV and one of the fields is a categorisation. Let’s say county code. Your code may occasionally care if you are in an EU country.
You could have a class per country and override isEU as needed but this is clumsy and ugly in my opinion.
You’d also need a switch statement, in a factory method to create these from the csv data.
A lot of the time it’s easier to follow code where the switch statement is in its intuitive place.
Highly OO abstracted code can be very hard to reason about too.