Skip to main content
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 ...
Doc Brown's user avatar
  • 214k
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 ...
Mad Scientist's user avatar
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. ...
Zach Lipton's user avatar
  • 1,608
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 ...
lennon310's user avatar
  • 3,242
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 ...
Ralf Kleberhoff's user avatar
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 ...
FluidCode's user avatar
  • 791
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(...
Flater's user avatar
  • 56.3k
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. ...
Thorbjørn Ravn Andersen's user avatar
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., ...
BobDalgleish's user avatar
  • 4,734

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