CARVIEW |
Select Language
HTTP/2 302
date: Fri, 25 Jul 2025 23:55:52 GMT
content-type: text/html
content-length: 143
location: https://softwareengineering.stackexchange.com/questions/linked/14856
cache-control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
expires: Thu, 01 Jan 1970 00:00:01 GMT
vary: Accept-Encoding
x-dns-prefetch-control: off
server: cloudflare
cf-ray: 964f97364c57a403-BLR
HTTP/2 200
date: Fri, 25 Jul 2025 23:55:53 GMT
content-type: text/html; charset=utf-8
cf-ray: 964f97367b7d6f7a-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=5b738cba-778f-401c-8e82-6fa14fc597b6; expires=Sat, 25 Jul 2026 23:55:52 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: f993d608-2f99-4e42-81ed-a099ea16ebf4
x-worker-origin-response-time: 323000000
x-dns-prefetch-control: off
set-cookie: prov=5b738cba-778f-401c-8e82-6fa14fc597b6; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=15o30OgGrMMQr4Y4YN9EL4AjSxbvtFYRV17FG_uSlYw-1753487753-1.0.1.1-.Grx0pd.z7vYjrSseEQUnRrq0aGFsRN3L1AAU4eWL9x24KNdLfUhnldecPVm1lKTzpbe4brAaSaOl2qCj8XNGhVhaZwSrRkVf3niEaalp0U; path=/; expires=Sat, 26-Jul-25 00:25:53 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=4uLFWiOUpqwC57E9Tm8tiA41.jucNfaVmj57KyCDNDo-1753487753048-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Hot Linked Questions - Software Engineering Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsLinked Questions
11 questions linked to/from What popular "best practices" are not always best, and why?
186
votes
16
answers
22k
views
Why does automated testing keep failing in my company?
We have tried to introduce developer automated testing several times at my company. Our QA team uses Selenium to automate UI tests, but I always wanted to introduce unit tests and integration tests. ...
110
votes
12
answers
19k
views
Is testable code better code?
I'm attempting to get into the habit of writing unit tests regularly with my code, but I've read that first it's important to write testable code.
This question touches on SOLID principles of writing ...
84
votes
14
answers
6k
views
When is optimization not premature and therefore not evil?
"Premature optimization is root of all evil" is something almost all of us have heard/read. What I am curious what kind of optimization not premature, i.e. at every stage of software development (high ...
85
votes
8
answers
19k
views
How can a class have multiple methods without breaking the single responsibility principle
The Single responsibility principle is defined on wikipedia as
The single responsibility principle is a computer programming principle that states that every module, class, or function should have ...
50
votes
7
answers
12k
views
Managing and organizing the massively increased number of classes after switching to SOLID?
Over the last few years, we have been slowly making the switch over to progressively better written code, a few baby steps at a time. We are finally starting to make the switch over to something that ...
41
votes
11
answers
8k
views
Is it bad habit not using interfaces? [closed]
I use interfaces rarely and find them common in others code.
Also I create sub and super classes (while creating my own classes) rarely in my code.
Is it a bad thing?
Would you suggest changing this ...
31
votes
10
answers
6k
views
Does logging inside a class violate the SRP?
I wrote a class that takes a Logger class as one of its arguments:
class QueryHandler:
def __init__(self, query: Query, logger: Logger) -> None:
self.query = query
self.logger =...
13
votes
12
answers
2k
views
What do programmers "micro-optimize" for today? [closed]
Back in the "good ol' days," when we would copy shareware onto floppies for friends, we also used a fair bit of assembly. There was a common practice of "micro-optimization," where you would stare and ...
32
votes
8
answers
2k
views
What causes bad performance in consumer apps? [closed]
My Comcast DVR takes at least three seconds to respond to every remote control keypress, making the simple task of watching television into a frustrating button-mashing experience. My iPhone takes at ...
16
votes
8
answers
1k
views
When should I care about performance?
For the longest time in places like Java's IRC channel, SO, and other places I've been told something along the lines of "Worry about how the code looks and its readability/understandability now, and ...
7
votes
1
answer
1k
views
Does unused code affects the assembly after startup (Memory for example)?
Disclaimer: I come from a PHP background.
In PHP, I could have thousands files, which are never loaded, if not needed, due to the autoloader feature (If some code is needed, it would be loaded)
How ...
- The Overflow Blog
-
-
- Featured on Meta
-
-
-
Hot Network Questions
- What does this word "ahn-shdah-heh" mean?
- How can I allow a contact to update their organisation using FormBuilder?
- When was the last time all alive humans stayed on earth?
- What does "enter the hold at arden" mean
- Does the Anchor TypeScript package export error codes?
- Access denied attempting to delete file on Windows Server
- How would you rank these shimano hubs (-tx505, -m3050, -mt500)
- Current integrator LTSpice simulation
- Can you yaw an airplane by only using differential thrust?
- The pea and the sun paradox
- What does this emblem mean?
- Was Hermann Ganswindt's helicopter actually the first manned heavier-than-air motor-powered flight?
- Can a humanoid that fell supine and is then Levitated alter his orientation?
- What Isp can be gotten from a napthalene (mothball) hot gas thruster? Did it work in space?
- Use of l3keys to collect optional arguments of `\NewDocumentCommand`
- About Harp Pedaling for a Pentatonic Glissando
- How many simple groups are there of a given infinite cardinality?
- What's the meaning of a function, going from one set to another?
- How to move points in geometry nodes like a venetian blind?
- leftmargin in enumerate
- Are you required to protect trade secrets revealed to you even if you didn't sign an NDA?
- Why does “brew search” for “peertube” match with “freetube”? How does the search work?
- Are classified documents subject to a subpoena in discovery?
- How can I turn the text in a PNG file back into text layer?