Angular is trash
Did I hear somebody say overhead? Fuck Javascript. WTF is this code?
// logger.js (function() { 'use strict'; angular .module('app') .factory('logger', logger); function logger() { } })(); // storage.js (function() { 'use strict'; angular .module('app') .factory('storage', storage); function storage() { } })();
This is incredibly ugly. How can somebody even stand looking at these piles of brackets,
semicolons, weird ass commands like 'use strict', a dollar sign before the variable name.
Who in their right mind likes this trash?
var sharedServicesModule = angular.module('sharedServices',[]);
sharedServices.service('NetworkService', function($http){});
var loginModule = angular.module('login',['sharedServices']);
loginModule.service('loginService', function(NetworkService){});
loginModule.controller('loginCtrl', function($scope, loginService){});
var app = angular.module('app', ['sharedServices', 'login']);
"$scope" what does it even mean? Client-side applications using a REST API.
Smaccs, Bem, whatever the fucking buzzwords are, underneath it's just ludicrous flatness.
I am missing my clean Ruby syntax. It's slick and sleek.
Life is too short to waste it writing a million brackets and semicolons. If they helped with anything,
but they don't. They're good for NOTHING.
Kommentare
Kommentar veröffentlichen