HN user

devmop

66 karma
Posts0
Comments14
View on HN
No posts found.

It's ugly either way but for clarity you can move the error checks into the transformation leaving the call point clean.

i.e transform1 returns (result, error) and transform2 accepts (result, error) and short-circuits if err is not nil.

It allows the expressive and succinct description of a transformation list but with a bunch of messiness hidden.

In what way do employees not also take all of those risks? The degree of risk might be different but employees are also betting on the success of your business. You only have to look at the recent US election to see that people are taking all these risks.

Whilst I imagine a lot of people on HN see these risks as negligible they do still exist and it can go wrong.

What risk? That they'd spend money on something that made them no/less money?

Other than their initial investments business owners are protected from almost all the risks their businesses take on. Company debts aren't personal debts and individuals can't be forced to work to repay the debts they cause the business to take on. Worse still these safety nets aren't paid for as these companies don't make a profit.

Whilst I won't discount the work Bezos has done the reason he's come out 1000s of times better off than other Amazon workers is because of his initial gamble.

It's not like the workers don't take on risks either. Almost all paid work is paid after the fact. If your employer goes bust you don't get paid

I'd like to see an ad-network which you can pay and they'll serve you transparent ads instead.

The underlying content providers still get their pay per view, the ad network is still in the loop and no one needs to implement anything new - the technology is already built.

Amazon Restaurants 10 years ago

Amazon logistics at least do Sunday deliveries as well. Far too many stores have "next day delivery" for which ordering on Friday night means it doesn't arrive until Tuesday.