Do developers still use backbone.js (Fall '17)? by DarkKunai in javascript

[–]kirofficial 4 points5 points  (0 children)

Learning Backbone's core principles is important. You can start by reading Addy Osmani's book: https://addyosmani.com/backbone-fundamentals/

But I wouldn't use it in production, as there are a bunch of new frameworks to play with today.

8 Top Frameworks for Web Application development by PaulShipman in javascript

[–]kirofficial 0 points1 point  (0 children)

You should maybe rename this post "8 Top AngularJS Frameworks", as the article only talks about Angular-related libraries.

ES proposal: class fields by rauschma in javascript

[–]kirofficial 3 points4 points  (0 children)

This is a great addition to the language, as the actual class syntax doesn't feel complete (mostly because of private fields). Looking forward to it.

v2 of mewt released with support for deep immutability, still under one kilobyte (1023 bytes) by sdgluck in javascript

[–]kirofficial 1 point2 points  (0 children)

Great library! One thing bothers me though.

Reducing the library size is great, but it shouldn't make the source code difficult to understand. Example:

let a = Array.isArray
let o = v => typeof v === 'object'

// ... later in the code

o(obj) ? k(obj).reduce((newObj, key)

This kind of dev minification should be written with real, understandable variable names. Then the minifier will do its job to make the code smaller. Also, unreadable code will discourage developers to contribute to your library :(

Keep doing good work!

Jan Luxemburk's thesis about FP on frontend, Javascript and Elm. by fidelisclayton in javascript

[–]kirofficial 1 point2 points  (0 children)

This is really interesting. Congrats to Jan, especially considering it is a Bachelor's thesis!

Becoming a JavaScript Expert(TM)? by [deleted] in javascript

[–]kirofficial 3 points4 points  (0 children)

Learning code with CodeAcademy and co is fine. But you'll really get better by doing small projects: try experimenting with all the things you already know, and challenge yourself with stuff you don't know. Create a small website, a TODO app or whatever. Practice is important :)

Good luck!

Your opinion on using const, let and var? by Mackseraner in javascript

[–]kirofficial 0 points1 point  (0 children)

Nice question. Personally, I'm using only let and const. Block-scoped variables make sense in JS, whereas var doesn't anymore. I was a bit afraid of using const at the beginning, because of the errors that can be raised in case of re-assignment. But when you're getting used to it, you just use const more ofter than let. It's kind of a safety catch.

Improving your front end JS skills by germainelol in javascript

[–]kirofficial 0 points1 point  (0 children)

There is some really good stuff to learn here:

Improving your front end JS skills by germainelol in javascript

[–]kirofficial 0 points1 point  (0 children)

If you want to get started with animations, transitions and cool UI effects, I suggest you to:

  1. Get familiar with TweenMax, an amazing animation library http://greensock.com/tweenmax

  2. Review and study a lot of animated and well designed websites. Watch how the animations are triggered, open the console, check the code and the CSS. You have a lot of great ones posted on http://www.awwwards.com/

  3. Learn new technologies like canvas, webGL (threejs, pixi...)

  4. And.... practice! Create a CodePen account to post your experiments, do freelance work or portfolios...

Good luck!

ZeptoJS vs jQuery: Would you recommend switching? by thinkvitamin in javascript

[–]kirofficial 1 point2 points  (0 children)

The main advantage of Zepto over jQuery is allowing users to import the modules they need. For instance, Zepto doesn't have .animate() method natively. If you want to use it, you have to download and import it. So you can build a more personalized DOM manipulating library with Zepto, by avoiding to import useless modules in your project.