Ranter
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
Comments
-
@Fast-Nop
not beginner; Married, but having one wife is enough of such behavior, so I had to rant -
compSci9585yI don’t think any language does things ‘just because’, 100% of the time it’s a lapse in thinking from the developer.
You also know what order things execute in JavaScript if you know javascript sufficently.
And lastly you always know what the response will be given any set of data if you think about design first and sufficiently know the language.
JavaScript has many flaws buts its in none of the above. -
@-pthread No, and after a quick google search I still don't know what they are so I'd be grateful for a link.
-
-pthread4395y@Lor-inc Function Modifiers are used to modify the behaviour of a function. For example to add a prerequisite to a function. Some languages called it decorators.
-
-pthread4395y@Lor-inc pure functions are stateless function. Same input produces same output without any side-effects.
-
@-pthread I know decorators, I just didn't know this name. IMO a function with an impure decorator is an impure function, and the point still stands, its the programmer's job to separate responsibilities and to try to keep functions as pure as possible.
Related Rants
I think JavaScript is like a woman...
- it thinks many many things at the same time and you never know the order in which those thoughts are appearing.
- it has moods, sometimes it just won't do something you expect just because
- you are never going to be 100% certain of what a response is going to be given a particular input
rant
js