mikesherov Profile Banner
Mike Sherov (he/him) Profile
Mike Sherov (he/him)

@mikesherov

Followers
3K
Following
6K
Media
614
Statuses
14K

Opinions are my own and not of my employer | 🎓 Teaching JS, Performance, Security, Engineering Management | 👨‍💻 OSS alum webpack, jQuery, npm, JSCS

My Personal Website 👉
Joined April 2007
Don't wanna be here? Send us removal request.
@mikesherov
Mike Sherov (he/him)
5 years
50 minutes is all you'll need to learn how to prevent MITM, CSRF, and XSS attacks and level up the security of your code!. Watch Web Security Essentials and start building an in-demand skillset that will protect users and provide you with peace of mind.
Tweet card summary image
egghead.io
As developers, we have a responsibility to protect the data our users trust us with. No one wants to wake up to the news that their site was hacked and ...
0
5
29
@mikesherov
Mike Sherov (he/him)
3 years
RT @mikesherov: @jaredhanson cockroaches will outlast humans. Would still rather be a human.
0
1
0
@grok
Grok
7 days
Join millions who have switched to Grok.
269
540
4K
@mikesherov
Mike Sherov (he/him)
3 years
Pretend you're building a UI library and you want it to support React SSR, React CSR, and Svelte apps. Is it feasible to write React components, and then have a separate build target of web-component-wrapped-preact to leverage WC support in Svelte? cc @_developit @Rich_Harris.
3
0
0
@mikesherov
Mike Sherov (he/him)
3 years
Spoiler alert: start at front, follow the wire to the next element, unplug wire from next element and plug it into prev element, repeat.
0
0
0
@mikesherov
Mike Sherov (he/him)
3 years
And what's cool about learning the linked list reversal algo is that once you see it, it reveals its own true nature. When i conceptualize an array sort, I think "moving elements around". When I conceptualize a linked list sort, its "moving the wires between elements around".
1
0
4
@mikesherov
Mike Sherov (he/him)
3 years
I think chatGPT is a revolutionary but when I look at the code on the left and the "helpful" explanation on the right. the code is easier to understand at a glance than reading a chatGPT novel. Conversation isn't always the best representation of a concept.
@SergioRocks
Sergio Pereira
3 years
3/ Explain code. How many times our work is simply to understand a code base that wasn't built by us? Spaghetti code, with no comments. We die a little bit line by line. Now we can ask ChatGPT to explain what the code does, and we save a bunch of time.
Tweet media one
Tweet media two
0
0
0
@mikesherov
Mike Sherov (he/him)
3 years
Grease Trucks.
@Chris_Grosse
𝘾𝙝𝙧𝙞𝙨 𝙂𝙧𝙤𝙨𝙨𝙚
3 years
Using only a restaurant, tell us where you went to college.
0
0
0
@mikesherov
Mike Sherov (he/him)
3 years
Yes but if you're having a REALLY bad day, just remember:. console.log([]?true:false); // true.console.log([]==true); // false.
@TheLarkInn
📦🛠👷🏻‍♂️Sean Larkin
3 years
If you're every having a bad day, remember that the following things evaluate to falsey in JavaScript: 🥲. * undefined.* null.* NaN.* 0.* "" (empty string).* false.
1
0
7
@mikesherov
Mike Sherov (he/him)
3 years
RT @mikesherov: I know I know. jQuery is way past its prime. But I still can't get past how simple it was to do `$('p').slideUp('slow');`….
0
2
0
@mikesherov
Mike Sherov (he/him)
3 years
I know I know. jQuery is way past its prime. But I still can't get past how simple it was to do `$('p').slideUp('slow');` and how hard it was to make it that simple.
0
2
3
@mikesherov
Mike Sherov (he/him)
3 years
RT @mikesherov: Constantly coming back to "worse is better" and the New Jersey principles of software design. Optimize for ability to contr….
0
1
0
@mikesherov
Mike Sherov (he/him)
3 years
Constantly coming back to "worse is better" and the New Jersey principles of software design. Optimize for ability to contribute, alter, and remove.
Tweet media one
Tweet media two
1
1
0
@mikesherov
Mike Sherov (he/him)
3 years
It's entirely possible that BOTH this George guy whoever he is underestimated the necessary complexity of Twitter Search AND that Twitter Search is unnecessarily complex. I have never seen a large scale system that was optimized for minimal complexity. I wish I saw more.
1
0
3
@mikesherov
Mike Sherov (he/him)
3 years
Having spent a year off twitter really makes coming back hit different. Almost nothing changed in that year except the main boss and the flavors of the month. I honestly don't know what I was expecting to see 🤷‍♂️.
0
0
0
@mikesherov
Mike Sherov (he/him)
3 years
Are other "<Skilled Profession> Twitter"s like Tech Twitter? Like, is there a Medical Doctor Twitter where you see grown adults being like "that guy doesn't know shit about treating psoriasis. Should be using <medication X> for psoriasis (even though I'm a foot doctor)"?.
0
0
4
@mikesherov
Mike Sherov (he/him)
3 years
FWIW, I've personally seen times when a ground up rewrite of part of an app went well. Also, horror stories. Also, have seen large refactors take months and go nowhere, and have seen elegant year long refactors be widely successful. It's almost as if there isn't a pat answer.
0
0
7
@mikesherov
Mike Sherov (he/him)
3 years
These conversations would be a lot easier if we as an industry had even an ounce of rigor around the distinction between refactor vs. rewrite. Solution: don't take advice from anyone about whether you should rewrite, refactor, whatever. Instead, solve specific problems.
0
0
3
@mikesherov
Mike Sherov (he/him)
3 years
This one wins.
@shanselman
Scott Hanselman 🌮
3 years
So you’ve got a $44B problem and you’ve decided to solve it with Regular Expressions….
0
0
1
@mikesherov
Mike Sherov (he/him)
3 years
RT @shanselman: So you’ve got a $44B problem and you’ve decided to solve it with Regular Expressions….
0
280
0
@mikesherov
Mike Sherov (he/him)
3 years
Oh, so now that I'm back. did concurrent mode and suspense with data fetching launch yet?.
2
0
12
@mikesherov
Mike Sherov (he/him)
3 years
3 Other Things:. 1. I no longer work for Skillshare. Love the company but couldn't pass up my current opportunity.2. I'm now working with @tomdale, @littlecalculist, and others on Developer Productivity & Happiness at LinkedIn.3. @tomdale is really bad at responding on Slack.
4
0
28