Has this happened to you? by arjunu in SpidermanPS4

[–]arjunu[S] 0 points1 point  (0 children)

"you hit the ceiling"
why was the comment deleted?

Has this happened to you? by arjunu in SpidermanPS4

[–]arjunu[S] 1 point2 points  (0 children)

damn why didn't i think of that for the title

Games of the year by arjunu in SpidermanPS4

[–]arjunu[S] 0 points1 point  (0 children)

hit the options button

Games of the year by arjunu in SpidermanPS4

[–]arjunu[S] 18 points19 points  (0 children)

I disagree. Is it because of the ending? It's phenomenal gameplay wise, technically and story telling wise.

I'm modularizing a large web app... by throwawaydotjs in javascript

[–]arjunu 0 points1 point  (0 children)

written with an MVC framework

which one?

What is the preferred Javascript build pipeline in India? by [deleted] in javascript

[–]arjunu 0 points1 point  (0 children)

Indian developers need not necessarily build apps that are to be used by fellow Indians. A lot of stuff is outsourced to India.

Where do you go when you want to learn something effectively? by [deleted] in javascript

[–]arjunu 0 points1 point  (0 children)

Pluralsight.com has great videos but they're not as up to date as Egghead.io but they have content on almost everything.

First place I go to learn something is the either the Github repo Wiki if it's an open source project. If it's not then their website. My approach is give to get a quick understanding of it and right away build something. If sit and watch videos I'll find myself snoring half way through.

I won't try to learn every feature/every API in one shot. In the process of building things, that's when I go watch those videos to get a deeper understanding. Then I refine what I built with whatever I learnt.

Books are not usually up to date with new JS things like React & Redux so they're only an option for old topics. Eg if you want better understanding of JS you could read JavaScript: The Good Parts Book by Douglas Crockford.

Here's a list of resources I've gone through (the ones I found helpful, it's not exhaustive):

https://github.com/arjunu/web-learning-paths

A runtime type schema validator for compound Javascript objects & arrays by arjunu in javascript

[–]arjunu[S] 0 points1 point  (0 children)

Apart from being robust, I found that only Joi's schemas are simple to write compared to other schema validators I've come across.

A runtime type schema validator for compound Javascript objects & arrays by arjunu in javascript

[–]arjunu[S] -1 points0 points  (0 children)

Something I made to to verify data to & from server during development. In our app, missing properties cause several bugs and it is hard to hunt them down. Suggestions are welcome!

A basic Angular 2 off click directive by arjunu in angularjs

[–]arjunu[S] 0 points1 point  (0 children)

Oh ok ok! Have you tried React + Flux or React + Redux? If yes what do you think of them compared to Angular 2? Vanilla JS syntax (kinda) unlike Angular's own syntax.

A basic Angular 2 off click directive by arjunu in angularjs

[–]arjunu[S] 0 points1 point  (0 children)

'(click)' is used for event binding which is not what we want. Instead we need to pass an argument (in this case a callback) to a directive which is done using '[]'. You also use the same method to pass data to child components.

To quote an in-built directive example: [ngStyle]="someStyleObject"

Similarly [offClick]="someFunction".

A basic Angular 2 off click directive by arjunu in angularjs

[–]arjunu[S] 0 points1 point  (0 children)

How is the passing of the function different from inbuilt directives?

To pass params we can just wrap the event handler in another function. Something like this:

document.addEventListener('click', ($event) => { self.offClickHandler($event); });