This is a list of advanced JavaScript learning resources from people who responded to this [Tweet][13] and this [Tweet][20].
-
[You Don't Know JS][3]
-
[Frontend Masters courses by Kyle Simpson][12]
-
[@mpjme][6]'s [YouTube videos][5]
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.
by Bjørn Friese
Beautiful is better than ugly. Explicit is better than implicit.
I frequently deal with collections of things in the programs I write. Collections of droids, jedis, planets, lightsabers, starfighters, etc. When programming in Python, these collections of things are usually represented as lists, sets and dictionaries. Oftentimes, what I want to do with collections is to transform them in various ways. Comprehensions is a powerful syntax for doing just that. I use them extensively, and it's one of the things that keep me coming back to Python. Let me show you a few examples of the incredible usefulness of comprehensions.
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
/* CSS */ | |
#! /usr/bin/env python | |
import base64 | |
print base64.b64decode("CiAgICAgICAgICAgICAgICAgICAgICAgJ0BAQEBAIzogICAgICAgK0BAQEBAQCAsQEBAQEBAQEBAQEBAIzogICAgICAgICAgICAgICAgICAgQEBAQEBAQEBAQEBAQCtgICAgICAgICAgYCtAQEBAQEBAIzogICAgIC5AQEBAQEBAQEBAJyAgICAgICAgICA6K0BAQEBAQEArLiAgICAgI0BAQEBAQEBAQEBAQEBAQEBAQAogICAgICAgICAgICAgICAgICAgICAgICdAQEBAQEBAQCAgICAsQEBAQEBAQEAgLEBAQEBAQEBAQEBAQEBAQGAgICAgICAgICAgICAgICAgIEBAQEBAQEBAQEBAQEBAQEAgICAgICAgQEBAQEBAQEBAQEBAQCwgICAsQEBAQEBAQEBAQEBAJyAgICAgIC5AQEBAQEBAQEBAQEBAICAgIEBAQEBAQEBAQEBAQEBAQEBAQEAKICAgICAgICAgICAgICAgICAgICAgICAnQEBAQEBAQEAsICAgQEBAQEBAQEBAICxAQEBAQEBAQEBAQEBAQEBALiAgICAgICAgICAgICAgICBAQEBAQEBAQEBAQEBAQEBAQCAgICAgQEBAQEBAQEBAQEBAQEBALCAgLEBAQEBAQEBAQEBAQEAjICAgIGBAQEBAQEBAQEBAQEBAQEAgICBAQEBAQEBAQEBAQEBAQEBAQEBACiAgICAgICAgICAgICAgICAgICAgICAgJ0BAQCwnQEBAQCAgK0BAQCs6O0BAQCBgLCwsLCwsLCwsLDo6I0BAQEBgICAgICAgICAgICAgICAgLCwsLCwsLCwsLCwsJ0BAQEBAICAgK0BAQEAnLCwsLCwnI0BAQEAgIGAsLCwsLCwsLCwnQEBAQDsgICBAQEBAQCcsLCwsLCdAQEBAIyAgLCwsLCwsLCw6LCwsLCwsLCwsLAogICAgICAgIC |
Rich Hickey • 3 years ago
Sorry, I have to disagree with the entire premise here.
A wide variety of experiences might lead to well-roundedness, but not to greatness, nor even goodness. By constantly switching from one thing to another you are always reaching above your comfort zone, yes, but doing so by resetting your skill and knowledge level to zero.
Mastery comes from a combination of at least several of the following: