Skip to content

Commit

Permalink
Update ch06.md per todo
Browse files Browse the repository at this point in the history
  • Loading branch information
pete-murphy authored Feb 26, 2018
1 parent 97dae0e commit d097efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch06.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ We are going to switch our mindset. From here on out, we'll stop telling the com

Declarative, as opposed to imperative, means that we will write expressions, as opposed to step by step instructions.

Think of SQL. There is no "first do this, then do that". There is one expression that specifies what'd like from the database. We don't decide how to do the work, it does. When the database is upgraded and the SQL engine optimized, we don't have to change our query. This is because there are many ways to interpret our specification and achieve the same result.
Think of SQL. There is no "first do this, then do that". There is one expression that specifies what we'd like from the database. We don't decide how to do the work, it does. When the database is upgraded and the SQL engine optimized, we don't have to change our query. This is because there are many ways to interpret our specification and achieve the same result.

For some folks, myself included, it's hard to grasp the concept of declarative coding at first so let's point out a few examples to get a feel for it.

Expand Down

0 comments on commit d097efe

Please sign in to comment.