181 karma · joined Oct 5, 2013 (13y ago) · 67 submissions
comment 4y ago · link · parent
> The business case for Go is very strong now. Sh*t.
It sounded like a negative news for Suzi as she wanted to promote Clojure, but it’s positive for the company, as Go is a more suitable choice in this case. If a programmer is asked to make a technical decision, comes up if a solution based mostly on passion, isn’t it misleading? I’ve seen a Haskeller claiming “this thing can be better expressed in a custom DSL” and started to write a parser, which in retrospect absolutely unnecessary, the passion was so strong that decisions got irrational. Shouldn’t a programmer be honest and say “this is not the best tool, but it’s my favorite, using it makes me happy”?
comment 4y ago · link · parent
Our company uses Haskell and the Haskell team love to define their own solutions which make things even more inconstant. For error handling they end up using an extensible type-level-list containing possible error types, embedded in an extensible effect monad. We also have list, array, vector, and our own collection types in the same place.
It feels like everyone want to make things better by using/making something new, instead of making them consistent.
comment 5y ago · link · parent
Maybe fixing the child is easier than fixing the software.
comment 5y ago · link · parent
Smart K is another non-Japanese kei car that's more powerful.
comment 5y ago · link · parent
7.
1 points · by b123400 · 6y ago · discuss
comment 6y ago · link · parent
E.g. A database That intentionally removes itself if the default password/an insecure password is used, with an easy-to-follow guide in error log on how to properly configure it.
comment 6y ago · link · parent
I write Haskell for a company that it seems people here like to experiment with extensible-effects-interpreters-whatever pattern, that we end up with some 81 "effects-model-repository-handlers-command-query" packages in a project, the FactoryCommandQueryEffectContextGeneratorRepositoryHandlers type is not limited to Java.
The main reason behind this kind of code seems to be "what if you need <insert a property here>?". As other comments pointed out, using a class over function can help caching the result, save / restore the state, share the state and so on, but do we need these properties? The author is talking about a homework, it's not a piece of code that you run on some very important production servers, there's no need to cache / save / restore or whatever. What if you need it in the future? Update the code.
I somehow start to think maybe this kind of mindset is inevitable in a project's lifetime, until people are confident enough to say "If we need this need code to be cachable / restorable / whatever, give me time, and I can update the code."
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
1. They don't like secondhand homes, they rather rebuild it[1]. So houses are not a good investment vehicles.
2. They values good business practices in housing. (I don't have any data to support). Few months ago I was finding a room in Tokyo, the agent told me people usually live in the same place for years without rent increased. It's not usual to raise the price because it's considered rude and it's something the yakuzas do. It's an entirely different story in Hong Kong where I came from. HK people almost always increase the price so much that people are forced to move every 2 years. AFAIK there is no rent control in both HK and Tokyo.
[1]: "the ratio of used homes circulating in the entire housing market remains below 15 percent, substantially smaller than in the United States and European countries." https://www.japantimes.co.jp/news/2017/12/26/national/japans...
comment 8y ago · link · parent
comment 9y ago · link · parent
Moreover, if the argument of "it is slower but it costs less to make so it's ok" makes sense, then will people start mining bitcoin with client's computation power because it's "cheaper"?
comment 9y ago · link · parent
Seems like a proper way to get support from big companies in 2017 is to post on hackernews.
comment 9y ago · link · parent
comment 9y ago · link · parent
comment 9y ago · link · parent
Though, it is true that nontechnical users are unlikely to realise the difference, they probably don't know an app with not many functionality costs hundred megabytes. Maybe I am just getting old and grumpy, maybe that's how assembly programmers see C programmers.