Lyt når som helst, hvor som helst

Nyd den ubegrænsede adgang til tusindvis af spændende e- og lydbøger - helt gratis

  • Lyt og læs så meget du har lyst til
  • Opdag et kæmpe bibliotek fyldt med fortællinger
  • Eksklusive titler + Mofibo Originals
  • Opsig når som helst
Start tilbuddet
DK - Details page - Device banner - 894x1036

Clean Code in JavaScript : Develop reliable, maintainable and robust JavaScript: Develop reliable, maintainable, and robust JavaScript

Sprog
Engelsk
Format
Kategori

Fakta

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.

© 2020 Packt Publishing (E-bog): 9781789957297

Release date

E-bog: 20. januar 2020

Andre kan også lide...

  1. Mastering JavaScript Ved Antani
  2. JavaScript by Example Dani Akash S
  3. Statistics for Data Science: Leverage the power of statistics for Data Analysis, Classification, Regression, Machine Learning, and Neural Networks James D. Miller
  4. Responsive Web Design with HTML5 and CSS: Develop future-proof responsive websites using the latest HTML5 and CSS techniques, 3rd Edition Ben Frain
  5. AI in Digital Marketing Training Guide Dwayne Anderson
  6. Bayes Theorem: A Quick-Start Beginner's Guide Andy Hayes
  7. UX: A Comprehensive Beginner's Guide, Tips and Tricks, Simple and Effective methods and Advanced methods and Actionable solutions for Product Design Success Eric Schmidt
  8. Data Science Algorithms in a Week David Natingga
  9. Mastering JavaScript Functional Programming: Write clean, robust, and maintainable web and server code using functional JavaScript Federico Kereki
  10. Hacking: A Quick and Simple Introduction to the Basics of Hacking, Scripting, Cybersecurity, Networking, and System Penetration Hans Weber
  11. API Analytics for Product Managers: Understand key API metrics that can help you grow your business Deepa Goyal
  12. Small Teaching Online: Applying Learning Science in Online Classes Flower Darby
  13. C++ System Programming Cookbook: Practical recipes for Linux system-level programming using the latest C++ features Onorato Vaticone
  14. Deep Learning for Beginners: 2 in 1 Steven Cooper
  15. Unlocking Passive Income with ChatGPT: Ethical AI-Driven Strategies for Wealth Generation Janek Kruczkowski
  16. Deep Learning for Beginners Steven Cooper
  17. Painless Mental Math: Quick, Easy, and Useful Ways to Become a Human Calculator (Even If You Suck At Math) Peter Hollins
  18. Artificial Intelligence Explained Introbooks Team
  19. Mathematical Thinking - For People Who Hate Math: Level Up Your Analytical and Creative Thinking Skills. Excel at Problem-Solving and Decision-Making. Albert Rutherford
  20. Relationships 5.0: How AI, VR, and Robots Will Reshape Our Emotional Lives Elyakim Kislev
  21. Listen First!: Turning Social Media Conversations Into Business Advantage Stephen D. Rappaport
  22. Statistics for Machine Learning Pratap Dangeti
  23. Build a Mathematical Mind - Even If You Think You Can't Have One: Become a Pattern Detective. Boost Your Critical and Logical Thinking Skills. Albert Rutherford
  24. Accelerated Learning for Expertise: Rapid Knowledge Acquisition Skills to Learn Faster, Comprehend Deeper, and Reach a World-Class Level Peter Hollins
  25. The Mathematics of Various Entertaining Subjects: Research in Recreational Math Jason Rosenhouse
  26. Calculus: The Logical Extension of Arithmetic Seymour B. Elk
  27. Neuroscience and Critical Thinking: Understand the Hidden Pathways of Your Thought Patterns- Improve Your Memory, Make Rational Decisions, Tune Down Emotional Reactions, and Set Realistic Expectations Albert Rutherford
  28. Critical Thinking and Analytical Mind: The Art of Making Decisions and Solving Problems. Think Clearly, Avoid Cognitive Biases and Fallacies in Systems. Improve Listening Skills. Be a Logical Thinker Marcus P. Dawson
  29. Hands-On Enterprise Automation on Linux: Efficiently perform large-scale Linux infrastructure automation with Ansible James Freeman
  30. The Science of Intelligent Decision Making: An Actionable Guide to Clearer Thinking, Destroying Indecision, Improving Insight, & Making Complex Decisions with Speed and Confidence Peter Hollins
  31. How To Gather And Use Data For Business Analysis M.L. Humphrey
  32. The Scribe Method: The Best Way to Write and Publish Your Non-Fiction Book Tucker Max
  33. Cybersecurity for Beginners: How to Defend Against Hackers & Malware ATTILA KOVACS
  34. Institutional Intelligence: How to Build an Effective Organization Gordon T. Smith
  35. Persuasion IQ: The 10 Skills You Need to Get Exactly What You Want Kurt Mortensen
  36. 241 Real-World Brain Teasers.: Guided problem-solving in Inventions, Nature, Uncommon Trivia, and Business Innovation. Invent Discover
  37. Rebooting Work: Transform How You Work in the Age of Entrepreneurship Carlye Adler
  38. Social Business By Design: Transformative Social Media Strategies for the Connected Company Peter Kim
  39. Zoom For Dummies Phil Simon
  40. Online Research Methods Matt Lowell
  41. All the Brains in the Business: The Engendered Brain in the 21st Century Organization Paul Brown
  42. One Decade to Make Millions Jeff C. Johnson
  43. The Art of Statistical Thinking: Detect Misinformation, Understand the World Deeper, and Make Better Decisions. Albert Rutherford

Vælg dit abonnement

  • Over 600.000 titler

  • Download og nyd titler offline

  • Eksklusive titler + Mofibo Originals

  • Børnevenligt miljø (Kids Mode)

  • Det er nemt at opsige når som helst

Flex

For dig som vil prøve Mofibo.

89 kr. /måned
  • 1 konto

  • 20 timer/måned

  • Gem op til 100 ubrugte timer

  • Eksklusivt indhold hver uge

  • Fri lytning til podcasts

  • Ingen binding

Prøv gratis
Den mest populære

Premium

For dig som lytter og læser ofte.

129 kr. /måned
  • 1 konto

  • 100 timer/måned

  • Eksklusivt indhold hver uge

  • Fri lytning til podcasts

  • Ingen binding

Start tilbuddet

Unlimited

For dig som lytter og læser ubegrænset.

149 kr. /måned
  • 1 konto

  • Ubegrænset adgang

  • Eksklusivt indhold hver uge

  • Fri lytning til podcasts

  • Ingen binding

Start tilbuddet

Family

For dig som ønsker at dele historier med familien.

Fra 179 kr. /måned
  • 2-6 konti

  • 100 timer/måned pr. konto

  • Fri lytning til podcasts

  • Kun 39 kr. pr. ekstra konto

  • Ingen binding

2 konti

179 kr. /måned
Start tilbuddet