Skip to content

Instantly share code, notes, and snippets.

View MarioAndWario's full-sized avatar
🏠
Working from home

MarioAndWario

🏠
Working from home
  • Redwood City, CA
  • 02:17 (UTC -07:00)
View GitHub Profile
@MarioAndWario
MarioAndWario / JavaScript_basics.md
Last active August 25, 2023 00:49
Study notes of "Eloquent JavaScript"

Variable

Bindings declared with let and const are local to the block that they are declared in, so if you create one of those inside of a loop, the code before and after the loop cannot “see” it. In pre-2015 JavaScript, only functions created new scopes, so old-style bindings, created with the var keyword, are visible throughout the whole function that they appear in—or throughout the global scope, if they are not in a function.

let x = 10;
if (true) {
  let y = 20;
  var z = 30;
  console.log(x + y + z);
 // → 60
@MarioAndWario
MarioAndWario / software_for_scientists.md
Created October 7, 2017 19:12 — forked from stared/software_for_scientists.md
Software for scientists: community-edited list of general-purpose software for scientists.

Software for scientists

Some things takes much less time and stress once you know the right tool. Below, there is a community edited list of software for scientists.

Text editors

in General purpose text/code editors. It may be better to have a good editor for everything, than different ones for different languages, scripts, notes.