Here’s To Fat Fingers – Hacker Noon

Here’s To Fat Fingers by @burkeholland  #JavaScript #ReactJS #WebDev

  • In the case of “function”, as long as the letters you are typing are in the same sequential order they are in the word, VS Code will match the word you are looking for.
  • This is not because the brain tries to spell the word that way, but because we’re typing so fast that mistakes just happen, probably because the fingers can’t move as fast as the brain.It looks to me that to account for this issue, VS Code will now look backwards in…
  • In other words, VS Code will do a backwards search, but once it has a match it won’t do any more backwards searches but will continue to search forward.For instance, you can type “ftuo” and get a match because the “u” come before the “t” and the “o” comes last.But…
  • Simply put, VS Code intellisense now supports one transposition error within your string.So to sum all of that up, as long as your word starts with the right character, and you only have one letter that is out of sequential order, VS Code will give you a match.Also, typing “potatoe”…
  • Johannes Rieken — VS Code TeamSo it’s a lot smarter than I made it out to be as the algorithm is essentially creating a bunch of possible transposition errors (7 to be exact — if the word is at least that long) and then scoring any of the matches against each other to determine…

I was watching this VS Code release highlights video from Brian Clark this morning, and he shows a very interesting feature at about 1:16… When I saw this, I IMMEDIATELY thought of a tweet from…
Continue reading “Here’s To Fat Fingers – Hacker Noon”

5 JavaScript Style Guides — Including AirBnB, GitHub, & Google

  • 5 JavaScript Style Guides — Including AirBnB, GitHub,  GoogleLearn to code like a GooglerWhether you’re just starting to learn JavaScript, or getting ready for your big interview with AirBnB, here are 5 style guides that can help you write cleaner code.What the heck is a style guide?A style guide is a set of standards…
  • As you read through these guides, you can get an idea for how code is written at the respective companies.Why do we need style guides?For one main reason: Everyone writes code differently.
  • That’s all fine and dandy as long as we each work on our code.
  • But what happens when you have 10, 100, or even 1,000 developers all working on the same codebase?
  • Style guides are created so new developers can get up to speed on a code base quickly, and then write code that other developers can understand quickly and easily!

Whether you’re just starting to learn JavaScript, or getting ready for your big interview with AirBnB, here are 5 style guides that can help you write cleaner code. A style guide is a set of…
Continue reading “5 JavaScript Style Guides — Including AirBnB, GitHub, & Google”