• 0 Posts
  • 46 Comments
Joined 5 months ago
cake
Cake day: June 22nd, 2024

help-circle
  • Toxic jobs really take a toll on your health, especially if you feel trapped in them. Looking for a new job is really a full time job on itself, it can be hard to do so while already working a full time job. If you feel your job is toxic you should start looking for something new right away - whether you’ve given notice or not. I’ve ended up in the hospital twice from the toll toxic jobs that I felt trapped in took on me. Another thing you can consider is diversifying your income. Ie, a “side hustle”. If you have more than one income stream you won’t be quite as trapped. You also will have something to help buffer the transition between your real jobs.





  • I would have liked some comments explaining the rules we are trying to enforce or a link to the product requirements for it. Changing the rules requirements is the most likely reason this code will ever be looked at again. The easier you can make it for someone to change them the better. Another reason to need to touch the code is if the user model changes. I suppose we might also want a different password hash or to store the password separately even a different outcome if the validation fails. Or maybe have different ruled for different user types. When building a function like this I think less about “ideals” and more about why someone might need to change what I just did and how can I make it easier for them.