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
-
JS developers are really something else, coming up with a new library every 15 minutes and you would expect at least some of them to be good, but for some reason it's going to be a retarded clusterfuck of bad decisions EVERY SINGLE TIME.
The latest addition is implementing HTTP requests as observables, whatever that's even supposed to mean. God knows what am I going to observe on a fire-and-forget event but clearly "performing a request and getting a result" was way too obvious, we need something to hinder people productivity, lest someone in this planet actually got something done by the end of the day. -
Yeah, observables are... weird. Guess they stem from an era where promise and async generator support wasn't standard in Js.
Still, in the case of http requests, you can pretty much treat them as promises, and IIRC, you can just await them and they work. -
You can turn it into a promise easily if you want. Being an observable has advantages promises don't have.
-
Then rejection: Your code wasn’t observable enough. And we failed to give you passing criteria even after you drilled us. Oh boy we can’t find qualified devs to meet our intellectual standards…what is this world becoming? Why are there no good devs left to grace us?
-
Angular: for when the Brazen Bull doesn't seem QUITE diabolical enough and you wanna make sure someone REALLY suffers.
-
@IHateForALiving There's a good reason why I try to use as little libraries as possible. Who needs axios if you can just use fetch.
-
@retoor yet you can see how that is definitely not a cat, but rather a doughnut.
Applying for a new job and got an assignment for a quick dashboard as a test, whoever designed the HTTP client in Angular should be thrown down a fucking building.
rant
your mother is getting piped
let's react to a fucking request
pipe here pipe there
performing a request and getting a result
naaaah to fucking easy