Details
-
Location🏡
Joined devRant on 8/31/2017
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 when code is badly written, more corner cases are unnecessarily introduced. And it’s sometimes tricky to find the corner cases and probably messy to fix the corner cases.
And so the code grows in size as a result. And when these fixes to the corner cases are not well done, they introduce more corner cases.
So what results is a large collection of corner cases. Only corner cases remain when this goes on for a while.
Because of this, every new feature can be effectively translated to a collection of corner cases to be implemented.
As corners grow, triangles become circles and tetrahedrons become spheres.
I live in such a sphere.8 -
Anyone uses rtags for C++ code browsing?
It’s pretty accurate since it’s based on clang but it’s a bit slow sometimes.
It appears to be using a weird amount of memory though.1 -
You used to think that it was so easy.
You used to say that it was so easy.
But you’re tryin’, you’re tryin’ now.8 -
If your “solution” fixes the test case which is failing, it does NOT guarantee that it is the correct fix. You don’t just blindly change whatever piece of code you like to make just the test case pass. You actually also need to analyse the code and ensure that the rest of the intended functionality is still intact.3
-
I can’t even wait for my copy of Leviathan Falls to arrive. I’m so tempted to read the All Spoilers thread on Reddit. Aaaaaaaaaaaaa! C’mon... you can do this. Just a couple more days.6
-
Let me make this clear.. overusing ξ, ζ and ς in your equations or formulae does not(!!) make you smart!5
-
I've finished all my work. The Dev life is definitely for me. I love being a Dev. I am going to continue being a Dev. Ignore my previous rant.12
-
I’m writing funky code. I hope no one notices.
For instance, I needed to add a function which returns whatever is input to it.16 -
Sorry. I don’t give out free tips.
These are the available packages:
TipsPack Basic (9.99$): 5 tips to increase your productivity 2 fold.
1 ad between every tip.
TipsPack Premium (17.99$): 20 tips + 1 bonus tip for 10x productivity. 2 ads.
One bug fix free when you purchase either pack.7 -
These bloody form designers.
I was filling in this form earlier and there were some fields which were not marked mandatory so I didn’t fill them in (because why should I ?)
And then later, I received a dozen automated e-mails one for each non-mandatory field I did not fill asking me to provide them that information.3 -
In only I were 1.15 times faster or had better planning (why didn’t I use the Saturday Sunday at the end of the first week 🤦🏼♂️), things would’ve happened differently. I think I’m becoming stupid and my tolerance levels are going down too.
So this happened a while back ..
I was given a code base which didn’t have any changes in the last two years and I was asked to add a feature to this. This was my first task in this new group I was part of. I had two weeks to do this starting on a Monday.
Partway through implementation I realised that the code base is a pile of shit and I wasn’t doing myself or anyone else any favours by shitting on it.
It’s Wednesday. I’ve dealt with many other codebases before but the urge to rewrite this particular one was just unlike anything else. And so I started changing code and before I realised, I modified almost all the important files.
I got sick of this mixed up code and started a rewrite from scratch. It was Friday and I finally had just the basic mechanics of the whole thing working. Now I needed to add all the functionalities and also my new feature.
It should be noted that at no point did I tell any of the superiors I was doing this fearing what they might say and also fearing going back to adding shit to shit.
By the end of the second week, the rewrite was complete and I only had the new feature to add. The rewrite was significantly smaller, compartmentalised and well commented because I did the bloody commenting (where it was not obvious from the code). So on Friday, I was asked about the progress and I told them that it needed some more work and that I need a couple more days. And I got shit for it. I was told it was a mistake giving this task to me and that I am not competent enough. One of the superiors told the other superior about perhaps giving me something more suited to my level. To be fair to them, they were expecting the work in the two weeks to be for the new feature.
And in two days’ time, on Monday (I worked on Saturday and half of Sunday), I finished the whole thing and gave it to them. New feature was working. And I still did not tell them what I did. The tool worked fine so they had no idea what happened because this project had no version control and I pointed them to a new directory with the new code with a first commit.3