Details
-
Aboutjavascript developer
-
Skillsjs, scss, ec6,
Joined devRant on 7/23/2018
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
I hate the overuse of arrow function everywhere even for super long expression. that `function` should fit to them more comfortably .
writer of code should aware that it take three time more to read expiration with arrow function inside5 -
You know the feeling when your mom come to visit and then start reorganize your stuff and complains about the way you choose to live ?
That how I feel when TypeScript come into my code and start reorganize my functions into Classes and bug me, all the time, about the types I must use to active there function
( thanks to Angular )1 -
a guest that come from average and boring house, without invitation, to your glorious and successful estate, and immediately starts rorganizing and enforcing the rules and regulations that he know from his environment
Is like dev community that working to convince you use TYPES on your sharpened JavaScript architecture .7 -
Angular and is best friend RxJs are too over engineering and far from the concept of 'keep it simple, stupid'
But just a moment they're both use typescript to design there interfaces ... maybe that is the fucking reason for that !2 -
Reading OpenSource lib that write in TypeScript is a nightmare
WTF:
export function concatMap<T, I, R>(
project: (value: T, index: number) => ObservableInput<I>,
resultSelector?: (outerValue: T, innerValue: I, outerIndex: number, innerIndex: number) => R
): OperatorFunction<T, I|R> {
return mergeMap(project, resultSelector, 1);
}
That is just fucking definition, no execution code inside1 -
stop using arrow function everywhere!!!!!!!
what that is mean ?
fns.reduce( (prev, fn) => fn(prev), input)
Are this is `fns.reduce` with two parameters
Or arrow function that return `input` variable.
take your time to visual parsing this crap4 -
when some lib using Typescript they think that they can show in the top of the page function with the full fucking complex signature and that explain everything you need to know about what the function do and how to use it !
what about some simple basic signature, table of attribute name and meaning. and some good examples
like we have then on the old day ?? -
angular: the fucking one place on all Eco-Web-Dev that you need import basic core feature . twice !!
the module - and then get error of forgetting the class , they two almost with the same name