• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Head First JavaScript: Functional Programming and TDD/BDD

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mr. Freeman / Ms. Robson:

You have several "test drive" entries in the detailed table of contents for chapter 9. Do you cover the concept of TDD/BDD in the book, and if so, what test framework do you use?

Also, as chapter 10 is about functions as first-class objects, do you get much into writing JavaScript in a functional style with, e.g., an emphasis on object immutability?


I love the book series, BTW. HF Design Patterns is an absolute jewel. So, when can we expect HF Java to be updated for Java 8?
 
author
Posts: 200
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Brad,
Thank you for your kind comments about HF Design Patterns. And on Java, I have been bugging Bert with the SAME question!!

We do not cover TDD/BDD in the book. Our "test drives" are simply a section where we test the code we've been writing in the chapter.

However, I agree that's an important topic and as I get up to speed on that myself (with regards to JavaScript, it's fairly new), I'll be posting on our website about it.

Chapter 10 is about functions as first class values, but we don't delve too deep into functional-style programming. Just wrapping your head around a function as a value feels like a major thing, so we didn't want to blow people's heads up :-)

I think functional programming really deserves a whole book. It's a whole different way of thinking once you get beyond the basics. I think Kathy might be working on something. . . :-)

Elisabeth
 
This. Exactly this. This is what my therapist has been talking about. And now with a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic