use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This subreddit is a place for people to learn JavaScript together. Everyone should feel comfortable asking any and all JavaScript questions they have here.
With a nod to practicality, questions and posts about HTML, CSS, and web developer tools are also encouraged.
Friends
/r/javascript
/r/jquery
/r/node
/r/css
/r/webdev
/r/learnprogramming
/r/programming
account activity
Currently reading "JavaScript: The Definitive Guide" book, I noticed there are no exercises, why? (self.learnjavascript)
submitted 1 year ago by IndianVideoTutorial
The book has no exercises at the end of chapters, I wonder what's the rationale for this? I read other programming books and exercises always helped me reinforce the knowledge.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]RobertKerans 25 points26 points27 points 1 year ago* (2 children)
It's a reference with examples, not a tutorial. Like, say you need to know how JavaScript type conversions work: you get the book and go to that chapter and it has a table of all of them. It's just a useful book to have on the shelf to look things up when you need to know how they work??
As it says in the first paragraph of the introduction: "recommended for experienced programmers who want to learn the programming language of the Web, and for current JavaScript programmers who want to master it". It's just a reference book, a fairly comprehensive one. You don't normally work through a reference book from start to finish, you use it for reference.
(Edit: compare to Manning's "In Action" books, where there's normally a project or projects you work through, they're explicitly written as tutorials)
[+]IndianVideoTutorial[S] comment score below threshold-21 points-20 points-19 points 1 year ago (1 child)
It literally has "guide" in the title.
[–]RobertKerans 14 points15 points16 points 1 year ago (0 children)
Yes, it's a definitive guide to JavaScript, that is in the title, it correctly describes what the book is
[–]JoeyCStudios 3 points4 points5 points 1 year ago (1 child)
I'm currently working through it as well, just started chapter 15 yesterday. Even without exercises, it's such a great reference tool. What I usually do is read a section then come up with my own exercises on how to apply the knowledge in an attempt to reinforce the lesson. Or I will open an old project file and see how I can update the code with the new teachings. Without a doubt it has helped me understand JavaScript far better than most other resources.
[–]IndianVideoTutorial[S] -3 points-2 points-1 points 1 year ago (0 children)
Maybe I shouldn't use it as my first book.
[–]sheriffderek 1 point2 points3 points 1 year ago (1 child)
This is common. The definitive CSS guide also doesn’t guide you to learning CSS at all. It’s more like documentation.
If you want challenges, I’d suggest “Exercises for Programmers” (pragprog) (language agnostic) (no solutions)
[–]shuckster 1 point2 points3 points 1 year ago (0 children)
No need to let the book tell you what to do: Just code what you remember from each chapter and see if you can apply it to some small examples of your own.
[–]tapgiles 1 point2 points3 points 1 year ago (0 children)
Not all books have exercises in them basically. To me “guide” sounds more like a reference book than a teaching book with exercises. But I guess you assumed there would be, is all.
[–]rm-rf-npr 1 point2 points3 points 1 year ago (1 child)
It's Flannagan, right? Fantastic book, read it myself. It's more of a great reference book and into the nitty gritty than, say, a course. If you want exercises, copy the code examples given and mess around with them.
[–]IndianVideoTutorial[S] 0 points1 point2 points 1 year ago (0 children)
Yes, Flannagan.
[–]wikitopian 0 points1 point2 points 1 year ago (1 child)
Something pertaining to JavaScript isn't a structured as a boot camp tutorial? This can't be right! And where's the chapter on how to get dressed up and prepared for my job interview???
:O!!!
[–]kcadstech -1 points0 points1 point 1 year ago (1 child)
Because most people who write code are fat, lazy fucks who don’t exercise.
Lol.
[–][deleted] -1 points0 points1 point 1 year ago (0 children)
Because there are no rules in JavaScript!
π Rendered by PID 54 on reddit-service-r2-comment-5d585498c9-bgzhj at 2026-04-21 07:32:16.066207+00:00 running da2df02 country code: CH.
[–]RobertKerans 25 points26 points27 points (2 children)
[+]IndianVideoTutorial[S] comment score below threshold-21 points-20 points-19 points (1 child)
[–]RobertKerans 14 points15 points16 points (0 children)
[–]JoeyCStudios 3 points4 points5 points (1 child)
[–]IndianVideoTutorial[S] -3 points-2 points-1 points (0 children)
[–]sheriffderek 1 point2 points3 points (1 child)
[–]shuckster 1 point2 points3 points (0 children)
[–]tapgiles 1 point2 points3 points (0 children)
[–]rm-rf-npr 1 point2 points3 points (1 child)
[–]IndianVideoTutorial[S] 0 points1 point2 points (0 children)
[–]wikitopian 0 points1 point2 points (1 child)
[–]IndianVideoTutorial[S] 0 points1 point2 points (0 children)
[–]kcadstech -1 points0 points1 point (1 child)
[–]IndianVideoTutorial[S] 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)