a human Profile
a human

@getifyX

Followers
76,769
Following
71
Media
1,499
Statuses
112,208

co-founder at @Vella_ai

Joined October 2008
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
Pinned Tweet
@getifyX
a human
24 days
Overhaul your email inbox experience with smart filtering and management! We @Vella_ai are getting ready to start inviting alpha/beta users into the app soon. Sign up if you're interested!
0
0
4
@getifyX
a human
6 years
20+ yrs dev exp, 8 books w/ 100k+ copies sold, 300k+ hours watched of my videos, 4k+ taught in person... And you know what? I still struggle to get my code to work and it's still a tedious slog. And my code still confuses me the next day. You're not alone in these struggles.
73
2K
5K
@getifyX
a human
6 years
I was rejected for a job by @TwitterEng years ago, even tho I knew several people on the team who liked me & wanted me to join. I was later told by HR that one of the interviewers said I "didn't know JS" very well. That was part of the motivation for @YDKJS . #ShareYourRejections
63
792
3K
@getifyX
a human
5 years
"Arrow functions are bound to their parent's context." Nope, inaccurate. Arrow functions do not have a `this`, which means any usage of `this` inside an arrow function is just like any other variable, and is looked up lexically through parent scopes until a `this` is found.
48
721
3K
@getifyX
a human
5 years
I had some code implemented and fully tested, almost ready to release. Then I was writing the documentation for it, and I realized the code's behavior is wrong and should be changed. TDD wouldn't have saved me here. Docs are equally as important as tests in designing software.
87
509
2K
@getifyX
a human
7 years
So you've never given a conf talk before, because you think you aren't good enough or haven't mastered a topic enough yet? Neither have any of the rest of us. Seriously. The best time to talk is right as you're in the midst of your journey.
46
734
2K
@getifyX
a human
4 years
(source: )
Tweet media one
10
377
2K
@getifyX
a human
4 years
The saying "Jack of all trades, master of none" is usually used standalone in a sort of slight against generalists as lesser than specialists. But the original full saying is quite enlightening: "Jack of all trades, master of none, oftentimes better than a master of one."
37
464
2K
@getifyX
a human
5 years
TC39 advances the ?? nullish-coalescing operator (stage 3). Cool! // this: var x = (foo != null) ? foo : 42; // becomes this: var x = foo ?? 42;
35
311
1K
@getifyX
a human
6 years
CSS #protip : The ::before and ::after pseudo-elements don't mean "before the element" and "after the element", they mean "before the element's children" and "after the element's children".
22
390
1K
@getifyX
a human
4 years
I use this idiom A LOT
20
109
1K
@getifyX
a human
6 years
Oh, and not even 2 months later, the first of several "new twitter" redesigns launched, and they used my LABjs script loader library. That's my favorite part of that story.
10
113
1K
@getifyX
a human
4 years
Wow, @YDKJS just passed 130k stars on github! That's amazing!
Tweet media one
23
29
1K
@getifyX
a human
5 years
TC39 advanced "optional chaining" (different from "nullish-coalescing"!!) to stage 3 as well. Much rejoicing! // this: var w = (x && x.y && x.y.z && x.y.z.w); // becomes: var w = x ?. y ?. z ?. w;
32
284
1K
@getifyX
a human
6 years
I so often get re-explaining from others that "localhost doesn't need local https". eyeroll. this is not universally true. this tweet thread is the last time i'm gonna explain. henceforth it will just be linked to.
18
439
1K
@getifyX
a human
5 years
someone went to one of my sites and signed up for a mailing list... and used *my* email address. so now I'm getting my own marketing emails. smh.
53
115
1K
@getifyX
a human
6 years
Announcing my newest JS book: "You Don't Know React Hooks: Because They're Experimental Alpha Bleeding Edge, So Calm The Eff Down"
32
214
1K
@getifyX
a human
4 years
My 6yr old daughter asked me to start teaching her JS last nite. That was cool. We started with values and variables and console.log().
36
41
952
@getifyX
a human
6 years
they say knowledge is power. i disagree. knowledge is potential. skill is what you do with knowledge. and that is power.
15
327
874
@getifyX
a human
5 years
I'm about to declare async..await dead in my JS programming toolbox. Literally every async function I write, I end up wanting a clean way to handle canceling the function call if it's paused waiting on a promise. This is such a missed design responsibility for JS.
64
190
882
@getifyX
a human
4 years
You're not alone, even @github deploys broken code! ;-)
Tweet media one
24
116
849
@getifyX
a human
5 years
annoyed by news site that pops up a pay modal over an article after a few seconds? hit ctrl+p and then read the whole article from the print-preview screen. :)
30
157
824
@getifyX
a human
4 years
why doesn't google recaptcha remember that I'm a human from site to site? google tracks every single thing I do on the internet, but not my human'ness?
39
97
827
@getifyX
a human
5 years
"I rewrote the app using hooks instead of....." "Just stop. You're fired."
29
115
822
@getifyX
a human
4 years
fuck zoom. delete zoom.
@nicoagrant
Nico Grant
4 years
Zoom’s CEO says he won’t encrypt free calls so Zoom can work more with law enforcement: “Free users for sure we don’t want to give that because we also want to work together with FBI, with local law enforcement in case some people use Zoom for a bad purpose,” Yuan said. $ZM
619
13K
16K
35
188
752
@getifyX
a human
5 years
The Rorschach Rule: when you show someone your code, what they see and how they respond says more about them then it does about the code itself.
18
172
683
@getifyX
a human
5 years
There is no job in the world that legitimately **requires** a Master's in CS (except maybe an apprenticeship for a PhD program)...and few actually **require** a Bachelor's in CS. It's so lazy and ridiculous how often those "requirements" still show up in job descriptions.
31
169
661
@getifyX
a human
6 years
Heard this quote awhile back, still love it: Assume your audience has zero experience but infinite intelligence.
9
167
659
@getifyX
a human
6 years
There's lots of (publicly shared) code that I've written, or could write, to be evaluated for a job. But frankly, I don't think I want to be evaluated based on my coding. I'd rather an interviewer who wanted to evaluate all the non-code things I've done, like discussion threads.
18
145
652
@getifyX
a human
5 years
If you have a problem, and you invent a solution... and that solution creates more problems that require even more sophisticated inventions to solve... THIS IS THE PATH OF COMPLEXITY CREEP. Stop! Look for the path of simplicity that tends to need less invention over time.
25
161
624
@getifyX
a human
4 years
"...honestly, avoiding (learning) TypeScript as a modern day JavaScript developer is a mistake..." smh. that kind of arrogant condescension is all too common and really upsets me. insecure people putting you down if you don't like what they like.
33
99
616
@getifyX
a human
6 years
don't learn coercion, just use === and save the brain space. don't learn CSS cascade, just use !important and save the brain space.
47
141
600
@getifyX
a human
5 years
my favorite reddit interaction ever:
Tweet media one
11
38
613
@getifyX
a human
4 years
hey @brave any chance you could take over mdn? asking for a few million friends.
22
63
607
@getifyX
a human
5 years
I'm hoping @github launches a competitor to npm.
49
48
583
@getifyX
a human
4 years
I have a math degree but I don't understand what kind of math Amazon is using here...
Tweet media one
75
63
581
@getifyX
a human
5 years
@devictoribero @LinkedIn @dan_abramov @kentcdodds @tylermcginnis @ChromiumDev The middle + "a" (since it's preceded by another +) is a unary coercion of "a" into a number, which fails and results in NaN, which is then concatenated in and lowercased.
9
40
586
@getifyX
a human
4 years
"senior" (developer) level has almost nothing to do with years worked ("seniority") and almost everything to do with attitude developed on the job. for example, a "senior" tends to be more willing to show and admit mistakes knowing that's the only true way to learn/improve.
18
90
571
@getifyX
a human
4 years
Hey JS! Need your attention for a *moment* (pun intended). TC39 is working on Temporal, a powerful Date/Time API. They **REALLY** need real-world dev feedback! Quick blog post, with links to docs, cookbook, and polyfill: Don't miss the feedback survey.
15
325
578
@getifyX
a human
4 years
I am
@GhostTogether
Ghost Together
4 years
Retweet if you're still learning JavaScript.
38
719
1K
15
64
569
@getifyX
a human
5 years
TIL about these vulnerabilities if you use target=_blank on links
12
216
554
@getifyX
a human
4 years
someone please, if you really love and support apple and their app store policies, please explain to the rest of us why it's reasonable for their policies to prevent an app from telling a user that their in-app purchase will have 30% cut going to apple? I'm serious.
57
64
559
@getifyX
a human
5 years
Tomorrow I will begin re-recording my most popular workshop for @FrontendMasters : "Deep JS Foundations". I've re-built almost the entire deck (303 slides!). Massive undertaking, but so worth it. Should solidify itself as my best course.
15
44
538
@getifyX
a human
6 years
another "getify's law": your code will always be maintained by people with less experience, expertise, or forethought as you. ---- therefore, encode as much of that into your code in a readable, obvious manner as you can.
9
181
532
@getifyX
a human
6 years
I take a lot of flak when I claim that in the real-world, arrow functions are often not as readable as named functions. I still believe this, despite how hyped they remain. Remember, claims about readability are generally about first glance. Here's a real example from my code:
Tweet media one
70
100
523
@getifyX
a human
4 years
wow... npm purchased by github. wow.
27
86
503
@getifyX
a human
6 years
Merry Holidays yall!
Tweet media one
16
16
492
@getifyX
a human
5 years
Did you know I write books that can be read for free (& purchased if you appreciate them)? * "You Don't Know JS" (6 books): * "Functional-Light JS" (book): 2nd ed's of those are coming, but I also have more books I want to write.
13
145
489
@getifyX
a human
4 years
The past and future... :)
Tweet media one
Tweet media two
19
35
484
@getifyX
a human
4 years
I've cried a lot of tears lately. Lots. Tonite's the first nite in a long time that those tears are hopeful.
7
8
463
@getifyX
a human
5 years
Dear (anyone I know at) @github , since I correctly predicted that you'd launch a package repository before your announcement, can I please get a shortcut in line for the beta waitlist? Pretty please?
@getifyX
a human
5 years
I'm hoping @github launches a competitor to npm.
49
48
583
12
25
460
@getifyX
a human
5 years
joke or not, the habit of shaming tech choices is far too prevalent and unhealthy. be better in 2019.
@WasmWeekly
WebAssemblyWeekly
5 years
It’s 2019. We should all be ditching JavaScript and using WebAssembly from now on. That is all.
29
21
130
12
103
453
@getifyX
a human
5 years
I wish there was a web conference that primarily focused on bringing CSS and JS voices together in the same conversations, instead of just having a bunch of CSS talks, a bunch of JS talks, and everyone continuing to perpetuate the divisions of our community.
26
56
450
@getifyX
a human
4 years
A little thread on monads... (please don't get scared by the terms and run away! give it a shot!)
14
127
454
@getifyX
a human
6 years
But, good news is: I struggle less w/ code, and my code is less confusing, than before I dedicated myself to learning JS better. That means that investing in yourself and your learning *does* help. Just don't get down when that effort doesn't bring quick-payoff magical nirvana.
8
88
446
@getifyX
a human
6 years
When I started writing @YDKJS , I hoped that I could get 2500 copies sold/read. I could never have imagined over 100k copies sold world-wide, nor 90k stars on github. So thankful and blessed for such an opportunity.
@YDKJS
You Don't Know JS Yet
6 years
Oh, hey! We passed 90k stars on github! Thanks everyone!
Tweet media one
4
10
233
17
42
447
@getifyX
a human
6 years
some people think that once you get more experienced you have less impostor feels. not true. the more you learn, the more you realize you don't know, which sometimes means you feel even more impostor feels.
18
139
438
@getifyX
a human
5 years
One of my newest courses, "Getting Started With JavaScript", is now available for **FREE** on @FrontendMasters ! Start w/ a basic primer on programming fundamentals, then begin your first exploration of the three pillars of JS: coercion, scope, prototypes
10
157
434
@getifyX
a human
4 years
Here's something a lot of JS devs are doing, but they should change their approach: if (whatever) { // .. a dozen lines of code let someData = .. // use `someData` // .. more lines of code } `let` (or `const`) in the middle of a block is a code smell.
31
75
438
@getifyX
a human
6 years
true. in fact, if you meet all the reqs, DON'T apply, b/c it means you have nowhere to grow in the job. apply to jobs where you meet 50% of the bullets. employers, 50% of the bullets should be reqs, the other 50% should be "this is what you'll learn in the first 12 months".
@ScribblingOn
Shubheksha ✨
6 years
Most job postings are full of fluff, please apply even if you don't meet 100% of the requirements. You lose NOTHING by trying. Apply. Give it a shot. Don't reject yourself before they reject you.
38
641
2K
12
178
436
@getifyX
a human
5 years
you know about console.log() debugging... but do you ever throw an error in a certain piece of code just to then be able to see the call stack that led to that line being executed? that's an advanced trick. ;-)
22
49
419
@getifyX
a human
4 years
Interview question: define software complexity. Give examples and strategies for managing it. You can tell a lot about the developer from their exposition of that question. In fact, that might be the whole interview day right there.
31
47
432
@getifyX
a human
5 years
while we're busting popular JS myths... "let doesn't hoist". False. var x = 2; { console.log(x); let x = 3; } That code throws a TDZ error because the `x` in `let x` was in fact hoisted to the { } scope; it's just uninitialized. If no hoisting, would print `2`.
18
111
420
@getifyX
a human
4 years
I dunno y'all, I think the site looks good and is ready to launch. :)
Tweet media one
14
46
414
@getifyX
a human
5 years
#jsquiz without trying this code, what will it print? let a = []; a[3] = 10; a[5] = 20; for (let x of a) { console.log(x); } // ??
92
71
404
@getifyX
a human
4 years
Read a lot of (even JS) blog posts that make me feel ldumb b/c I can't follow the technical logic jumps they're making, but they seem very dedicated & comfortable in their descriptions, like I'm just missing it. Reading posts like @dan_abramov I feel I'm smart enough to keep up.
10
20
408
@getifyX
a human
6 years
don't be like me, go read this great article by @tylermcginnis :)
Tweet media one
6
82
408
@getifyX
a human
4 years
A lot of my work is based on travel and on-site appearances, and as you can imagine, pretty much all that income is either canceled or in serious jeopardy. It would really help if people bought my books and watched my courses on @FrontendMasters .
21
101
405
@getifyX
a human
4 years
Happy 25th birthday*, JS! *somewhere around this day in mid-may 1995, nobody remembers exactly it seems.
5
87
406
@getifyX
a human
4 years
Learn to build for the web in whatever path works best for you, no "one right way". IMO it's NOT best to only learn a framework (react, etc) without learning JS. But it's also NOT best to only learn JS "in theory" w/o learning to build/ship apps. Better: learn both together.
12
80
398
@getifyX
a human
5 years
TIL (from reading the spec): -0 < 0 // false Math.max(-0,0) // 0 Math.min(-0,0) // -0 SMH JS.
16
76
390
@getifyX
a human
4 years
I haven't really said this publicly in over 8 years (since going independent), but... I'm at a point where I might entertain working for a company (part-time or full-time). I'm not sure there's many positions out there I'd fit in, but, here's my "reverse job listing"... :)
16
63
387
@getifyX
a human
4 years
I'm confused. I have always believed that DOM events handlers are asynchronously triggered when an event happens. Is that not true? This seems to indicate they're synchronous.
Tweet media one
27
37
387
@getifyX
a human
5 years
I'm excited to announce that work has finally officially begun on the 2nd edition of all six of the @YDKJS books! The best part!? This edition is sponsored by a partnership with @FrontendMasters , the BEST place on the web to watch expert training videos for all things front-end!
16
69
381
@getifyX
a human
4 years
ifinallykickedwhitespaceandpunctuationtothecurbinenglishitwasweirdatfirstbutilikeitbettetwithoutthembesidestheyreobviouslynotrequiredbecausepeoplecanstillreaditbyfixingmyomissionerrorsformealsoisavespaceinmytweetssowinwin
@traversymedia
Brad Traversy
4 years
I finally kicked semicolons to the curb in JS. It felt weird at first, but I like it better without them. Do you use them?
283
44
842
43
39
374
@getifyX
a human
5 years
One of the most baffling *recent* inconsistencies in JS: var x = null; var y = { ...x }; // empty destructuring, no error var z = [ ...x ]; // error! This was discussed at length, and yet they still justified the inconsistency and did it on purpose. SMH.
23
96
375
@getifyX
a human
6 years
I wanna go on record saying a few things about tc39: * super hard working * carrying out almost impossible tasks * care deeply about JS * are not to blame for much of the shit of JS * deserve a lot of credit for JS being so much better than it was and could be
3
55
373
@getifyX
a human
5 years
TIL:
Tweet media one
25
105
364
@getifyX
a human
4 years
hahaha, I just removed 4 dependencies from the package.json, leaving only these three: "react": "^17.0.1", "react-dom": "^17.0.1", "react-scripts": "4.0.0" when I removed node_modules/ and ran `npm install`, now it installs 1,903 packages, as opposed to 1,832 before. SMDH.
21
13
359
@getifyX
a human
5 years
Hey @triple_byte Can I get a list of these "500 top Bay Area tech companies"... so I can make sure to avoid ever working at any of them?
Tweet media one
18
57
363
@getifyX
a human
5 years
traveling internationally and that means I'm back on 2g speeds. damn there a lot of sites, even blogs, which just never finish loading. what a shitty web experience we've all built. :(
23
43
346
@getifyX
a human
6 years
I've signed a publishing deal for my next book: "JavaScript: The Dark Arts". Pretty exciting!
15
29
350
@getifyX
a human
6 years
I've finally decided to release my long-awaited JS framework: And here it is on npm:
23
56
342
@getifyX
a human
4 years
think it doesn't matter that browsers want to hide the URL from users? imagine twitter stops making individual tweets accessible by actual URLs, so that your only sharing options are through their UI. same with other social media platforms. now imagine the browser does that.
18
75
344
@getifyX
a human
5 years
Tech Lead: Who checked in this code!?? Dev: *nudging me* good thing that wasn't you. Me: Not now dude. Dev: The TypeScript types didn't prevent the bug did they? Me: Production is down, this is serious! Dev: Go ask them if a union type would have helped.
3
56
337
@getifyX
a human
4 years
If you write some JS (or CSS) and you're kinda OK, you may make some mistakes but still eek out a reasonable outcome. If you try to write A11Y-friendly markup but you're not a deep expert on fifty different ARIA details, you'll apparently ruin everything for SR users.
1
38
334
@getifyX
a human
4 years
(thread) it's not news that frontend dev has been in a major shift over the last several years. one axis of that shift is the desire to move from horizontal stratification (CSS as a whole layer, HTML as a whole layer, JS as a whole layer) to vertical isolation (components).
5
88
337
@getifyX
a human
4 years
In case you were wondering whether it only happens to you... it doesn't, it happens to all of us. I just got that "thank you but we're going with another candidate" message from a recruiter. I mean, 99.9% of all recruiters don't even contact you if their client passes, so...🤷
19
34
336
@getifyX
a human
3 months
@samhuckaby parsing html with a regex using global variables rendering user input (without proper sanitization) raw sql string building
11
6
329
@getifyX
a human
5 years
It's not only important that you be able to explain an outcome accurately, but also that you accurately explain the WHY of that outcome. Otherwise, you don't understand the thing.
6
35
327
@getifyX
a human
4 years
I was gonna have to do a bunch of dimensions math in my JS... then I realized that CSS "object-fit: cover" did exactly what I needed for free.
9
23
328
@getifyX
a human
5 years
we're all doing fancy fonts in our editors, no? am I doing this right?
Tweet media one
82
35
322
@getifyX
a human
4 years
"Freedom of speech is not freedom of reach."
@mkaur2
km
4 years
We still have not come to fully appreciate the brilliance of Sacha Baron Cohen. #Borat
162
5K
14K
0
56
316
@getifyX
a human
4 years
Two of the most important paragraphs I've seen written about JS framework usage in the last several years. This should be printed on banners and hung in all workplaces (if we ever go back to those).
Tweet media one
9
98
314
@getifyX
a human
4 years
lol! added my avatar as a "business logo" to my paypal profile for a checkout page I'm building... and this is how paypal renders it... I'm watching over you as you enter checkout info! ;-)
Tweet media one
22
6
308
@getifyX
a human
6 years
here's how to validate an email address: * does it have a single @ symbol, with something on either side of it? then it's valid because the user claims it is. stfu.
25
55
305
@getifyX
a human
6 years
six months? try two weeks.
@CodeWisdom
Programming Wisdom
6 years
"Any code of your own that you haven't looked at for six or more months might as well have been written by someone else." - Eagleson's law
21
524
1K
11
67
308
@getifyX
a human
5 years
If you want to spark ideas for what you can do with hooks, this is a great site:
6
80
307
@getifyX
a human
6 years
i swear, if twitter ever lets us edit tweets, i will never write another new tweet again. i'll just pin one tweet to my profile and then keep editing it for each new "tweet" i ever want to write. :)
18
33
301
@getifyX
a human
4 years
According to , Vue+Angular+React+Ember make up just about 2% of all websites (where it's known how the site is built). So as much as 98% of the web isn't "JS framework" centric. That doesn't mean no JS... jQuery is still on 75% of all sites.
26
59
300