Ben Keeney
@_benkeeney
Followers
8
Following
5
Media
4
Statuses
19
JavaScript, Node.js, VS Code #TheGoodParts #HowJavaScriptWorks
Fayetteville, AR
Joined October 2018
Context Coloring "This allows us to instantly see how the nested functions close over the outer functions. ...Assistance in finding the functions and their contexts and influences is valuable" Douglas Crockford 5/8/2019 https://t.co/pr4oHGLnH5
0
0
1
npm, Inc. Has a New CEO, Bryan Bogensberger: https://t.co/ghFTQEtBWa (Isaac Z Schlueter becomes Chief Product Officer.)
0
7
15
Starlink Mini offers fast, reliable internet on the go—great for traveling, camping, exploring, boating, RVing, and more. Stay connected without dead zones or slow speeds. Order online in under 2 minutes.
625
2K
11K
Crockford introduces Neo, a transpiled, educational language. Here's a difference from #JS: "The stone function replaces Object.freeze, doing a deep freeze. The problem with freeze is that it creates an expectation of unfreeze or thaw. There is no coming back from petrification."
0
0
0
How Javascript Works: Sample Chapter [D. Crockford] #JavaScript
https://t.co/6vI90DofaN
0
0
0
After months of research, design work, and prototyping, I'm thrilled to announce: ♠️♣️ Programmer Playing Cards ♥️♦️ Learn about heroic programmers across history - all while playing your favorite card games with friends. https://t.co/wC7i86sUrO
freecodecamp.org
Note: We’re shipping limited edition decks of these Programmer Playing Cards (on a water-proof PVC card stock!) to freeCodeCamp.org’s awesome supporters. Read on for details on how to claim a deck of...
14
185
631
"With tail call optimization, recursive functions can become as fast as loops. This is important from a functional perspective because loops are inherently impure. Purity comes with recursion." [How_JavaScript_Works - D. Crockford] #JavaScript
0
0
3
"A constructor is a function that returns an object. We can make a counter_constructor that is similar to a counter generator. The hard object that is returned contains only methods. It defends the integrity of the data held in closure." [D. Crockford + #code] #JavaScript
0
0
0
"The class syntax, despite its looks, does not implement classes. It is just syntactic sugar on top of the pseudoclassical constructor weirdness. It preserves the very worst aspect of the classical model, extends, which tightly couples classes together." D. Crockford #JavaScript
0
0
1
"Functions can be nested. When an inner function is created it contains a reference to the activation object of the outer function that created it. This mechanism is called closure. It is the most important discovery so far in the history of programming languages." [D. Crockford]
0
0
0
"I recommend not storing undefined in objects. JavaScript allows it, and correctly gives back the undefined value, but it is the same undefined that means that the property is missing. This is a source of confusion that can easily be avoided. [How_JavaScript_Works - D. Crockford]
0
1
0
"I am able to write about JavaScript's good parts only because JavaScript has good parts. Compared to a decade ago, I think less of the language is good, but I think that good part is better." [How_JavaScript_Works - D. Crockford]
0
1
1
" If a feature is sometimes useful and sometimes dangerous and if there is a better option then always use the better option. " [D. Crockford] #javascript
0
0
0
"..a Generator is a function that returns the next value in a sequence.." [D. Crockford + #code] function counter() { let count = 0; return function () { count += 1; return count; }; } const gen = counter(); gen(); // 1 gen(); // 2 #javascript
0
0
0
It’s official. @GitHub is now a part of the Microsoft family of companies. New GitHub CEO @NatFriedman shares his plans for a GitHub that’s open, developer-first, and better than ever:
59
1K
3K
How JavaScript Works at Silicon Valley Code Camp 2018 [Video: Douglas Crockford] @sv_code_camp
https://t.co/b6IdAcItyp
0
0
0
"How JavaScript Works" - a new book released by Douglas Crockford, author of JavaScript: #TheGoodParts, on October 18, 2018. https://t.co/H4MNiMLa3U
0
0
0
Language Trap: name => {id: name} "..You can put any value behind the fat arrow and that value is returned when the function is called, unless its an object literal. It returns undefined instead.." [D. Crockford - Tech Talk on Vimeo] Fix: name => ({id: name}) #javascript
0
0
0
"The const statement is like the let statement except that it disallows the use of assignment on the variable, although if the value of the variable is mutable, it can still be mutated. const is preferred to let." [ D. Crockford - JSLint: Help ] #javascript
0
0
0