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
Search - "bad habits"
-
Today I realized that I hit a total burnout. Last 3 years were extremely stressful for me (4 jobs in 3 different countries, exhausting and toxic relationship, bad habits). Last 7 months are the worst. I became lonely isolated and miserable. I learned to rely purely on stress, determination and validation to get through my days. Was supressing my emotions for a long time just to focus on making the money. Its time to break the cycle.
Im done with this. Next week Im quitting my fulltime job. Saved enough money for starting capital of my own dev services company. Built three projects that generate stable income to cover my living costs. Now finally I can take a long break to recover from this burnout and to heal myself. That poor persons mentality that I had from my poor family has been shattered. I achieved what I wanted in terms of having the money and gathered enough experience necessary to survive anywhere.
I managed to get through all this shit on my own with barely any support. People around me were draining me more than actually helping me. But I managed to do it and now its time to focus on myself, to heal and restore love for living. Im safe now.10 -
I download a lot of different stuff all the time. Often times I don't actually get around to cleaning it up. Thus, I decided I needed to build a script to further encourage my bad habits.
Here I've built a script for both Windows and Linux. It's designed to take all the files in the current directory and move them into their own folders based on their extensions. Why is this useful?
It's fucking useful when you're not having to swim through fucking mountains of content.
Anyways without any further ado here are the scripts.
Linux
#!/bin/bash
for i in *.*; do
filename=$(basename -- "$i")
extension="${filename##*.}"
extension="$extension"files
mkdir "$extension"
mv "$i" "$extension"
done
Windows
@echo off
for %%i in (*.*) do (
if not exist %%~xifile md %%~xifile
)
for %%i in (*.*) do (
if "%%i" NEQ "movingFiles.bat" move "%%i" "%%~xifile"
)15 -
I hate my job. I am furious at my colleagues.
Last November I asked my colleagues (A and B) to help me learn to use something, let's call it Tool. They said okay and set a date for training. Next week they said that they had too much work to do so we'll have to postpone. And the next date was also postponed and the next one too, and so on.
Three months in, colleague C kept dicking around and being a complete jackass telling me that he refused to work with me for I don't use the Tool.
Not like I didn't want to learn to use the Tool, I simply couldn't. I have long before googled how to use the Tool but in no way can Google ever tell me about our own company workflow, our methods, habits and such.
I was furious, but I am also a the most fucking patient person ever so I let it slide. The Tool wasn't actually needed that much to do my job anyways. And I have known for a while that colleague C needed to push someone under him to feel good about himself.
A few more dates had been set but got cancelled for reasons.
Meanwhile both A and B started to look down on me for not knowing how to use the Tool. I started to feel depressed.
Today B held a "workshop" about the Tool. It took two hours. He was not prepared, had a hangover and generally had a hard time concentrating.
He used aliases that he set up only for himself to show the usage of the Tool instead of commands that a beginner would understand (or google). He kept mumbling and I hsd trouble understanding him. His lecture lacked direction and was all over the place.
I am devastated and furious. I had been waiting since November for this training and when the time actually came he pulled something out of his ass and called it a workshop.
I didn't even get answers for my questions.
Now I feel that I am actually in a worse position than before because while I still cannot use the Tool, they can tell me that there was a workshop and I should've paid closer attention.
I want to quit so bad.23 -
So many bad dev habits...
But the one that results in the biggest headaches afterwards?
Me, when given a problem and being asked an estimated time: 'This shouldn't be too hard, gimme X to do it', only to later find out it's way harder than i imagined.4 -
I’m a devRant virgin and also a new dev so...
Anyone got any general tips for a newbie? For example, what are some bad habits that newbie devs should avoid picking up? Good habits?30 -
Anybody have the bad habits of biting nails down and sometimes tearing the skin off finger-tips just because licking the blood is somehow calming?
If so, how do you combat it?29 -
Sometimes I feel like I'm wasting my time, I've been programming for the last 6 years, day and night, I know more than all the teachers I've had for the last years (including university), during programming classes at university I'm just there to help my friends and try to avoid they get bad habits (our professor didn't have this luxury apparently), but I don't feel the emotions I used to feel when I started, for the last month or so the only code I've written was two days ago to help the girl I like, when I'm home I try to force myself to code but I can't find the inspiration, I stare at the screen for 30 minutes, I reboot my pc, start windows and play videogames 'till night...
Then I go to youtube, and see artists and musicians, I feel like I can't do anything that cool...
Have anyone of you ever felt the same? What did you do to recover? I still love programming, but I can't find any reason to do it, I still don't have an original and interesting concept for a game, I have many side projects in the "maybe I'll continue it" stash, is there something wrong with me or is it normal?10 -
I'm currently working in call center. Making them a management system for agents. I'm the only developer there. No one asks about the progress even the owner doesn't know a thing about softwares. This gives me a freedom to do work when I want and how fast I want. But because of this I don't care anymore about the little things. and I have adopted some bad programming habits during my stay. Should I quit or what?6
-
> be me
> starts job at a new company
> team likes me, coworkers appreciate my skills
> bosses have plans for my future
> insomnia hits
> wakes up at noon
> 15 missed calls, 20 unread messages at the start of my second week, some from the client firm
> cuss-word.jpeg
Please tell me it's not that bad and I'm not the only one that gets bent over by poor sleeping habits :(9 -
*sigh*
So we have this supervisor that I’ve mentioned before in my previous rant(read if interested). This man has been a pain to my side since I started working here. He does a phenomenally good job at being a douche bag and he has the need to resort to screaming and yelling if you happen to disagree with his methodology in any point of you. He likes to make fun of and be little you as well. Oh and I’ll mention he does it in front of all your co-workers. All bad habits and even less from some one in a supervisor position.
I think I’m a pretty reasonable guy, I try to get my work done only asking for help when absolutely necessary ie idk what’s going on or I’m stuck. This guy has the bad habit of breathing over your shoulder while you’re working......... Anyway I hit a breaking point today and waited til he was in his office to confront him.
I asked to walk in politely and asked if I could close the door it was a personal matter. After I sat down and vented to him explaining that what he’s doing with this egotistical persona of his is wrong and it’s creating an environment that cause everyone to feel like shit thus cause lowered work efficiency. I told him that belittling and offending is a bad tactic and that we are grown ass adults. It shouldn’t be necessary for you to yell or make fun of me, shit if I wanted to eat yelled at I’d go home to my father. He’s allowed this guy is not.
Well cutting it short I finished the convo and he didn’t say much just agreed with some points and stressed others that would be too much to mention. I’m not dumb either I recorded the convo just in case he tries to pull something. But I get the feeling like this is gonna turn out really well or it’s gonna go south.
Just wanted to rant to the rantFam first.
I’m done now.6 -
(first post/rant on here)
So I recently started at a new company. I was kinda aware that the project I'm working on would be rather old school (to put it in a nice way :-)).
Part of my job is to 'industrialize' and update/clean up the existing code so there is less time spent on fixing bugs due to bad design.
One of the first things I had to do was to write a new interface to integrate with external software.
I already noticed some rather nasty habits, like prefixing every variable with m (don't know why), private fields for every property (all simple properties) and a whole lot of other stuff that either is obsolete or just bad practice.
Started writing clean code (simple classes with properties only, no m prefixing, making sure everything is single responsibility, unit tests, ...).
So I check in the code, don't hear much from it again besides the original dev/architect that started the project using my code to further work on that integration.
Now recently I started converting everything from TFVC to Git (which is the company standard but wasn't used by our team yet). And I quickly skimmed through my code to check if everything was there before pushing it to the remote repo.
To my surprise, all the code I had written was replaced by m prefixed private variables used in simple properties. BL classes were thrown in together, creating giant monstrosities that did everything. And last but not least, all unit tests were commented out.
Not sure what I got myself into ... but the facepalming has commenced.14 -
Worked on a WordPress Multisite project that required digging around to find ways to hook into areas that weren’t meant to be hooked, create and add custom core files that would withstand updates, ensure certain plugin capabilities were available even if the current site didn’t load them, and a variety of other black magic that I’m too fried to remember off the top of my head.
By the end of the project I more or less felt like a god in WordPress—There’s little I could ever want to get it to do that I didn’t know how to do.
Then again, this is all probably a long way of saying I learned some very bad ways to do things. Mercifully, it’s fully documented with PHPdoc blocks down to the loop level so that even a 3-year-old should be able to figure out the logic...
All this to say, I’m definitely ready for a new project.3 -
So I am finally plunging into continuous integration. If I make one more deploy script mistake, I've lost enough time to merit having learned a better solution than bash scripting calling git and rhc and py files I wrote. I have failing tests that are failing because they weren't updated after the million and a half urgent changes in the past 2 months, so it's time to act like I am a TDD fanatic and write the tests correctly. So much work. All from me listening to the constant req changes, listening to the urgency, letting non-devs get under my skin if you will. I'm optimistic in all the wrong places - I think I can write that by end of day let's try it. I'm lazy in the wrong places - I think that I can write that test later, because all I changed was XYZ (which took all night but I said I'd get it as close as possible didn't I?). And I think these handful of bash scripts are good enough to make sure I run tests? But remember, I didn't write the tests or I didn't go back and update them. Or the tests that fail, I'm too lazy. And so much of the tests, I would need to use, idk selenium for, and damnit if I really don't want to dig for element IDs to wait for every time I need an AJAX call.
Okay wow, I really did rant here. And discredited myself a bit lol I need to ignore the wrong lazy and embrace the right lazy. Protect myself from myself and from contributors. It really is, up to me now, to rescue myself from my bad habits. Bad habits perpetuated by clients urgency every day, to change things, that should have been finalized in November if we wanted a stable flipping system in January. It feels like the blind (client) leading the blind (me, when I do dumb shit like rush features out the door half tested).
Anyway all this came out, because I have been reading about continuous integration and stumbled upon this quote. And thought someone might laugh at the anachronism like I did2 -
Worst career choice: Not programming when I was younger because someone told me I would pick up bad habits. As a result if feel behind some of my peers at University.
Best career choice: I'll let you know when/if I have a career.4 -
After being an active developer in the industry for about 5 years, I still have some bad dev habits on which I'm working on:
- Starting off with the code first without a proper design in mind/paper. (Trust me, I'll always regret of not having a proper design later)
- Writing long method bodies and not refactoring them later. (Because sometimes I turn out to be a lazy ass)
- Duplicating code in some places without reusing some.1 -
Point out that removing a "include charger" option from the new iPhone package is not appealing to users with conservative spending habits (me) and users who plan to transition from android to IOS.
"AhaHah you must be poor, poor ppl can't afford to consoom new products every year, I don't care about no chargers AhaAha"
"It'S JuST $30 jUst Buy One @ the StOre"
This is why apple users get a bad rep, apparently not tossing a perfectly functioning phone into a landfill every year makes you poor. My phone doesn't use the new chargers because I actually made a good purchase that has lasted for around 4 years and the only other apple product I own is a macbook, people like these (ain't a few), make me ashamed to be an "apple user" whatever the fuck that means.12 -
I just hate how my body believes that coding time and snack time are synonyms. Like ok, i might have been eating some chips or noodles while i was doin' the thinking, but hell, i cannot just empty 2 or 3 bowls of food each time i have to open and IDE.. How can you guys keep yourselves busy from eating when you fight the evil forces of bugged code?3
-
Stop commenting out code blocks!
Either fix your shit or delete it.
I am open to argue what fixing may mean, as it is perfectly fine to make your broken code not reachable, e.g. via feature flags or skipping certain tests. Yet never ever should you comment those blocks!
So you say you want to keep it for historic reasons? You know, that is why we use version control! If you ever need certain functionality back, you can restore that state.
Each decent IDE also offers a local history where you can even restore code blocks that weren't even pushed or committed. So use that!
Commenting out test cases is a really bad habit, as you have no reminder that you shall restore it.
And no, a TODO and a FIXME won't count as a reminder as you have to actively look for them. And we all know how well that goes, don't we? (One time, I found a typo of a `TDO`. So even with a regular lookup for TODO, stuff will slip.)
Each test suite offers you ways to skip tests if there are valid reasons why they should not fail the build temporary and they offer colorful feedback. Yes, that means that your tests won't be green, but guess what: That's a feature! They shouldn't be.
That yellow is a fine reminder, aka warning!, that you should really fix your shit.
Commented code screams: "I DON'T KNOW WHAT I WAS DOING!" and it confuses the hell out of other developers ("Was this commented because of debugging purposes and should be active again or can I safely delete this!?") and adds verbose crap to the code base.
If you find yourself to be in a place that you comment code a lot, I also argue that your workflow is broken.
When you are using a decent debugger, there shouldn't that much of a need to comment in and out a lot of code in order to reason about your code-base.3 -
!rant
Health.
This is a big thing I think. I don't know about anyone else, but I'm overweight and this job keeps me at a desk for long periods of time.
I ended up with health issues from a combination of a bad diet, a staph infection years ago, and not being active. So I've made a commitment to start walking - at least a mile a day.
I'm using Pacer + Apple Health on iOS to track my progress. So far, combined with a $50 bluetooth scale I picked up on Amazon, I'm losing weight. I also noticed that when I switched my mile walk to my lunch break, I'm coming back to my work way more refreshed.
I hope to keep this up and I've found the gamification of having apps track my progress is a definite plus.
Anyone else have any healthy habits of "health hacks" they've found?4 -
my instructor forgot to do Cengage shit right again... why me...
Assignment wants me to "go do a thing to sort 3 numbers with if/else statements"
I'm going to use a list and list.sort() as i'm not stupid and these are bad habits to teach...
...or not.
(I know I can put the values into the right vars and then print those but that feels so wrong to me for something that's gonna be printed ONCE. That also doesn't help as it's searching for if/else statements... although it's not searching for a whole one... nor in actual code...)4 -
One of my bad dev habits is that I tend to take up too much work because a lot of devs I had to work with seemed not competent enough. It's a bad habit because I get way overworked which influences code quality and deadlines.
I have to learn to trust more in others and give up some responsibility... it's hard though.
I think a big influence on my mindset has been that I never worked in a team bigger than 4 developers and I had way more experience in web dev than the others.
I sometimes may appear as an arrogant prick, but it's not intentional.9 -
you know when you start with computer at 9 years old... and you hate calligraphy class and typing feels the same and thus you skip it and now you are hitting a wall because you are not using enough fingers to be more productive at the keyboard!! 😡
I right now have a rag over my hands at the keyboard and am taking typing lessons... and my brain is not happy about it!8 -
How do you handle work colleague who is becomming too chummy? Got this one guy who is my age at work (we are in late 20's), we've been working for the past 5 months in the same team. At first I was in a bad place so kinda overshared my personal life with him so did he. Went out for drinks and etc.
Problem is that its becoming weird in the office now. I am trying to fix my habits like quitting drinking and quitting smoking and all I get from him is pressure about why Im not going out and etc. He doesnt even really know me, just assumes that if Im not hanging out with him I just sit in my home on a couch. And in the end what if I do? What kind of guilt tripping is this?
Also I feel that he as a senior is kinda undermining me. I am not a senior but definetly also not a junior anymore, and he treats me as a junior while he has at least half of knowledge gaps as me. He has been working remotely for some time now and I noticed even how dynamics in the office changed. I see other devs coming up to me for advice and I see that I am actually competent enough to help them. If my big ego senior was here, he would be sucking all of the attention out of the room and I would be in his shadow yet again. Its just weird.1 -
Woke up in the middle of the night thinking about work and how the team seems to be always a few steps away from the next production issue and well always busy with urgent work too so that the crap that produces more and more tech debt never get cleaned or fixed...
And now it's grown so big... The bad habits are just sparking more bad habits and well the only person (boss) able to correct course still hasn't realized for the last 4 years... Constantly thinking things will get better after the next sprint. Hell we don't even use proper sprint planning... even I can't keep up anymore and can never get any long term high value/low immediate return work done...
So I guess I'm having a work overload, nervous breakdown before even going back to work...
I have an urge to tell all this to his boss and have him give him a wake-up slap or maybe bring in a more experienced/veteran manager to set the ship right but my boss personally is a very nice guy so don't want to rat him out...
So not really sure now what to do other than maybe just stay in my lane and put up the blinders? And let the whole forest around be burn down... Though I still gotta bear the heat till it all dies down by itself...
Can't say when that is though...3 -
I feel like working in Visual Studio is gonna lead to me developing really bad habits. Whenever I save, VS locks up for about 15 seconds, completely killing my momentum when I'm used to habitually saving all the time. I'm starting to consider not saving my work as often, despite knowing it'll come to bite me in the ass eventually.9
-
From yesterday I started using the proper typing way (Qwerty) instead of using only two index fingers .
Guess what My WPM dropped from 47 to 8(average).
I'm doing it Just to get better at vim and increase my programming efficiency.
I feel a long way to go to fix my bad typing habits.10 -
I have two bad habits that I try to get rid of:
- Googling instead of directely searching in the product documentation.
- Copy/pasting code instead of typing it. -
!rant
Do you guys live a healthy life? Or are some of us here like the stereotypical dev who sits behind a desk eating bad gaining the pounds while stressing the fuck over code lmao
Personally I use to be quite active but now I'm getting back into bad habits and have started to notice that I'm stress eating <.< and choosing dev work over exercise...7 -
Using Bloodshed Dev-C++ and not wanting to change that for Visual Studio.
Transistion for VS wasn't simple, as I learned from the beginning od Dev-C++ and amount of 'hacks' that worked in DevC++ and didn't in VS were frustrating me. After a while I understood that DevC++ was a bad first choice IDE and things it did shouldn't have place, but habits die hard I guess.
Still like the lightweigh it had, tho. Wish VS was so simple in use at the beginning. :)1 -
!tech (sorta)
I am a 24yo Software Engineer guy and had just started working professionally 2 years ago, and most of my work life went in WFH due to covid. Before that, my college was also near to my home, so i have never left my home for more than a few hours to do studies.
Life had went pretty smoothly so far but now I see a lot of hurdles coming into my path . i am 24 and don't have a license for even a 2 wheeler. I don't have a good idea of my own city (but fortunately it has a great infrastructure , so i know how to travel via public transport to anywhere easily). mainly I don't know how to live alone.
The worst thing currently happening for me is that my company is transforming from WFH to WFO. The office is in a different metropolitan city which is crazy expensive and short on space. I already am uncomfortable with the idea living on my own but the thoughts of sharing a room/bed with some other guy and having my savings cut from 90 to 50% is worse.
i am hopeful that the financial hit will not be that bad as appraisals are coming, but this picture of hustle is scary. will i indulge into bad habits (drinking, gambling, smoking)? will i loose my health? would i need to wash my clothes and cook my food everyday? would i even have time to think and watch some web series, video tutorial? would i cut cost everywhere? every thing is scary. the market is also very bad right now, i am not getting any interviews even after applying to many places.
how do you prepare yourself to live away from home? Also , how do you prepare your family to live away from you?
(for 2nd question, i am a single child of a nuclear family with rarely any relatives or friends. my parents , especially my mom have been super involved in my life and we both have an exteem8 attachment to each other. i have recently started going away for short trips and travels, but she gets super emotional and concerned on thinking about me living and managing things on my own , away from her)5 -
!!rant
Just spent a week creating a distributed api architecture which I found out won't work due to a singular issue which can't be solved - not unless I hack stuff to a degree where I might as well write my own frameworks.
I've been aiming the user application's requests towards my wsgi, which based on a custom header will proxy it towards the correct api. Each customer base has their own api and dataset, but they all visit the same address.
I've handled CORS manually, just picking up when there's an options request, asserting the origin, then returning the correct headers. Cool everyone's happy. Turns out, socket.io includes session id and handshake info as part of their options preflight, which I can't pair with my api header (or cookie, for that matter) which means my wsgi doesn't know where to send it. You get a 400! You get a 400! You get a 401! </oprah>
So my option is to either roll my own sockets engine or just assign each api to a subdomain or give it some url prefix or something. Subdomains are probably pretty clean and tidy, but that doesn't change having to rewrite a bunch of stuff and the hours I spent staring at empty headers in options preflights.
At least this discussion saved me some time in trying to make it work. One of my bad habits is getting in those grooves of "but surely... what the hell, surely there's a way. There has to be"
https://github.com/socketio/... -
Is there a good place to post code and have people comment on the style or the logic? I'd love to start getting feedback on my code and break bad habits before they become too ingrained. Plus, our first project is a blackjack game, I'm working through it pretty well but I'm a little stuck and I think it's completely because I'm paranoid I'm not doing it well/right (even though I probably am).2
-
A year ago was my last rant post, now I'm back around the same dates, that's curious, isn't it?
BTW here are also # functions? I have been on twitter for a long time, I acquired some bad habits! 😅4 -
Bad time management habits.
As for me, I've recently changed job and took some side projects and without some tricks (Getting Things Programmed) I would just end up shits creek without a paddle. I feel like I'm already in, but some tricks keep my numbers on the boards and I don't sink yet.
Also bad eating and no sport habits. -
I'd tinkered with computers for a long time but the breakthrough moment for me was a robotics class in elementary school where I programmed Legos in TC Logo.
That summer, I made a washing machine with multiple cycles and a door sensor to interrupt the cycles.
Soon after, I played with the code for Gorillas in QBasic to fix a race condition when running it on my 486 at home.1 -
Bad habits I know but, if I go for a smoke, jump to the toilet and get a coffee in the way back to my desk and stick Spotify on a long playlist I don't tend to move for quite an extended period of time and actually get Shit done. I also find do not disturb to be an incredibly useful feature in Skype for business