JS FS BC W7

Chunhao Weng
2 min readAug 16, 2021

--

Random notes. Unorganized thoughts. Not an article.

VS Code diff between two files

code --diff file1.js file2.js

“In fact, rather unintuitively, if you add pre-sorted data into a BST, it will have maximal inefficiency, O(n)O(n).”

“Updating a global package would make all your projects use the new release, and as you can imagine this might cause nightmares in terms of maintenance, as some packages might break compatibility with further dependencies, and so on.”

  • you up the major version when you make incompatible API changes
  • you up the minor version when you add functionality in a backward-compatible manner
  • you up the patch version when you make backward-compatible bug fixes

which

Sign up to discover human stories that deepen your understanding of the world.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Chunhao Weng
Chunhao Weng

Written by Chunhao Weng

Random notes for personal use.

No responses yet

Write a response