Mike Ward
Member since Jul 14, 2015
- Profile: /members/12746-mike-ward.htm
- URL: http://mike-ward.net
- Comments: 5
Recent Blog Comments By Mike Ward
-
Var For Life - Why Let And Const Don't Interest Me In JavaScript
Posted on Nov 12, 2015 at 9:49 AM
Sure. I use map, filter and reduce extensively when working with data. var x = data.map(d => d * 10); vs. const x = data.map(d => d * 10); I don't expect "x" to change. "const" helps the compiler enforce this but more importantly, I as a reader of the code know it is n... read more »
-
Var For Life - Why Let And Const Don't Interest Me In JavaScript
Posted on Nov 12, 2015 at 9:34 AM
I was sceptical for a time as well. Some of it depends on your style of coding. I tend to write in a functional style. As a result, the majority of my "var" declarations are "const". I have grown to like this. If I'm writing a function that has more than one or two "let or v... read more »
-
Rendering Large Datasets With AngularJS And ReactJS
Posted on Jul 15, 2015 at 8:48 AM
@Ben, The rules are pretty simple. A component is an HTML tag (lower case only) followed by JavaScript. Use of the script tag is optional. I usually include it. It does look a bit strange when the script tag is missing. Components are usually in separate files. For purposes of this experiment, th... read more »
-
Rendering Large Datasets With AngularJS And ReactJS
Posted on Jul 14, 2015 at 7:02 PM
@Jonny, Nice!... read more »
-
Rendering Large Datasets With AngularJS And ReactJS
Posted on Jul 14, 2015 at 9:24 AM
I'm a huge fan of AngularJS and didn't get all the fuss over ReactJS. Then I met RiotJS. It would be interesting to see how RiotJS compares in this test. If I get some time this weekend I may have a go at it. The difficult part for me with ReactJS was it was solving a problem I didn't have. I was f... read more »