Elements of Programming (2019)
elementsofprogramming.com
Elements of Programming (2019)
1–10 of 13 posts
Re: Elements of Programming (2019)
#2Re: Elements of Programming (2019)
#3Re: Elements of Programming (2019)
#4Re: Elements of Programming (2019)
#5This wasn't mentioned in the past thread. Alex presents his ideas in my forms. This one happens to be the most terse and mathematical. That can be good, but I think "From Mathematics to Generic Programming" is much more generally approachable.
One practical skill that's shown well in this book is writing functions that solve the easiest or special cases, and then layering those into general functions which ensure the preconditions for applying one of those special cases are met. It makes very readable code, and anytime a user of the code knows they have a special case, they can assert it and use the special one for some performance advantages.
Re: Elements of Programming (2019)
#6This is a great book. This wasn't mentioned in the past thread. Alex presents his ideas in my forms. This one happens to be the most terse and mathematical. That can be good, but I think "From Mathematics to Generic Programming" is much more generally approachable. One practical skill that's shown well in this book is writing functions that solve the easiest or special cases, and then layering those into general func…
Re: Elements of Programming (2019)
#7This is a great book. This wasn't mentioned in the past thread. Alex presents his ideas in my forms. This one happens to be the most terse and mathematical. That can be good, but I think "From Mathematics to Generic Programming" is much more generally approachable. One practical skill that's shown well in this book is writing functions that solve the easiest or special cases, and then layering those into general func…
Re: Elements of Programming (2019)
#8This is a great book. This wasn't mentioned in the past thread. Alex presents his ideas in my forms. This one happens to be the most terse and mathematical. That can be good, but I think "From Mathematics to Generic Programming" is much more generally approachable. One practical skill that's shown well in this book is writing functions that solve the easiest or special cases, and then layering those into general func…
I was a bit put off by the introductory chapter where he is using a lot of nonstandard terms such as "abstract species/genus" rather than the usual type theoretic treatment. However, take that as the remark of an ignoramus.
There are many different backgrounds from which to explore these topics, and type theory is just one way. Also the introduction isn't really trying to formalize computation itself, but give mathematical tools for talking about algorithms.
The abstract species/genus is probably inspired more by Aristotle than CS topics.
Re: Elements of Programming (2019)
#9This book proved that C++ code can be elegant and beautiful.
Re: Elements of Programming (2019)
#10This book proved that C++ code can be elegant and beautiful.