Reputation
6,287
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 16 34
Newest
 Revival
Impact
~355k people reached

1d
awarded  Revival
Apr
11
comment Is overriding concrete methods a code smell?
Related on Stackoverflow: Any good examples of inheriting from a concrete class?; Is inheritance of concrete classes evil?
Apr
10
comment Why does everyone use Git in a centralized manner?
@BenVoigt: Yes, they can, but not into the branch you're merging into. When you develop on trunk, and merge a feature branch into trunk, the problem Michael describes can occur.
Apr
10
comment Why does everyone use Git in a centralized manner?
That is the right answer, also from a historical point of view. The Linux kernel has had multiple source repositories for a long time (called "trees" by the developers, such as "Linus' tree" or "Andrew's tree"). Linux wanted something to support that type of distributed development when he developed git.
Apr
8
comment Why are large amounts of magic numbers acceptable in CSS and SVGs?
Magic numbers are not only problematic because of "Make decisions in one place" (aka DRY), but also because they are hard to understand.
Apr
4
awarded  Enlightened
Mar
21
comment Feature branch which never made it into develop
Please clarify what your goal is. Do you want to have less branches? Why? Are you afraid people will be confused by un-merged branches?
Jan
27
comment Achieving Zero Downtime Deployment
What if (when) the app on Server A writes to its DB after you stored the backup, but before you stopped Server A? There is always a "window of vulnerability". These writes will be lost, which may not be acceptable.
Jan
25
comment Is it acceptable to copy and paste long but straightforward code instead of wrapping them into a class or function?
And BTW, mixing networking and error display in one place is already a big no-no, IMHO.
Jan
12
comment What are the security risks/vulnerabilities every C programmer must be aware of?
Realistically, you cannot avoid security vulnerabilities in C, it was never designed to be secure and predictable. If security is a priority, do not use (standard) C. There are some restricted variants of C which can be formally checked, that could be an alternative.
Jan
12
comment What are the security risks/vulnerabilities every C programmer must be aware of?
As to integer overflow: Using signed ints is no solution, as overflowing them will cause UB. The only (painful) solution is to either formally prove that you will never overflow, or check at runtime (but check correctly, which is also tricky without overflowing in the check).
Jan
3
awarded  Yearling
Dec
17
comment Lookup Tables: Are they a leak in the domain model?
Also note that this solution will not necessarily use more disk space: An INTEGER column will use 4 (or 8, for 64bit) bytes. If you use a CHAR(4) with only ASCII, you will not use more.
Dec
13
answered SDK/DB isDeleted vs Integration Testing
Dec
12
comment SDK/DB isDeleted vs Integration Testing
"I'd try to not run tests on true production databases if possible" - that seems, like quite an understatement, to put it as gently as possible. My response would be more like "Are you bleeding insane?".
Dec
3
answered Is it a good practice to have a pre-filled embedded database for development?
Dec
3
comment Workflow, editing things not in your current task
@Nattfrosten: Yes, that's natural, and not bad - after all, the focus should usually be on coding. The code-management ist just to make coding easier.
Dec
2
answered Workflow, editing things not in your current task
Dec
2
awarded  Custodian
Dec
2
reviewed Approve What is the interplay or relationship between business, functional, and system requirements?