|
Unfortunately there are many more opinions than experts.
Quote: the entire idea behind ORM is wrong
Yes, yes it is. But "solution providers" need to sell a "problem" in order to sell their product. No problem -- no sales.
Quote: more than 10 years already
Ergo, before generics. Generics are a much better "solution" to this particular non-problem.
I also agree with...
Luca Cavagnoli: SQL-speaking objects is a terrible anti-pattern that violates all principles of object-oriented programming
Indeed. Another particular anti-pattern I hear is "an object should be able to persist itself" -- no, an object should absolutely not
know how, where, when, or whether it is stored; that leads to tight coupling. If it can save itself to SQL Server, can it also save itself to Oracle, MySQL, or XML? Or are those options no longer achievable without a whole ton of refactoring?
|
|
|
|
|
I agree - you need a shearing layer between the data and the business logic.
|
|
|
|
|
The article doesn't address the difference between full-blown wieldy ORMs such as Hibernate or EF, and newer micro-ORMs such as Massive, Dapper or PetaPOCO.
The micro-ORMs remove much of the session management skullduggery whilst retaining the object hydration that removes so much boilerplate code, but are (often) limited to hydrating anonymous types.
However, if you introduce a codegen layer into your build process to generate concrete classes which map the database objects, that issue goes away and you're left with (IMHO) the best compromise : a fast layer that removes the drudgery & maintenance headache of hydrating objects, whose objects don't 'speak sql' (yuk!), but don't have the overhead of the session management of larger ORMs.
We use Dapper and a few Codesmith templates; does a good job.
|
|
|
|
|
While I totally agree with the subject line, I find that the article misses the mark except for pointing out that ORM's turn objects "into dumb and passive data bags". Unfortunately, his alternative approach is actually worse.
Marc
|
|
|
|
|
That was my impression too - the solution is worse than the problem.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
If it's any consolation, I hit up-vote ten times.
|
|
|
|
|
Systems administrators are urged to install critical patches that address remote code execution flaws in NTP. "The time is gone, the song is over, thought I'd something more to say"
|
|
|
|
|
Microsoft shipped the first version of Windows on November 20, 1985. The company went public on March 13, 1986. That means that Microsoft pulled the trigger on its IPO mere months after Windows was first launched into the market. "It is too early in the life of Microsoft Windows to determine what level of acceptance it will attain in the marketplace."
|
|
|
|
|
Dang! They should have said "apps"!
|
|
|
|
|
For software infrastructure, it's a big deal. Applications? Not so much. "Talk is cheap. Show me the code."
|
|
|
|
|
CES will include demo of TI's approach to using harvested power. "The Matrix is a computer-generated dream world built to keep us under control in order to change a human being into a battery"
|
|
|
|
|
Is Java a good choice for teaching kids? Doesn't that count as abuse?
|
|
|
|
|
In the same way that Facebook helped the enterprise connect their employees, ephemeral software also points to trends that can boost software in the enterprise space.
Disappearing messages and secretive, morally ambiguous executives? No brainer.
|
|
|
|
|
North Korea’s already tenuous links to the Internet went completely dark on Monday after days of instability, in what Internet monitors described as one of the worst North Korean network failures in years. The loss of service came just days after President Obama pledged that the United States would launch a “proportional response” to the recent attacks on Sony Pictures, which government officials have linked to North Korea.
It's so on.
|
|
|
|
|
And thus the age of Internet warfare begins.
Marc
|
|
|
|
|
Very very asymmetric internet warfare, in this case.
|
|
|
|
|
Duncan Edwards Jones wrote: Very very asymmetric internet warfare, in this case.
Still the damage done to Sony is pretty amazing.
Marc
|
|
|
|
|
It really is. Some estimates suggest that something close to 100TB of data was stolen, only a fraction of which has been leaked so far, that's freaking crazy!
There's no precedent for this sort of thing, so will be very interesting to see what happens next.
|
|
|
|
|
If 100TB were stolen through probably the most closely watched 4 internet connections on the planet that would indeed be some feat.
It could maybe be a disgruntled ex-employee blackmailing them while also throwing the press a false scent trail.
|
|
|
|
|
Or, just throwing this out there, an employee/disgruntled former employee was paid big bucks to help facilitate this?
It seems as though Sony's IT security situation was pretty woeful, and it's not implausible that NK could have paid somebody (maybe through some hard to trace medium such as Bitcoin) who used to work for them (they had a lot of IT related lay-offs recently) some money to walk them through accessing the system etc.
modified 22-Dec-14 18:11pm.
|
|
|
|
|
Isn't it all.
Usually at least one side must "fancy their chances" to instigate the war in the first place.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
I believe it's been ongoing since many years, just slightly less open.
Wrong is evil and must be defeated. - Jeff Ello
(√-sh*t) 2
|
|
|
|
|
|
"Attack" is pretty sensationalist.
North Korea get's their internet from China, and before this there was speculation that the US was enlisting the help of other countries to ensure NK couldn't carry out another such attack and that one of their approaches involved simply asking China to turn off their internet access.
Isn't it more likely they asked China to do this, and they simply complied as they also recognise that there is a major problem here?
modified 22-Dec-14 16:06pm.
|
|
|
|
|
JMK-NI wrote: and they simply complied
Not a chance! China quietly applauds NK's actions. The UN Security Council just overrode China's objections to add NK to their agenda on human rights.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|