Details
Joined devRant on 11/24/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
-
Today I discovered what slowed my productivity the most: variable naming.
In a project I was naming many variables 'dirname' in different parts of the my code, but it represented 3 things: only the name of the directory, relative path + directory, and absolute path + directory.
I wasted to much time just figuring out which was which everytime until I finally decided to organize variables names better and see the wonders of the world. Result:
- dirname: only the name
- reldirname: relative path + dir
- absdirname: absolute path + dir
Such simple solution, yet took me years to actually see the benefits, my god
(First devRant post btw :3)7 -
Dev: So tell me some specs about the app you want.
Client: something like facebook.
Dev: you know facebook has too many features for even having a price tag?
Client: what? Will I pay too? I have the idea.
....6 -
Dear fellow developers,
please make your software more accessible.
Thanks.
Link to an article from a blind developer about his work:
https://medium.freecodecamp.com/loo...
I found this link in a comment on devRant posted by @nickpapoutsis.2 -
Am I the only one who thinks DevRant should have a proper desktop website instead of just making us navigate in a stretched out version of the mobile app?
Don't get me wrong, I love this place, but a desktop website would sure be nice! :D7 -
!rant
I had this idea about national flags on the avatar. (Something like an item on the desk) then @letmecode suggested notebook stickers.
What you devRanters think?20 -
#tower-of-pisa {
font-style: italic
}
Entire building falls down
Fuck, forgot a semicolon. I hate CSS.4 -
Me after a large Git merge, after expecting masses of merge conflicts and getting none. Life is good my friend.2
-
Been struggling with a performance issue for weeks, been writing a search engine (or sorts) for internal company use only. Discovered the locations that are being indexed contain a directory used for back up purposes that contain archives of everything inside it.
Wrote a means to exclude these directories, performance improves up to 1600% (top end, sadly, not across the board) feel freaking awesome.
Boss acts like I've just pull Atlantis off the floor with my teeth.
It was a two line change, I wish the really difficult tasks were treated this way and not with "oh it shouldn't take you long!"1