Pikkukuvaa napsauttamalla pääset Google Booksiin.
Ladataan... Exercises in programming style (vuoden 2014 painos)Tekijä: Cristina Videira Lopes
TeostiedotExercises in Programming Style (tekijä: Cristina Videira Lopes)
- Ladataan...
Kirjaudu LibraryThingiin nähdäksesi, pidätkö tästä kirjasta vai et. Ei tämänhetkisiä Keskustelu-viestiketjuja tästä kirjasta. ei arvosteluja | lisää arvostelu
Using a simple computational task (term frequency) to illustrate different programming styles, Exercises in Programming Style helps readers understand the various ways of writing programs and designing systems. It is designed to be used in conjunction with code provided on an online repository. The book complements and explains the raw code in a way that is accessible to anyone who regularly practices the art of programming. The book can also be used in advanced programming courses in computer science and software engineering programs. The booknbsp;contains 33 different styles for writing the term frequency task. The styles are grouped into nine categories: historical, basic, function composition, objects and object interactions, reflection and metaprogramming, adversity, data-centric, concurrency, and interactivity. The author verbalizes the constraints in each style and explains the example programs. Each chapter first presents the constraints of the style, next shows an example program, and then gives a detailed explanation of the code. Most chapters also have sections focusing on the use of the style in systems design as well as sections describing the historical context in which the programming style emerged. Kirjastojen kuvailuja ei löytynyt. |
Current Discussions-Suosituimmat kansikuvat
Google Books — Ladataan... LajityypitMelvil Decimal System (DDC)005.1Information Computing and Information Computer programming, programs, data, security ProgrammingKongressin kirjaston luokitusArvio (tähdet)Keskiarvo:
Oletko sinä tämä henkilö? |
All the programs are written in Python, but each program is written in a different style. Examples of styles are: only passing arguments via the stack, stringing function calls together, object oriented, actors, aspects, using an SQL database, and Map Reduce.
Each example is one or two pages of code, and is followed by a detailed explanation of how it works. This method of showing the styles works extremely well. First of all, the programs are short enough to completely understand, while still not being trivial. Second, you soon become so familiar via the problem solved (term frequencies) that you can easily concentrate on the differences between the styles. And finally, the descriptions of the styles are actual programs that can be run, instead of abstract hand-wavy descriptions, which I really appreciated.
I really enjoyed reading this book, and I learnt a lot. I think it is quite unique among programming books. At the same time it is relatively unknown, which is a shame. It is a great book that deserves to be better known.
I have written a longer review of it on my blog: https://henrikwarne.com/2018/03/13/exercises-in-programming-style/
( )