An overview of information hiding in JavaScript

In general—meaning any programming language, client-side, server-side, non-web, mobile application, and almost anything else, perhaps even microcontrollers (which can now run a stripped-down Python)—there are different methodologies that generally have their own strengths and weaknesses. Steve McConnell's Code Complete: A Practical Handbook of Software Construction (http://tinyurl.com/reactjs-code-complete) discusses different methodologies and covers, for instance, how object-oriented programming's sweet spot is with larger projects than are really procedural programming's sweet spot. For most methodologies, his suggestion is that they have their strengths, weaknesses, and sweet spots, and under ...

Get React: Building Modern Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.