Details
-
AboutArchitect mobile solutions and Software developer.
-
SkillsObj-c, JS, C/C++, C#
-
LocationStockholm
Joined devRant on 12/15/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
-
So, I needed a package installed on one of our Unix servers. The package manager--which is obsolete garbage--was failing with a message which can only be described as a variant of "Go fuck yourself". A quick Google search didn't help.
3 espressos and an eternity later, I have descended into a manic state. My hair has turned grey and I have started lactating. As a last-ditch effort, I try a new search query on Google, and the first link takes me to a forum with a thread discussing a similar issue. The last post in the thread has a solution which works for me. After fixing the issue, everything in the world feels right and I decide to thank the generous poster, who is like an angel to me at this point.
Guess what? The poster is none other than me. 8 months back, I had created a user account on the forum just to post the solution to a similar issue I had on another server.13 -
And that's why there are scientific programming languages:
"Hey, you are the Java guy, aren't you? My Java is broken!"
Me: *Takes a look at the code*
if ("4+4".equals("5+3")) {
System.out.println("Same result!");
} else {
System.out.println("Different result!");
}15 -
for(i = 0; i < n; i++);//<-- this one
{
//Do stuff
}
One day struggling why this for loop in C just iterates once, found out that ";" was leaving the for body empty, and the "Do Stuff" ended beign out of the for.8 -
So I was finally done with the project, every feature was implemented the way I wanted it be, every piece of code optimized and well written, I was completely satisfied with my code and didn't feel the urge to add a "last little feature/optimization"...
.
.
.
Then I woke up 😭😭😭2 -
Mathematician girl invites me to code some lines.
I arrive at her flat and she was alone so some part of me thought ehem. Anyway i took a look at the program first.
Me: so... it's a date?
Her: no im using cosmic radiation.
Me: huh?
Her: yeah accessing a value from a sensor gives a..
(Apparently she thought i was asking about the Random Function she was using, which usually uses the date)24 -
Has anyone ever looked over the code that they wrote like two years ago and just felt embarrassed of how bad it is?10
-
I am a little bit fat (just a little bit :D) and there is no such an avatar in devRant to represent my look. That makes me feel I'm lying about myself 😐2
-
Working on a project with 2 other students. One of them makes a C# "super class" with 50 fields, and manually creates getters and setters for each and every one. Then he proceeds to write a constructor that accepts 50 parameters, because why not.
I comment on the git commit, telling him that he can just write " get; set; " in C# and that he should model the problem in smaller, more manageable classes ( this class had 270 lines and did everything from displaying data to calculating stuff). Tried to explain to him that OOP works kind of differently from how he did it.
....
His answer: "Yeah, I don't really care. If it works once, it's okay for me".
This after the most beautiful code review I have ever done...
Fml8