4 ms·
well I think a big minus in the ecosystem is that many projects (including something popular like NHibernate) actually pulled themselfs too much into the framew
by merb 10y ago
well I think a big minus in the ecosystem is that many projects (including something popular like NHibernate) actually pulled themselfs too much into the framework, they didn't created their own (which of course wasn't/isn't bad) but it tangled it, with a lot of implementation from microsoft (which microsoft now breaks).
I always was very curious why that happened. I mean .NET has something like DataTable/DataReader, classes that were fully!!! implemented. In Java for SQL access you just gotten some interfaces and a Socket, the rest was up to you. (and somehow that worked, we have drivers for every major database in Java). Actually besides some java.io.InputStream/java.io.Reader there weren't such high level classes used/are used in these drivers. I mean since java8 we now have some nio classes that makes byte manipulation a lot of easier, but most stuff is still implemented by the driver and not any framework at all. (even ResultSet/Connection/DataSource is just an interface)
- pjmlp 10y agoUsually the culture on the .NET side of the fence tends to be more practical code oriented for quick solutions to daily use cases, than the enterprise solutions targeted to every possible use case one might eventually encounter. I love working on both sides, but sometimes we get into these kind of issues. On Java side I never liked that Sun engineers never grasped the expectations of what being a desktop developer actually means (AWT, Swing, Java 3D, JAI, JDI...). Which is an area, where Oracle actually managed to handle slightly better, but lets see.
- UK-AL 10y agoI find that strange since some of the most popular "enterprise" patterns in use were made popular in .net. CQRS/EVENT SOURCING/DDD
- pjmlp 10y agoI never used any of those, and I have been in the enterprise since the mid-90's. The only .NET enterprise pattern I can relate to is MVVM.
- UK-AL 9y agoI'm seeing these patterns being referenced a lot more in java and node conferences recently.
- merb 10y agowell I wouldn't say that is a enterprise pattern, more like a "big online shop with dozens of users"-pattern. When your users are below a certain threshold CQRS/Event Sourcing that pattern would be a extreme overhead. (And I'm not sure if .NET made them popular, the only thing I know is that microsoft actually has very good documentation about them and martin fowler actually made good block posts about it in early as of 2005 or so, but the first time I heard of it was probably in Object-Oriented Software Construction (Java Book))