JavaScript, particularly front-end JS, is a tyre fire. I've been a
toggle quoted message
Show quoted text
part of the JS community since 2010. Common usage is driven by fashion (currently React) and tooling is ferociously complicated. There don't appear to be any books that teach JavaScript by using TDD, because TDD is (still, after >20 years) an incredibly niche practice. Most front-end peeps still don't TDD, as such book publishers probably recognise that if you want to learn JS, you probably aren't interested in TDD. There are plenty of books that teach TDD, and plenty of books that teach JS. You'll have trouble enough finding a book that teaches front-end JS that is anywhere near current practice, because current practice changes so quickly. Crockford's book is great, but you surmised correctly that it is only useful once you've already learned JS. All I can offer you is the advice that if you search for 'JavaScript', you will get everything from latest (ES2023, or ES14) to original JS circa 1995. At least if you search for 'ES6' instead, or even 'ES2020' you are going to get more relevant search results. We used to say "don't start by teaching people Java, try something simpler, like JavaScript', but now JS is IMHO more complicated than Java. I'm sorry it is not what you wanted to hear, but my advice would be to get through the JS portion of the course and to concentrate on Java. Personally I think Python is a better introduction to programming than either JS or Java, but if your daughter is learning to pass exams, then you need to stick to the curriculum :( Head-first Java by Kathy Sierra is an excellent introduction, and Effective Java by Joshua Bloch is the definitive next step guide to idiomatic Java programming. On Sat, 24 Jun 2023 at 07:27, Matteo Vaccari <matteo.vaccari@...> wrote:
|