• 0 Posts
  • 78 Comments
Joined 2 years ago
cake
Cake day: July 8th, 2023

help-circle
  • I agree with much of what you say, but the idea that this isn’t “gods” earth any more I find risible. Much of this was done in via religion which is a man-made system to capitalize on insecurity and fear.

    I’m curious what you mean about “not participating in this fucked up world” and “sacrificing the privileges and comfort of the modern life”. For me, these are highly ambiguous phrases.

    The problem is not a modern/permissive/whatever society but the inability of those on the right wing to tolerate anyone who is different and, as we are now finding out, to attempt to erase them. Love is the answer, and I tend to agree this is not compatible with current politics.




  • SOLID is generally speaking a good idea. In practice, you have to know when to apply it.

    it sounds like your main beef in Java is the need to create interfaces for every class. This is almost certainly over-engineering it, especially if you are not using dependency inversion. IMHO, that is the main point of SOLID. For the most part your inversions need interfaces, and that allows you create simple, performant unit tests.

    You also mention OOP - It has it’s place, but I would also suggest you look at functional programming, too. IMHO, OOP should be used sparingly as it creates it’s own form of coupling - especially if you use “Base” classes to share functionality. Such classes should usually be approached using Composition. Put this another way, in a mature project, if you have to add a feature and cannot do this without reusing a large portion of the existing code without modifications you have a code-smell.

    To give you an example, I joined a company about a year ago that coded they way you are describing. Since I joined, we’ve been able to move towards a more functional approach. Our code is now significantly smaller, has gone from about 2% to 60% unit testable and our velocity is way faster. I’d also suggest that for most companies, this is what they want not what they currently have. There are far too many legacy projects out there.

    So, yes - I very much agree with SOLID but like anything it’s a guideline. My suggestion is learn how to refactor towards more functional patterns.


  • “Liberals” just want to be right - or at least want to be seen as doing it in the right way. The Conservatives believe that the end justifies the means

    The justice department is supposed to be independent for precisely this reason. I can appreciate Garland was trying to avoid partisanship and appear to be impartial. But he failed. Dismally. Both of these investigations should have been fast tracked and much more open to avoid any appearance of bias. That would, of course, lead to the problem of a fair trial….