Coding For Dummies, All New Edition

Höfundur: Paul McFedries (Útgáfa: 2)
Coding For Dummies, All New Edition

Kaup valmöguleikar

Your first step toward thinking like a coder Coding For Dummies is one of the most popular get-started guides for new coders. This all- new edition demystifies essential coding concepts before diving into building simple apps in Python and JavaScript. For anyone brand-new to writing code, this book is an ideal first step, because you'll get an overview of how coding works, the essential tools of coding, and how to apply coding in different ways.

Plus, you'll get insight into how new tools like AI can quickly boost your coding know-how. Enter the world of code with this easy-to-follow Dummies guide! Learn the basics of coding, including key concepts you'll need in every coding language Get a rundown of the most popular language, and start coding in JavaScript and Python Follow step-by-step instructions to build your first apps Discover how AI can help you become a better, faster coder Looking for a foundation in the basics of coding, plus simple tasks to help you get started?

Coding For Dummies is the book for you.

Nánar um bókina

Útgefandi
Wiley Professional Development (P&T)
ISBN
9781394365579
Print ISBN
9781394365562
Format
ePub
Útgáfa
2
Höfundar
Paul McFedries
Tungumál
English
Útgefið
2025-09-24
Prent takmörkun á líftíma
100
Prent takmörkun
10
Afritunar takmörkun
2

Kaflar

  • Cover
  • Table of Contents
  • Title Page
  • Copyright
  • Introduction
  • About This Book
  • Foolish Assumptions
  • Icons Used in This Book
  • Beyond the Book
  • Part 1: Coding Basics
  • Chapter 1: What Is Coding?
  • Programming: Making a Computer Do Your Bidding
  • What Is a Programming Language?
  • The Role of Programming Languages
  • Understanding How Code Is Written and Executed
  • Why Learn to Code? Let Me Count the Ways
  • Real-World Uses of Coding
  • Chapter 2: Coding Concepts You Need to Know
  • Storing Stuff in Variables
  • Dealing with Data Types
  • Constructing Expressions
  • Making Decisions with Conditionals
  • Automating Repetitive Tasks with Loops
  • Organizing Code into Functions
  • Introducing Objects
  • Documenting Code with Comments
  • Debugging Code and Handling Errors
  • Chapter 3: Getting to Know Some Programming Languages
  • Ranking Programming Languages
  • Assembly: Close to the Machine
  • Python: No Experience Required
  • JavaScript: The Glue that Binds the Web
  • Sneaking a Peek at a Few Other Popular Languages
  • Grokking the Difference between Interpreted and Compiled Languages
  • Part 2: Learning Python: The Beginner-Friendly Language
  • Chapter 4: Getting Started with Python
  • Getting to the Command Line
  • Installing Python
  • Running the Python Interpreter
  • Running Your First Python Program
  • Chapter 5: Getting Comfy with Some Python Fundamentals
  • Declaring Variables
  • Exploring Python Data Types
  • Constructing Expressions
  • Messing Around with Strings
  • Chapter 6: Storing Data and Controlling Your Code
  • Storing Stuff in Lists
  • More Ways to Store Stuff: Tuples and Dictionaries
  • Conditionals in Python
  • Python Loops
  • Adding Comments to Your Code
  • Example: Build Your Own Survey Bot
  • Chapter 7: Reusing Code
  • Making Your Code More Efficient with Functions
  • Getting the Hang of Variable Scope
  • Avoiding Wheel Reinvention with Modules
  • Reuse Heaven: Installing External Libraries
  • Reusing Data by Writing and Reading Files
  • Example: Building a Quotations Archive
  • Chapter 8: Expanding Your Python Skills
  • Waxing Pythonic
  • Comprehending List Comprehensions
  • Introducing Object-Oriented Programming (OOP)
  • Working with APIs
  • Handling Program Errors
  • Debugging Your Code
  • Example: Cat Fact Cards
  • Chapter 9: Building Some Useful Python Projects
  • Project 1: Anagram Guessing Game
  • Project 2: Text Analyzer
  • Part 3: Learning JavaScript: The Language of the Web
  • Chapter 10: Getting Your Feet Wet with JavaScript
  • JavaScript: Controlling the Machine
  • What You Need to Get Started
  • Basic Script Construction
  • Adding Comments to Your Code
  • Creating External JavaScript Files
  • Getting to Know the Console
  • Chapter 11: Getting the Hang of a Few JavaScript Fundamentals
  • I Do Declare: Variables in JavaScript
  • Code Looping in JavaScript
  • Harnessing the Power of Functions
  • Getting the Hang of Variable Scope
  • Chapter 12: Tackling Some JavaScript Objects
  • Pulling Strings
  • Dealing with Dates and Times
  • Working with Numbers: The Math Object
  • Working with Arrays
  • Chapter 13: Unleashing JavaScript in the Browser
  • Getting to Know the Document Object Model
  • Specifying Elements
  • Traversing the DOM
  • Manipulating Elements
  • Modifying CSS with JavaScript
  • Building Reactive Pages with Events
  • Chapter 14: Debugging JavaScript
  • Examining Your Debugging Tools
  • Debugging with the Console Window
  • Pausing Your Code
  • Stepping Through Your Code
  • Chapter 15: Putting JavaScript to Work
  • Project 1: A Photo Gallery
  • Project 2: Get a Random Quotation from an API
  • Part 4: The Part of Tens
  • Chapter 16: Ten Things to Know about AI and Coding
  • Understanding How You Can Use AI
  • Learning What AI Can and Can’t Do
  • Crafting Effective Prompts
  • Learning to Code Using AI
  • Avoiding AI Dependency
  • Reviewing the Major AI Coding Tools
  • Vibe Coding Is Fun
  • Best Practices for Integrating AI
  • Avoiding Common Mistakes
  • Understanding Code Before Using It
  • Chapter 17: Ten Vital HTML Tags and CSS Properties
  • Ten HTML Tags You Need to Know
  • Ten CSS Properties to Memorize
  • Ten CSS Selectors to Swoon Over
  • Index
  • About the Author
  • Connect with Dummies
  • End User License Agreement

Hvernig virkar þetta?

Hvernig þú kaupir og lest bókina, 3 mín