OdeToCode | 18 Sep 2014 09:12
Read more » Features Of ES6 Part 7: Template Literals
OdeToCode | 17 Sep 2014 09:12
Scott Allen writes "....One of the reasons for Angular’s success is the flexibility in the building blocks the framework provides. There is a delicate balance between productivity and flexibility. A heavily opinionated framework can be make a team highly productive, but..."
Read more » Declarative Physics with PhysicsJS and AngularJS
OdeToCode | 15 Sep 2014 09:12
Scott Allen writes "....In C# we’ve always had declaration statements for declaring variables, and expression statements to produce values. In C# 6 we can mix a declarations with an expression to declare a new variable and produce a value. The canonical example is the..."
Read more » C# 6.0 Features Part 3: Declaration Expressions
OdeToCode | 11 Sep 2014 09:12
Scott Allen writes "....To destructure an object is to dismantle or tear apart an object. In ES6, a destructuring assignment allows us to tear apart an array or object into individual pieces that we can assign to variables. The square brackets [ and ] are used to..."
Read more » Features Of ES6 Part 6: Destructuring
OdeToCode | 10 Sep 2014 09:12
Scott Allen writes "....AngularJS provides protection against cross-site scripting attacks by default. Let’s look at some examples. HTML Entity Encoding With ngBind Consider the following controller which maintains a collection of strings with HTML inside...."
Read more » A Journey With Trusted HTML in AngularJS
OdeToCode | 02 Sep 2014 09:12
Scott Allen writes "....The spread operator shares the same syntax we saw with rest parameters, a series of three dots (...). However, a rest parameter will collect individual parameters into an array when you use the dots in a function parameter definition, while the..."
Read more » Features Of ES6 Part 5: The Spread
OdeToCode | 19 Aug 2014 09:12
Pretend I am..."
Read more » Karma Is Not Just For AngularJS
OdeToCode | 18 Aug 2014 09:12
Scott Allen writes "....A rest parameter allows a function to work with an unknown or variable number of arguments. A function’s rest parameter always appears at the end of the function’s argument list and uses a triple dot prefix (...), as shown below. let doWork =..."
Read more » Features of ES6 Part 4: Rest Parameters
OdeToCode | 14 Aug 2014 09:12
Scott Allen writes "....Primary constructors are a feature you’ll find in a few programming languages, including F#, Scala, and Kotlin. A primary constructor allows us to define a constructor for a type and capture the constructor parameters to use in initialization..."
Read more » C# 6.0 Features Part II : Primary Constructors
OdeToCode | 13 Aug 2014 09:17
Read more » Features of ES6 Part 3: Default Parameter Values