Skip to main content
83 votes

Does following SOLID lead to writing a framework on top of the tech stack?

Your observation is correct, the SOLID principles are IMHO made with reusable libraries or framework code in mind. When you just follow all of them blindly, without asking if it makes sense or not, ...
Doc Brown's user avatar
  • 214k
51 votes
Accepted

What advantage was gained by implementing LINQ in a way that does not cache the results?

What advantage was gained by implementing LINQ in a way that does not cache the results? Caching the results would simply not work for everybody. As long as you have tiny amounts of data, great. Good ...
nvoigt's user avatar
  • 8,445
50 votes

Does following SOLID lead to writing a framework on top of the tech stack?

From my experience, when writing an app, you have three choices: Write code solely to fulfil the requirements, Write generic code that anticipates future requirements, as well as fulfilling the ...
David Arno's user avatar
  • 39.5k
25 votes
Accepted

ASP.NET Projects using too much .NET Boilerplate Libraries / Code

When you start a project and have a particular need, you have a choice: Either you implement your own solution from scratch, Or you use an existent library or framework. When implementing your own ...
Arseni Mourzenko's user avatar
25 votes

What advantage was gained by implementing LINQ in a way that does not cache the results?

What advantage did Microsoft hope to gain by implementing it this way? Correctness? I mean, the core enumerable can change in between calls. Caching it would produce incorrect results and open the ...
Telastyn's user avatar
  • 110k
20 votes
Accepted

Does it make sense to keep updating the version of Bootstrap used in my web application?

You can think about updating Bootstrap the same way you would think about any other dependency. Does it introduce breaking changes? What benefits do you get from upgrading? Do the benefits outweigh ...
Way Spurr-Chen's user avatar
10 votes
Accepted

Does the use of frameworks make it unnecessary to learn design patterns?

Most frameworks already use a lot of known software design patterns. So you are using design patterns unknowingly. That said, I would strongly suggest you try learning at least the most common ones. ...
Tulains Córdova's user avatar
10 votes
Accepted

Clean Architecture: Dependency Rule and Libraries/Frameworks

Your observation is correct. However, that does not mean the "Clean Architecture" approach is wrong in general. One major technique to decouple things from "outer rings" like the database layer or ...
Doc Brown's user avatar
  • 214k
9 votes

Does the use of frameworks make it unnecessary to learn design patterns?

Remember, the original GoF book has the full title "Design Patterns. Elements of Reusable Object-Oriented Software.". And most of the GoF patterns have that purpose - build software which can be put ...
Doc Brown's user avatar
  • 214k
9 votes
Accepted

Is coupling a good thing or bad thing when I'm developing standalone modules in a framework?

Is coupling a good thing or bad thing when I'm developing standalone modules on framework? Coupling is an unavoidable thing if you want things to work together. What you work towards is loose or ...
candied_orange's user avatar
9 votes

Is trunk-based development viable for SDK development?

Yes. In fact, the branch for release strategy is specifically designed for this case. For as long as your application, library, framework, SDK, package, etc. needs to be supported, you have a long-...
Thomas Owens's user avatar
  • 84.2k
8 votes

How to choose NOT to use a framework (Caliburn.Micro, etc.) in a given MVVM application?

My first experience with WPF has been using Caliburn.Micro so this is probably quite different from most developers. I have found both WPF and Caliburn.Micro to be quite a steep learning curve, coming ...
Web Dev's user avatar
  • 425
8 votes

Does following SOLID lead to writing a framework on top of the tech stack?

The perspective you have can be skewed by personal experience. This is a slippery slope of facts that are individually correct, but the resulting inference isn't, even though it looks like correct at ...
Flater's user avatar
  • 56.3k
8 votes

Is it better to use frameworks with strict structural requirements?

I'm quite confused and don't really know which would be objectively better That's because there is no "objectively better." "Better" depends on what your goals are. If your goals are to use an ...
Robert Harvey's user avatar
8 votes
Accepted

Do blockchains provide any improvement over conventional systems/frameworks when decentralization is not required?

a COMPANY (therefore not decentralized) wanted to make a product or system that did XYZ, what benefits does blockchain provide over conventional frameworks? In many cases, nothing whatsoever. And a ...
Philip Kendall's user avatar
7 votes

Are Dependency Injection Frameworks Useful in Dynamically Typed Languages?

The main benefit of a DI framework is that it moves construction into a different language (xml, json, whatever). This enforces not mixing construction code with behavior code. It's a poor programming ...
candied_orange's user avatar
7 votes
Accepted

Why do frameworks give more flexibility to models than controllers?

"Model" in this context (and in the context of MVC, MVP, MVVM, etc.) is not something you use for database access. It is not a data model. It also doesn't refer to "view models" that you may find in ...
Filip Milovanović's user avatar
7 votes

ASP.NET Projects using too much .NET Boilerplate Libraries / Code

Yes, most places I've worked at use some of those libraries. It is tempting to see them as bloat, I for one dislike Entity Framework and tend to 'hand crank' my repositories. But, in fact the ...
Ewan's user avatar
  • 79.8k
7 votes

Does following SOLID lead to writing a framework on top of the tech stack?

How does SOLID turn simple code into framework code? I'm not a stan for SOLID by any means but it's really not obvious what you mean here. KISS is the essence of the Single Responsibility Principle. ...
David Moles's user avatar
6 votes
Accepted

Why is there such a fight for companies to produce new languages + frameworks

Companies are doing this in order to make some product or platform (on which they earn a profit) more attractive. For example Apple is developing Swift in order to make iOS development more attractive ...
JacquesB's user avatar
  • 61k
5 votes

Is there any disadvantage to using Eclipse Collections exclusively?

Eclipse Collections is a pretty mature library. It's been under development for over a decade at Goldman Sachs (it used to be "GS Collections") in order to handle larger collections with less garbage ...
SusanW's user avatar
  • 1,034
5 votes

Why do frameworks give more flexibility to models than controllers?

Because business logic is not one of the responsibilities of controllers, and MVC is all about separation of concerns. You're not looking at this right. The whole point of MVC is to provide a ...
Robert Harvey's user avatar
5 votes

ASP.NET Projects using too much .NET Boilerplate Libraries / Code

The point of using frameworks compared to hand-rolled solutions is to save work and to reduce risk. A hand rolled custom solution might be more focused and have "less bloat" compared to a generic ...
JacquesB's user avatar
  • 61k
5 votes
Accepted

IEC 62304, Are Software Frameworks (Spring/JEE/Angular/React) considered SOUP?

Keep in mind that I'm not familiar explicitly with IEC 62304 (it's for medical device software and I've never worked with medical devices), I am familiar with similar standards, such as ISO 9001 and ...
Thomas Owens's user avatar
  • 84.2k
5 votes

Testing framework upgrades

You test. And then you test some more. And then you test a bit more. That's obviously a bit general, but it's the answer. In a bit more detail: You make sure your unit tests pass (failing unit tests ...
Philip Kendall's user avatar
5 votes
Accepted

Benefits of Java's InputStream and OutputStream over .NET's Stream

You can only say one is better than the other in particular circumstances. 9 times out of 10, there isn't an important enough difference to really care which direction the stream is intended to be ...
Berin Loritsch's user avatar
5 votes

Large organization, different teams, unique tech stack or different ones?

Prescribing specific technologies is pretty low on my priority list, personally. Technology choices should be made based on a list of criteria, including Meeting design goals Cost Maturity, ...
Martin K's user avatar
  • 2,917
5 votes
Accepted

Should we directly read environment variables when/where we need them?

This is because the rest of the code should rely on abstraction - it does not matter if configuration comes from env variables, database, file or a magic ball. Then it is because of encapsulation - ...
Piotr Gwiazda's user avatar
5 votes
Accepted

How to prevent in house frameworks and libraries from becoming technical debt

There is no general solution to this problem. Welcome to approximately every organization that develops software. In many ways this is precisely the problem that the open source community has, as well....
Greg Burghardt's user avatar
4 votes

Are Dependency Injection Frameworks Useful in Dynamically Typed Languages?

For me DI is a best practice I use in both dynamically typed languages and statically typed languages, for the following reasons: I like my modules/functions/classes/whatever to explicitly say what ...
Tomer Ben David's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible