Details
Joined devRant on 6/23/2016
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
-
Love working with atom using this theme in coffeeshops, making people think I'm a top hacker, when in reality I'm just stuck with css classes or something. Equally stupid.25
-
Dealing with a client that won't pay:
Add opacity to the body tag and increase it every day until the site completely fades away...17 -
Heard this recently:
JS always make me wanna say Fuck this shit! But I can never be sure what this refers to!4 -
This is Spork. Spork lives on the desk in my apartment.
My girlfriend bought the plant for her office but he wasn't getting enough light there so now he has a better home on my desk and gets lots of sunlight during the day.4 -
don't think I'd be allowed this at work, but at home, its an amazing way to release my programming frustrations!10
-
So just saw this course online the logo and title are two different languages not the best first impression14
-
Where to get help on fixing a bug:
1.Google
2.Stack Overflow
.
.
.
8479.Your coworker who is coding with his earphones on.11 -
Me: "Ahh yes finally done making this big module that does X, took me 2 weeks but its done!"
Coworker: "You know there's a plugin that does X right?"
Me: "Just go..."
Coworker: "Ohh and it also does Y which makes X easier if you have to do Z"
Me: "GET OUT OF HERE I NEED TO CRY"6 -
Swift, oh my god, why do you have to be like this?
I'm looking to write a simple for loop like this one in java
for(int i = 5; i > 0; i--) {
// do shit
}
Thats it, simple, go from 5 to 1 (inclusive), I saw that to iterate over a range in a for loop (increasing ordeR) I can do this
for i in 0...5 {
// do shit.
}
So I thought maybe I could do this to go in reverse (which seems logical when you think about it doesn't it?)
for i in 5..<0 {
// do shit
}
But no, this compiles FINE (THIS IS THE FUCKING KICKER IT COMPILES), alright, when you the code runs you get a fucking exception that crashes the mother fucking application, and you know what the problem is?? This dogshit, shitStain of a language doesn't like it when integer that the for loop starts with is larger than the integer that the for loop ends with MOTHERFUCKER ATLEAST TELL ME THAT AT COMPILE TIME AS A MOTHERFUCKING WARNING YOU PIECE OF SHIT!!
Alright *deep breathing*, now we can't just be stuck on this raging, we're developers need to move forward, so I google this, "Swift for loop in reverse" fair enough I get a straight forward answer that tells me to use the `stride` functionality. The relevant code for it
for i in stride(from:5 to:1 by:-1) {
// do shit
}
Wow looks fine and simple right?? (looks like god damn any other language if you ask me, no innovations here piece of shit apple!) WRONG BITCHES !!! In the latest version of Swift THE FUCKING DEVELOPERS DECIDED TO REMOVE STRIDE ALTOGETHER, WITHOUT ADDING IN A GOOD REPLACEMENT FOR THAT SHIT!
Alright NOW IM FUCKING MAD, I got rage on stackoverflow chat, a guy who's been working on ios for quite a while comes up n says and I quote
"I can sort of figure it out, but besides that, iterating in reverse is uncommon enough that it probably hasn't crossed anyone's mind."
Now hope you guys understand my frustration, and send me cookies to calm me down.
Thank you for listening to me !27