How JavaScript Works
by: Douglas Crockford
Publisher finelybook 出版社: Virgule-Solidus (October 18,2018)
Language 语言: English
Print Length 页数: 279 pages
ISBN-10: 1949815005
ISBN-13: 9781949815009
Book Description
Douglas Crockford starts by looking at the fundamentals: names,numbers,booleans,characters,and bottom values. JavaScript’s number type is shown to be faulty and limiting,but then Crockford shows how to repair those problems. He then moves on to data structures and functions,exploring the underlying mechanisms and then uses higher order functions to achieve class-free object oriented programming. The book also looks at eventual programming,testing,and purity,all the while looking at the requirements of The Next Language. Most of our languages are deeply rooted in the paradigm that produced FORTRAN. Crockford attacks those roots,liberating us to consider the next paradigm.He also presents a strawman language and develops a complete transpiler to implement it. The book is deep,dense,full of code,and has moments when it is intentionally funny.