85
votes
What does the crash early concept mean?
Basically, the author, [...] advises to avoid catching exceptions and let the program crash
No, that is a misunderstanding.
The recommendation is to let a program terminate its execution ASAP when ...
17
votes
What does the crash early concept mean?
The important part here is the kind of error you encountered. There are errors that are expected, and where you know what to do with them. Typical examples are network errors, e.g. in your web ...
11
votes
What does the crash early concept mean?
How about a physical analogy? Your boss instructs you to organize and file some boxes of paperwork and tells you do exactly as you're told and not to bother her until the job is done for any reason. ...
11
votes
What does the crash early concept mean?
What could be the supervisor the author is referring to?
In the context of the book, the author is referring to the supervisor in Erlang. It handles restart logic for crashing processes, and handles ...
6
votes
What does the crash early concept mean?
Exceptions are meant to communicate to your caller that you couldn't fulfill your job. [That's the most-ignored fact about exceptions.]
Fail Early
That's good advice. As soon as you find out that you ...
1
vote
What does the crash early concept mean?
In Java almost two decades ago the concept was called "fail fast" not "crash early". The main issue is that back then most of the times you had a server program handling multiple ...
1
vote
Accepted
How to avoid duplication with Data Sources
So, you have an application, and you have a database. Your database table looks like this:
CREATE TABLE People (
Id int,
LastName varchar(255),
FirstName varchar(255),
Address varchar(...
1
vote
How to avoid duplication with Data Sources
If you have a table with three columns, say Name, Address and Age, you need somewhere to put this data when reading it into your program. For static languages this is frequently a map of some sorts.
...
1
vote
Accepted
How to approach unorthogonal system?
Orthogonality refers to the different dimensions that are addressed by the components of the system. Typically, these dimensions will look something like: data storage, data processing (i.e., ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
pragmatism × 13programming-practices × 2
books × 2
design × 1
java × 1
architecture × 1
programming-languages × 1
agile × 1
open-source × 1
performance × 1
functional-programming × 1
refactoring × 1
compiler × 1
code-reviews × 1
haskell × 1
abstraction × 1
theory × 1
applications × 1
app × 1
lexer × 1
monad × 1
hl7 × 1
ideology × 1