- @getify -- Kyle Simpson -- Teaches JS professionally
- 50-75% traveling and teaching, rest of time “community building” -- open source / speaking / meet-ups
- LABjs -- dynamic script loader, 5-years old -- fast, ensure order for dependencies
- Concatenate everything, why script loader? Seeing a switch to HTTP2. Why is this important? HTTP2 changes the way we optimize page load -- persistent socket protocol. Parallel downlaoding.
- “Grips” -- templating engine.
- There are “logicless” templating engines like mustache. Requires a brittle connection between backend and frontend. Lots of data massaging.
- Alternative -- whole programming language embedded into template. I.E. PHP, Dust, Handlebars. Causes mess of business logic leaked into template due to business pressure.
- “Grips” is an oppinionated templating engine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC+nfuAiyRnys5Yphfc8ghmtTCMD8caFn1X8vnS+HbtXLRlfB9twEjFe1WBGf7pafueO5OZN14cLyuHvauC/AXA9jX7HVhEGOTh3eQZHhZLSIUqv0qFiNiPAi6ahpCjITWnpiCNMbDkM6w5oquLw7qiF5Vg5RQWFVdm69f8yoBzmgtWMgMNa1QMQzDbz7zpLCiF451dJnfrKrGTzbKqnrGkgyJ1bkItXMKfrn7rB6MgOd6R49W/rn8w0UzbVkhphHI4GkEF89VuUe5H9EcHN4gEqzNlsduo13SrsqdKf8cMJ2qNb3rLO2INp+AvO6+Z4PytO/jY5I+c2e34API52ad0kkcB/PigGkgAIIRADaHgr0fzvRw4N7TbeIXzwBDKPplFlruSu9jC5fKwrgLF0tEx1l8A20qr9wceXpArFzmiGtYIdo3rYthKKuz6MMqa+IiZVvfO5BTmJaTDHykCTflOQK9WZgRBQjCnzB/c6JQFEEAvhnIUI7ebH0GPFOM/q2Rv3KmnJXax7sT8C3RCy6CLJ4I7LC5fsstgHX5UIP/Y1zcGFsOs4SMomr7WQO6X04ilXKHVv/9k6TWm4OVFpQ6ZAemxmCUkxPqgOSg0gexiC2T+DNRjp8pg3CAdacjH7Xt9VPJ6YIIszcoTJmN+FbnkP7X4zX/CRf8wWDcPJjbfgQ== lotus@Infinity |
Meeting Notes:
- Discussed reviewing meeting notes at the end -- divide and conqueror? Putting together a nice writeup for each day?
- Talked about note writing techniques
lethijacks block-scope -- differences betweenletandvaris "block scope" and "hoisting"letis cool, has some advantages, but is it really useful? Garbage collector? Security? "Hoisting" is important!let-blocks are cool. Too bad they're not actually in JS.let-eris cool, but try/catch work-around is lame.letis cool, but must be used with caution- Does
letactually increase performance?letmight be a bit more performant, due to stricter scope and better garbage collecting - Mozilla suggests "use
let" with transpilers, even thoughletisn't supported yet. let"is" hoisted? Just hoisted with a different value -- "undeclared" rather than the value you give it.
When we put the new keyword infront of any funciton call, it turns the function call into a constructor call
This isn't the same as a class
There are 4 things that happen when a new keyword is put infront of a function call:
- An empty object is created
- The empty object gets linked to a different object
- empty object gets bound as
thisfor the purpose of the function call - if the function does not otherwise return anything,
newwill insertreturn this
- Module pattern is very common. Old way of wrapping with a function, new way of export/import
- Module pattern is something many frameworks have been using for a long time.
- A really useful pattern since in JS we don't have access modifiers
- What about
module ___ from 'module'? I think it's actuallyimport * as module from 'module' - What about multiple exports in a single file? I think this is legal
thiskeyword -- the four rules.newkeyword- explicit
- implicit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| asdf |