¡Acompáñanos a viajar por el mundo de los libros!
Añadir este libro a la estantería
Grey
Escribe un nuevo comentario Default profile 50px
Grey
Suscríbete para leer el libro completo o lee las primeras páginas gratis.
All characters reduced
Clean Code in JavaScript - Develop reliable maintainable and robust JavaScript - cover

Clean Code in JavaScript - Develop reliable maintainable and robust JavaScript

James Padolsey

Editorial: Packt Publishing

  • 0
  • 1
  • 0

Sinopsis

Get the most out of JavaScript for building web applications through a series of patterns, techniques, and case studies for clean coding

 

Key Features


Write maintainable JS code using internal abstraction, well-written tests, and well-documented code

Understand the agents of clean coding like SOLID principles, OOP, and functional programming

Explore solutions to tackle common JavaScript challenges in building UIs, managing APIs, and writing states

 

Book Description


 
Building robust apps starts with creating clean code. In this book, you'll explore techniques for doing this by learning everything from the basics of JavaScript through to the practices of clean code. You'll write functional, intuitive, and maintainable code while also understanding how your code affects the end user and the wider community.


 



 
The book starts with popular clean-coding principles such as SOLID, and the Law of Demeter (LoD), along with highlighting the enemies of writing clean code such as cargo culting and over-management. You'll then delve into JavaScript, understanding the more complex aspects of the language. Next, you'll create meaningful abstractions using design patterns, such as the Class Pattern and the Revealing Module Pattern. You'll explore real-world challenges such as DOM reconciliation, state management, dependency management, and security, both within browser and server environments. Later, you'll cover tooling and testing methodologies and the importance of documenting code. Finally, the book will focus on advocacy and good communication for improving code cleanliness within teams or workplaces, along with covering a case study for clean coding.


 



 
By the end of this book, you'll be well-versed with JavaScript and have learned how to create clean abstractions, test them, and communicate about them via documentation.

 

What you will learn


Understand the true purpose of code and the problems it solves for your end-users and colleagues

Discover the tenets and enemies of clean code considering the effects of cultural and syntactic conventions

Use modern JavaScript syntax and design patterns to craft intuitive abstractions

Maintain code quality within your team via wise adoption of tooling and advocating best practices

Learn the modern ecosystem of JavaScript and its challenges like DOM reconciliation and state management

Express the behavior of your code both within tests and via various forms of documentation

 

Who this book is for


 
This book is for anyone who writes JavaScript, professionally or otherwise. As this book does not relate specifically to any particular framework or environment, no prior experience of any JavaScript web framework is required. Some knowledge of programming is assumed to understand the concepts covered in the book more effectively.
Disponible desde: 20/01/2020.
Longitud de impresión: 548 páginas.

Otros libros que te pueden interesar

  • Subtract - The Untapped Science of Less - cover

    Subtract - The Untapped Science...

    Leidy Klotz

    • 0
    • 0
    • 0
    This program includes an introduction and epilogue read by the author.Blending evidence across science and design, Subtract: The Untapped Science of Less offers a revolution in problem-solving: proving why we overlook subtraction, and how we can access its true potentialWe pile on “to-dos” but don’t consider “stop-doings.” We create incentives for good behavior, but don’t get rid of obstacles to it. We collect new-and-improved ideas, but don’t prune the outdated ones. Every day, across challenges big and small, we neglect a basic way to make things better: we don’t subtract.Leidy Klotz’s pioneering research shows why. Whether we’re building Lego models or cities, grilled-cheese sandwiches or strategic plans, our minds tend to add before taking away. Even when we do think of it, subtraction can be harder to pull off because an array of biological, cultural, and economic forces push us towards more. But we have a choice—our blind spot need not go on taking its toll on our cities, our institutions, and our minds. By diagnosing our neglect of subtraction, we can treat it.Subtract will change how you change your world. In these pages you’ll meet subtracting exemplars: design geniuses, Nobel Prize-winners, rock-stars, and everyday heroes, who have subtracted to dismantle racism, advance knowledge, heal the planet, and even tell better jokes. These and more guiding lights show how we can revolutionize not just our day-to-day lives, but our collective legacy. A paradigm shift of a book, Subtract shows us how to find more of the options we’ve been missing—and empowers us to pursue them.A Macmillan Audio production from Flatiron Books“This is a captivating, perceptive read on one of the most basic mistakes that we make in the pursuit of success and happiness...If the defining word of your life is ‘more,’ you need to read this book.”--Adam Grant, New York Times bestselling author of Think Again and Originals, and host of the TED podcast WorkLife
    Ver libro
  • Hypnosis to Overcome Pain Fear & Childhood Abuse and Obtain Freedom - Unlock The Secrets To Achieving Success With Hypnosis - cover

    Hypnosis to Overcome Pain Fear &...

    Be Conscious Creators

    • 0
    • 0
    • 0
    Rewire Your Mindset And Get Fast Results With Hypnosis! 
     
    The advantages of hypnosis therapy are widespread. A lot of individuals report positive changes with hypnosis and it's recognized as a valid type of holistic alternative medicine.  
     
    Hypnosis is a popular technique utilized for weight loss, overcoming addiction, healing, achieving goals, relaxation and stress relief. It's utilized to get rid of undesired behaviors and beliefs and to manifest new desires and achieve goals in life. 
      
    If you wish to influence your subconscious mind to accept new programming for positive alterations hypnosis is an effective technique for doing that. 
     
    Among the chief advantages of hypnosis is that when you in a hypnotic state brain wave frequencies decelerate. You center or focus your awareness and you're actually much more aware than usual. A state of centered awareness almost feels as though you're more of an observer of thought and images rather than a part of them. This allows you to bypass the "gatekeepers" at the entrance to the subconscious and superconscious so you are able to access these levels of consciousness directly, and the brain is much more receptive to suggestion. 
     
    The unconscious, or subconscious may then be reprogrammed so it lets go of old patterns, beliefs and feelings that no longer serve you. They may be replaced with suggestions that are favorable and affirming. The superconscious mind may open you into fresh insights and originative ideas.  
     
    A common misperception is that you only have to be hypnotized once to make lasting changes. Occasionally this is the case, but for lasting positive changes, hypnosis suggestions need to be repeated several times till your mind accepts the new programming. 
     
    You'll need to enter hypnosis and listen to your audio multiple times. Don't expect that one session will set up and run your new programs. 
     
    Put this audio on each night before you go to bed and listen to it right before you fall asleep. If you have time also listen to it first thing upon waking. Do this for at least 21 days consistently so that positive change can take affect in your life.
    Ver libro
  • HowExpert Guide to Microbiology - 101 Tips to Learn about the History Applications Research Universities and Careers in Microbiology - cover

    HowExpert Guide to Microbiology...

    HowExpert, Sehrish Siddique

    • 0
    • 0
    • 0
    If you want to learn about the history, applications, research, universities, and careers in microbiology, then check out HowExpert Guide to Microbiology. 
    HowExpert Guide Microbiology is a compilation of all the major aspects of microbiology for one to get to know microbiology in the best way possible. It includes all minor and major points regarding Microbiology, from a basic introduction to depth and complexity. A very simple yet scientific writing style is adopted for the better understanding of the readers because the main aim of this book is to acknowledge every individual irrespective of the scientific background, to grasp the beauty of microbiology. 
    This book consists of 5 chapters, i.e., Introduction to Microbiology, History of Microbiology, Applications of Microbiology, Research (which is real-life and detailed research under the category food microbiology), Scope and Career in Microbiology. Chapter No 1, “Introduction to Microbiology,” contains most of the weightage of this book as this is the most vital and comprehensive chapter; it lays the base of this book. One can get most of the important and basic knowledge in this chapter. While Chapter No 4, “Research,” is the most complex part of the book and the most interesting one too. By going through it, you’ll feel like a researcher. This is a complete and detailed sample for you to learn about the research. This book is a complete guide for Microbiology. 
    Check out HowExpert Guide to Microbiology to learn about the history, applications, research universities, and careers in microbiology!
    Ver libro
  • The World is Blue - How Our Fate and The Ocean’s Are One - cover

    The World is Blue - How Our Fate...

    Sylvia A. Earle, Bill McKibben

    • 0
    • 0
    • 0
    A Silent Spring for our era, this eloquent, urgent, fascinating book reveals how just fifty years of swift and dangerous oceanic change threatens the very existence of life on Earth. Legendary marine scientist Sylvia Earle portrays a planet teetering on the brink of irreversible environmental crisis.In recent decades we've learned more about the ocean than in all previous human history combined. But, even as our knowledge has exploded, so too has our power to upset the delicate balance of this complex organism. Modern overexploitation has driven many species to the verge of extinction. Since the mid-twentieth century about half our coral reefs have died or suffered sharp decline; hundreds of oxygen-deprived "dead zones" blight our coastal waters; and toxic pollutants afflict every level of the food chain.Fortunately, there is reason for hope, but what we do—or fail to do—in the next ten years may well resonate for the next ten thousand. The ultimate goal, Earle argues passionately and persuasively, is to find responsible, renewable strategies that safeguard the natural systems that sustain us. The first step is to understand and act upon the wise message of this accessible, insightful, and compelling book.
    Ver libro
  • Autophagy - cover

    Autophagy

    Ronald Olympia

    • 0
    • 0
    • 0
    Why has this unique type of fasting only become established in the past couple of years?It’s simple, the fat cats of our food industry establishment have billions riding on the outdated “3 square meals a day” lifestyle.And not only is this typical American lifestyle outdated, it’s downright dangerous!Inside you’ll discover:How to lose weight faster while intermittent fasting IBS pain? You can blame this common food 5 superfoods you can find at your local supermarketHow inflamed is your body right now? Exactly what to ask your doctor to find out the truth.How to increase autophagy without fasting for several days in a rowEat this “forgotten food” to reverse plaque build up in your arteriesHow to properly do a water fast without feeling weak or getting hungry.A handful of this food cuts risk of heart disease by 24 percent1 in 4 supplements failed quality tests at a leading independent lab. Discover which ones to throw outAnd much, much more..Plus countless other health secrets...Including this “miracle beverage” which researchers at the University of Minnesota found lowered diabetes risk by 33 percent...drinking this also boosts the effectiveness of your fast...plus one drink to avoid which sneakily breaks your fast.You’ll also discover:How to avoid starvation mode while fastingThe raw truth about extended water fastingIs too much autophagy bad? Get the answer from the world’s leading expert Why do dogs who eat 1 meal a day live 20 percent longer than dogs who eat 3 meals a day?This is not just a diet fad. This is a long-term game changer in the health and longevity space.
    Ver libro
  • Quantum Electronics - cover

    Quantum Electronics

    IntroBooks Team

    • 0
    • 0
    • 0
    Quantum Electronics is that discipline of Physics which deals with the impact of quantum mechanics on the specific behavior of electrons in elements or that of any matter. To get an in depth understanding of the quantum electronics as a whole, it is required that atomic physics, which studies and explains the inner workings of atoms in matter, has to be understood very well. Atomic Physics is widely acclaimed as the most active of the testing grounds of the quantum theory and is rightly the field of extensive research for both its contribution to quantum electronics and technology in general, as well as for its contribution to all physics fundamentally. Not only quantum electronics, but a plethora of other disciplines are heavily indebted to Atomic Physics in that regard, some of them are quantum chemistry, astrophysics, solid-state physics, laser physics etc. According to one of the greatest pioneers of quantum mechanics, Mr. Feynman, if for some reason, all the information regarding science that is known to man today has to go except only one sentence that could be passed on to the next generation of creatures, then the most important of all information to fit into that one sentence would be the idea of atoms or atomic hypothesis / fact, whichever you want to call it - that describes little particles that are under constant movement and attracting each other if apart and repelling each other when squeezed- With a little bit of thinking and imagination applied to that one sentence, one can easily observe the huge information as well as the great evaluation made about our world! The primary task of Atomic Physics is to determine the wave functions as well as the energies emitted out of the quantized electron, leaving everything else related to the nucleus is left to Nuclear Physics to determine. So, for concept building we need to put stress on the basics of atomic physics before moving on the applications of Quantum Electronics. 
    Ver libro