Skip to content

Instantly share code, notes, and snippets.

@MichaelDimmitt
Last active April 3, 2025 16:40
Show Gist options
  • Save MichaelDimmitt/0c420c8be0da2cab2021f2e91d8533ee to your computer and use it in GitHub Desktop.
Save MichaelDimmitt/0c420c8be0da2cab2021f2e91d8533ee to your computer and use it in GitHub Desktop.
When Learning / Teaching new topics. ex. Typescript and Git

Had a fun thought today around teaching others.

Curious to see if anyone violently disagrees. 🙂
Or violently agrees. Or has a more tempered reaction or adjacent take.
Feel free to post in the comments.

My hot take on learning/teaching things to set people up for success:

The key thing for you with learning typescript is to keep it as simple as possible.

Recently, I updated this gist to have a slightly larger amount of information: https://gist.github.com/MichaelDimmitt/2374778fbbfe4083c0c6fb88e80fb75f?permalink_comment_id=5525155#gistcomment-5525155

Hot take: Often, people know too much "git" is a good example.

For most people this is fine:

git add . 
git commit -m <message>
git push

If someone is doing more advances stuff and breaking things constantly that can be a problem.

It is fine to learn the more advanced git stuff and is how you get really goo. But when you head down that road you should learn git reflog first so that you can undo anything you break with reset hard to commit sha.

In the same way, learning to do crazy advanced type stuff is fine as long as you do research on how to debug typescript performance: https://gist.github.com/MichaelDimmitt/e8a04a4a835ed6ac7447927a424e48c0 - this one probably needs more work but is a starting place if people want to head that direction. To be honest, I just keep it simple with typescript so don't work on performance debugging too much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment