Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nuerow
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
301.
▲
by
nuerow
5y ago
> Good design and OOP avoids using GoF patterns while coding for many reasons. I'm sorry but this assertion is not only patently wrong but it also makes absolutely no sense at all. Whether you know it or not, design patterns are per
302.
▲
by
nuerow
5y ago
> It's relatively popular opinion that some design patterns are used because some languages lack some features that can achieve similar stuff in "better" way. You're confusing a couple of unrelated issues there. Just
303.
▲
by
nuerow
5y ago
> Have you actually read the definition(s) of the singleton pattern? E.g. Wikipedia: "In software engineering, the singleton pattern is a software design pattern that restricts the instantiation of a class to one "single"
304.
▲
by
nuerow
5y ago
> A lot of them are niche use or only really exist to cover lack of features in languages (...) This take is a reflection of a failure to understand the concept of design patterns, their usefulness, and their role in software engineering
305.
▲
by
nuerow
5y ago
> You misunderstood the singlenton pattern. It's not about "Managing and sharing a single instance", it's about only being able to instantiate one instance of a class. Not quite, you're confusing a particular way
306.
▲
by
nuerow
5y ago
> It's how some people tend to use them when they are not necessary or a simpler solution would have sufficed. This I believe was OP's point. Yeah you are right, YAGNI is indeed not taken into account enough. However, blaming
307.
▲
by
nuerow
5y ago
> It starts with the Singleton and vaguely hints that it has some drawbacks. Why start with that, then? And why not flat our recognise that it is understood more as an anti-pattern these days? There might be significant tradeoffs with
308.
▲
by
nuerow
5y ago
> The problem with design patterns is that it's far too easy to "apply existing solutions" to problems that don't exist. That's not a design patterns problem. At most, that's an abstraction layer problem&#
309.
▲
by
nuerow
5y ago
> Secondly, if you don’t know what you are doing, may be don’t create random config files and hope the software deals with it. This sounds like a variant of the old "you're holding it wrong" blurb. The problem you're
310.
▲
by
nuerow
5y ago
> Bundling isn’t my main issue. This. Bundling, and even barreling, have pretty much been solved problems for a while. Right now I feel that unit test frameworks, linters, and type checkers are by far the main bottlenecks in the develo
311.
▲
by
nuerow
5y ago
> Perhaps far fewer envy Gates' life compared to Elon's? Well, for starters, unlike Elon Musk, Bill Gates does not have a track record of accusing emergency cave rescuers of being pedophiles.
312.
▲
by
nuerow
5y ago
> Or you know, it could be that he has invested $10 billion into building Blue Origin over 21 years and likes his company and wants to wear the uniform because he's proud of it (even if you think lowly of it). That makes as much sen
313.
▲
by
nuerow
5y ago
> So nothing ever can be celebrated, since it leaves out the 5 million layers of others that precipitated any event Is it reasonable to ignore 5 million problems and pretend they don't matter if the people responsible for all those
314.
▲
by
nuerow
5y ago
> If the rocket had blown up, all the fingers that denied him credit would be pointing at Bezos. Do you believe Bezos should be free from scrutiny, or even criticism, if Shatner was killed due to a launch failure that was organized as a
315.
▲
by
nuerow
5y ago
> He employed millions of people along the way. Some of the reports of said working conditions at Amazon, from fulfillment centers to AWS, are very appalling. I recall reports on how at Amazon it was normal to see staff crying at their d
316.
▲
by
nuerow
5y ago
> Giving money to both corporations and to individuals destroys the motivation of both to do better. No, it really doesn't. At most, this represents a one-time-only bump in disposable income, which you either spend to meet your im
317.
▲
by
nuerow
5y ago
> One-time taxes is the alternative I suggested. That's what they did in parts of Europe after WW2. Why do you believe that creating/increasing taxes all on itself will address the problem caused by a) economic stagnation, b)
318.
▲
by
nuerow
5y ago
> Give people money during pandemic, people feel less pressure to work. Less people who want to work, wages rise to attract more people. I feel that depicting the current scenario as a sudden global reluctance to work because people ar
319.
▲
by
nuerow
5y ago
> My theory is that rich people save it, and poor people spend it; so here we are. Supposedly this money is being dumped on conservative investments which are actually worsening the whole economy, such as the massive inflow of institut
320.
▲
by
nuerow
5y ago
> Government should NOT provide relief. Why? Isn't this one of the very core responsibilities of a government? Otherwise what would be the point of having a government to begin with? > They didn't even discuss alternative
321.
▲
by
nuerow
5y ago
> Aw shucks, politics has found its way to HN. If there is any topic that's relevant in HN, it would be where and why to found a tech company, as well as the impact of data protection legislation on operations and product design.
322.
▲
by
nuerow
5y ago
> (...) where people are bathing in the catharsis of their dead political enemies. Taking a vaccine is not a political issue, except to a radical bunch of anti-intellectual militants who for some reason still hold a few cognitive disso
323.
▲
by
nuerow
5y ago
> The technical term I prefer is "basic human rights". If that's what you're going with, please keep in mind that basic human rights include right to health, and your refusal to comply with basic health and safety p
324.
▲
by
nuerow
5y ago
> I disagree. Perhaps not specifically these subs but the sentiment certainly involuntarily spreads opposition and one main purpose of subs like these is to have something to feel superior about. No, that's not really true at all.
325.
▲
by
nuerow
5y ago
> The alternative is a world where a ~66% majority (if that) can override the remainder on their medical decisions - which is about as personal as decisions can get. I'm sure that those who repeat the "rights and freedom"
326.
▲
by
nuerow
5y ago
The conclusions presented in the article seem a bit far-fetched. The article only mentions "upticks in charcoal particles (suggesting large fires had been burning)" and a presence of a "compound is typically found in the fece
327.
▲
by
nuerow
5y ago
> The CDC says that the covid IFR for the 65+ cohort is 9%, not 20%. It seems you did not noticed that the data I presented was provided by the CDC. https://data.cdc.gov/NCHS/Provisional-COVID-19-Deaths-by-Sex...
328.
▲
by
nuerow
5y ago
If anything, the Herman Cain Award is a place to vent frustration about the wave of reckless and irresponsible behavior perpetrated by a largely uninformed/disinformed segment of the population which happens to also be highly vocal and
329.
▲
by
nuerow
5y ago
> But I know it's not quite so easy and especially now a lot of people are hardened and less willing to work together to smooth things over. The whole point of enforcing public health and safety rules is that a significant percentag
330.
▲
by
nuerow
5y ago
> I would tell people that they have no power to punish anyone whatsoever and design the Covid rules with that in mind, making them focused entirely on helping people instead of controlling them. How effective do you believe your approac
More ›