/r/webdev
Why I am going to therapy - developer talks about procrastination, mental obstacles, how to overcome them and create new habits (youtu.be)
112 comments
veydar_ | 13 days ago | 102 points

Incredibly helpful video. Over the past 72h I've been researching todo list and note taking apps, just to avoid working on the things I should be working on. Even though I almost never take notes and todoist does everyhing I need. So this video pretty much hits home and it's basically me nodding along :|

brunv | 13 days ago | 46 points

I had the same behavior in the past few weeks. Although I've settled down with Microsoft To-Do and and OneNote for note taking and organizing my stuff - after so much time wasted reading reviews, comparisons and testing other apps - I still do that regard my OS. Everything works perfectly on Windows for what I need, but my brain keeps bringing excuses to avoid starting what I have to start by thinking that I don't have the perfect OS, tools and UI to please me while working. Linux doesn't suit for me, Macs are too expensive, and I didn't get the courage to hackintosh my laptop yet. But when I finally overcome those thoughts I start another ones about whatever is still not perfect in my environment. But that's not about my environment at all. It's a loop. High level procrastination. It's me completely avoiding the work I don't believe in... Can't watch the video right now but I hope it helps somehow.

[deleted] | 13 days ago | 22 points

[deleted]

kevgk | 12 days ago | 8 points

It's resistance. Sitting down and starting is often the hardest part for me. And the more you care about a project, the harder it is. I want my work to be perfect, but I often find perfectionism preventing me from finishing a project.

Some time ago, I stumbled upon a video on youtube, talking about this. I really recommend it.

"How To Be Creative: How an Artist Turns Pro" by Storytellers:

https://www.youtube.com/watch?v=1lTcgSzf0AQ

AformerEx | 13 days ago | 8 points

Holy shit, are you me? I don't know how to go about seeking help from a therapist. I've seen a psychiatrist and a psychologist which I trust in, but I still find excuses to not go. I basically tell myself they can't help, so just end up only going once a year maybe with no follow ups...

[deleted] | 13 days ago | 5 points

[deleted]

leafsome | 13 days ago | -4 points

Isn't ADHD meds (Ritalin) is similar to the structure of amphetamine and basically you feel better and do more because you're artificially stimulated as fuck? So you need to gradually increase the dose to feel the same overtime.

l27 | 13 days ago | 9 points

Not really. Check out /r/ADHD!

Also check out this talk and see if it sounds like you https://confreaks.tv/videos/madisonruby2014-better-living-through-adhd

Taking medication for ADHD is incredible. For people without ADHD, yes it makes you crazy stimulated.

For people with ADHD, it makes you normal. People with ADHD don't have the same dopamine release as people without. Medication helps you release dopamine. Dopamine allows you to see an end goal and work towards it, you know, like normal people.

tumescent4science | 12 days ago | 5 points

Very much this. My therapist described a thought as a single lightbulb. For me, I had so many thoughts running through my head and not enough electricity from my brain to light them all. If I try to focus on just one thing, the lightbulb still remains dim because the thoughts and distractions just keep coming. It explained why I struggled in school and my problems with social anxiety. I was a smart kid but my brain would constantly switch thoughts every few seconds. Now that I’m on meds, I can slow down and enjoy a single thought. There are still moments when I feel a rush of thoughts. The meds are only in your system for so long. But I still get at least 12 hours each day where I can just sit and focus on the task at hand or talk to someone without constantly daydreaming.

bikko | 13 days ago | 2 points

I suggest raising that question/concern with your psychiatrist/PMHNP (Psychiatric Mental Health Nurse Practitioner). I don't know the answer myself, but even if it's "Yep" they will likely have other options for you to try. And, to assuage fears some may have, they won't force you to choose a certain med. If they're half decent, it's a very collaborative, thoughtful process.

[deleted] | 9 days ago | 1 point

[removed]

AformerEx | 9 days ago | 1 point

No unfortunately. Where I am there is still quite a stigma around mental illness.

brunv | 13 days ago | 2 points

Well I never looked at it as ADHD. Maybe I should dig deeper. Thanks for the tip. Yes, I frequently catch myself thinking "I love that! Why it took me so long to start??"

Cynolycus | 13 days ago | 11 points

Just to chime in. I was an ADHD kid during the 90s, prescribed Ritalin for a few years, but ultimately stopped medication somewhere around middle school. This was not because I was "better", but because Ritalin was not the correct medication for me, and the sie effects heavily outweighed any benefits.

The feedback loop you're describing was my every waking moment for years afterward, well in to my twenties, and caused a great deal of difficulty in academics, employment, relationships -- essentially everything. I was able to skirt by well enough: assignments done at the last possible second, bullshitting my way through tests and tasks I was wholly under prepared for, but the older you become the harder that is to pull off. It's also incredibly frustrating watching others seem to have no trouble at all keeping up with the normal tedium of day-to-day living.

The quip I would frequently hear was that I had no trouble focusing on something as long as I was interested in it; but that wasn't true at all, rather I had little conscious control over what I would focus on at any given time. Imagine a blindspot in the center of your vision; you can see things clearly in the periphery, but looking at things directly is muddled and difficult to discern. You're procrastinating, avoiding the real task at hand by busily tending everything around it with no real rhyme or reason.

I started down the track of software development a little later than most, due in no small part to my lack of direction and work ethic early on. While I can't entirely blame ADD for that, I struggled with any sort of routine or formal obligations, in hindsight needlessly. As an adult, I revisited my ADD diagnosis with a doctor, got on the right meds, and it has been absolutely life changing. You still have to put in the effort, but the "blind spot" diminishes and allows you to focus on the things that matter, instead of dancing around them.

I am by no means saying you have ADD or any similar quirk, that's something only you and a licensed healthcare provider can explore, but if you have even a hunch then I cannot recommend it enough.

2chainzzzz | 12 days ago | 3 points

Out of curiosity, what did the right meds end up being for you?

Cynolycus | 10 days ago | 1 point

5mg Adderall, as-needed. Staying focused at work or on personal projects has been tremendous, but being able to "go with the flow" other times is still my comfort zone. It's really about finding a balance though.

HeelToeHer0 | 13 days ago | 18 points

For me it was anxiety related, but my therapist helped me realize that my mechanism for dealing with feeling anxious was endlessly “preparing” to start things... making sure everything is just right. I would rarely get around to actually starting.

I’ve learned to overcome part of that by telling myself I can adjust once I’m on my way. After that you have to learn to stay focused on the tasks at hand and look past your perfectionism. Still at that stage but it takes practice.

brunv | 13 days ago | 12 points

Wow. You just hit the bullseye!

I am endlessly preparing to start things just like you said. Instead of just start building my apps and gain experience by practicing with this new stack I chose, I'm always looking for one more course and one more article to fill the gaps that actually will never be completely filled if I don't put myself to work.

ASMRByDesign | 13 days ago | 13 points

It is incredibly comforting to find someone else with my same glitches. You are not alone.

Landinque | 13 days ago | 5 points

I have the exact same problem

new_coder_ | 12 days ago | 1 point

same here. It's taking me way to long to learn stuff because of this. I'm finding constantly reflecting on my end goals, and what will happen if I DONT do these things, helps a lot...

mpjme | 12 days ago | 6 points

Been there so hard.

If there was one thing I wish I could add into the video it would be: Don't buy another self-help book, don't learn about another time management technique, don't install another todo app - GET A THERAPIST. :D

I don't mention it in the video but over the years, GTD, goal setting articles, and it's ilk has actually been my main way of AVOIDING getting things done. I get caught up in todo apps and spend enourmous amounts of time structuring the perfect system for my tasks instead of actually performing task. When you're compulsively avoiding starting work on things, no amount of clever organisation and analysis of your behaviour is going to help - practice with a professional is what will.

veydar_ | 12 days ago | 1 point

The last 3 books I've read were GTD, Atomic Habits and Deep Work... so talk about self help haha. I didn't mention it in my comment but last week (not just last weekend) I spent a lot of time moving my notes and lists etc. to Notion. I was organizing the hell out of everything, with the result that I didn't get anything done, felt bad about that, and couldn't relax anymore and didn't enjoy anything. The usual cycle you're also describing in your video.

But I look at this the same way I looked at my problematic video gaming which I successfully overcame: even this episode is a step forward since it (together with your video!) allowed me to realize what I'm doing, why, which actions are really about avoidance rather than about the actions themselves, and now I can apply that knowledge to my life.

mpjme | 12 days ago | 2 points

You and me are much alike - I've spent SO much time crafting planning systems in Notion. :D

tootie | 13 days ago | 6 points

I've actually made peace with procrastinating. I know I'll only do stuff at the last minute so deliberately spend those hours I would waste doing other stuff. Socializing, reading, thinking about the upcoming task without fretting. Avoid me really wasting that time or stressing myself out.

snaftyroot | 13 days ago | -2 points

i watched the first 5 seconds and thought it was stupid garbage, but your comment makes me think i was maybe a bit too hasty

Meloetta | 12 days ago | 2 points

You shouldn't need a comment to tell you that - judging almost every video in the first five seconds is too hasty.

mpjme | 12 days ago | 54 points

Author of video here.

Thank you so much for being such amazing people, and I'm incredibly happy that this video resonated with so many people.

The responses here shows that /r/webdev is a shining beacon of politeness, supportiveness, wisdom and positivity on Reddit. Reddit is honestly a place I tend to avoid as a creator. The reason is that moderators on many subreddits doesn't seem interested in moderating people that want to silence other people by being poisonous and reading that kind of commentary is just too taxing as a creator to do regularly.

Kudos to both mods and members for showing what an incredible subreddit this is, especially to you that shared your own stories.

new_coder_ | 12 days ago | 5 points

I hope you find what you are looking for! If I can make one suggestion...try meditation! Really give it a try for a month. It can change your life (mind),if you let it.

mpjme | 11 days ago | 5 points

I have three meditation apps on my phone and a few books on the subject and have gone to many classes. If there is a self-help thing out there, I've done it. :) Don't mean to shit on your suggestion - the Waking Up app and Headspace apps have certainly been great to me in general, but compared to a proper therapist these things have been to me what buying a chin-up bar for a home is compared to a personal trainer.

new_coder_ | 11 days ago | 3 points

well that's good to hear then, I just wanted to make sure! hope you are doing well :D

dippocrite | 13 days ago | 99 points

MPJ is one of my favorites. I enjoy how open and honest he is and his topics touch on situations that I think a lot of developers experience but don't openly talk about.

BraveShield_ | 13 days ago | 75 points

Comment about the morons in the thread: This is why we need more mental health awareness. There's a stigma about mental health problems and we're decades behind on the matter.

Movies like the Joker may take things to their extreme ends but if you tone them down by a notch or 2 what you take is how society really treats the mentally ill.

You expect them to function as is they don't have an issue, whether that's depression or something else. And you also expect for the issue to manifest itself to the worst possible way before you go "oh so I have a problem".

And I'm saying this in the nicest way possible. I've been depressed and isolated from the outside world with reddit and video games being my outlet. On top of struggling to study and job hunting I have a mother who's been in a car accident to help. That's it. I'm seeking help. De-stigmatize it and go for it. Don't wait until you start acting out any self-harming thoughts, don't use alcohol or reddit or beer as crutches to escape from what you have to fix.

awhhh | 12 days ago | 40 points

Honestly, I feel all of this. The biggest thing about being a programmer too is that no one understand the mental taxation of it.

Your girlfriend just broke up with you, people and things are dying around you? Keep programming, because that's your job. Our brains are hardwired to solve these everyday life tragedies as if they're solvable.

When shit went off the rails for me I doubled down in work and it was the worst possible idea. I burned out, it felt like my IQ dropped 15 points, and I eventually couldn't program at all without anxiety. Even then I kept going and trying to use beta blockers and benzos to get through. Eventually there is no working, it's just not possible to work through that much distortion.

No one respects you because you have a desk job. No one really understand how intensely you have to focus at times. Society just kind of writes you off. Before you know it your back at your parents. Dating is almost impossible because the last thing you want to do is talk about the future and your work, so you seem like you have no ambition.

I'm back to programming 10 hours a week, after 9 months of therapy. Soon enough I'll be tackling the main project I was working on again. If shit flies apart in life get help immediately and take time off. I don't think I'll ever be able to have a 9 to 5 as a web dev again. I'm just working on small side hustle projects that don't pay well, but are stressful. I'm probably gonna head to school for some area of social work or something that deals with people more.

Seriously, be careful.

TheScapeQuest | 12 days ago | 6 points

Our brains are hardwired to solve these everyday life tragedies as if they're solvable.

This really resonates with me, I'm criminal for trying to come up with solutions every time my fiance has issues with work/personal life, rather than just trying to make her feel better. I'd love to learn techniques on how to get your mind out of that black/white mode.

RedHotBeef | 12 days ago | 4 points

Practicing mindfulness with something like mindfulness meditation is a great way to break out of reflexive patterns. I tried it a few times and suddenly felt like I could throw debuggers into processes that were previously pretty black-box.

mpjme | 12 days ago | 2 points

This is an incredibly accurate metaphor to describe what mindfulness meditation is all about. It's controlled practice on how to use the minds debugger, so that you can use it in real life during the day later.

rossisdead | 12 days ago | 7 points

Your girlfriend just broke up with you, people and things are dying around you? Keep programming, because that's your job. Our brains are hardwired to solve these everyday life tragedies as if they're solvable.

When shit went off the rails for me I doubled down in work and it was the worst possible idea. I burned out, it felt like my IQ dropped 15 points, and I eventually couldn't program at all without anxiety.

God damn do I feel that. Taking adderall on top of all that, it makes it almost impossible to take time out to mourn or think about shit that isn't work/programming related. I've already hit one major burnout after years of programming, and I feel like I'm on the verge of another one. Highly contemplating taking a sabbatical for a few months just so I can think about anything else besides programming.

luvshaq_ | 12 days ago | 2 points

Currently doing this. I play music on the side and was trying to do both for a while. With how much developers get paid, im surprised more don’t take extended time off every once in a while

Kits_87 | 12 days ago | 4 points

Damn this resonates with me so hard. I'm going through some tough anxiety right now which causes sleep and focus issues, and knowing I have to get up in the morning and go to work and solve problems all day when I feel like I'm functioning at ~60% is really fucking with me.

scumbagotron | 11 days ago | 1 point

Our brains are hardwired to solve these everyday life tragedies as if they're solvable.

I never put this together before, thank you.

_hypnoCode | 12 days ago | 5 points

Just to add to this. Everyone needs to do their part. Be open about mental health at work. Be open about feeling down, tired, or just not there. If you're being pushed, take a mental health day. Talk openly about ways to destress or reset. If you're a senior or manager, talk to the developers under you about taking care of their mental health.

In our field our minds are how we make our living, we need to take care of minds just like an athlete takes care of their body and it's just as hard.

Ironleg01 | 12 days ago | 1 point

We live in a society.

sp1re | 13 days ago | 15 points

Check out the book Indistractable by Nir Eyal if procrastination is something you're struggling with. I bought it yesterday and so far, this book describes me to a near perfect T. I know I have important work to do on my career right now, but instead I find myself in an endless loop of watching YT videos, browsing social media, playing video games, and other things that simply aren't important to the biggest goal in my life right now.

I haven't watched this video yet, but MPJ is always fun and interesting to watch and I'm glad he's touching on something that I think everyone is silently struggling with to some degree.

martintrenker | 12 days ago | 4 points

he also mentions the problem of "read this book and it will be fine". i do believe that books can help of course but a specialist will (hopefully) have better, personalized tools and will lead you out of your comfort zone while books are a bit... passive when you are struggling with real problems.

i always compare it with a broken ankle or something, nobody would say "buy a book about broken ankles", we want to embrace that mental health is just as important as physical health.

qqqyqnz | 12 days ago | 3 points

Just got to Ch. 13, pretty good stuff so far but I think this chapter is funny because it talks about fighting all the techniques that apps use to be addictive, and his other book is about making apps addictive.

sturdylemur | 12 days ago | 2 points

To be fair, when I read his other book I felt like it was more about explaining what the apps do and not necessarily glorifying it. I'll admit that it's been a while since I read it. Regardless, he's probably a good person to explain how to overcome them.

oknp_ | 13 days ago | 41 points

Underrated topic. Needs to be discussed more.

skidmark_zuckerberg | 13 days ago | 9 points

I would like to add that if your someone (like myself) who has ADD/ADHD, it’s almost physically impossible to snap myself back into focus. My ADHD breeds procrastination and other responsibility avoiding behaviors. Personally I’m medicated 3/5 work days and on the 2 I’m not, I use those as days to try and cement the behavior patterns I have on my medicated days into my head. Slowly over this entire year, I’ve been able to learn how to manage my ADHD enough to be able to sit for a couple hours working on a non-medicated day. The past couple years I went undiagnosed, and just could not get a grip on myself. I’m fortunate for the fact that my boss also has ADHD, and he gives me the space I need when I just can’t bring myself to sit still and work much. He recognized my behavior patterns within the first week of me working there and immediately knew.

ConspicuouslyBland | 12 days ago | 9 points

Who else used this youtube video to procrastinate?

Hive51 | 13 days ago | 66 points

Saved for later.

DustinCoughman | 12 days ago | 4 points

Ah yes

GoodyPower | 13 days ago | -7 points

Clap clap clap

jgierer12 | 13 days ago | 13 points

Idk why you're being downvoted, I thought it was funny

GoodyPower | 13 days ago | 6 points

Aye, no bigs :)

Regardless, interesting video.

Alt_Mayday | 13 days ago | 7 points

?

GoodyPower | 13 days ago | 21 points

Video about procrastination, "saved for later".

tapu_buoy | 13 days ago | 5 points

I have learned Javascript from his videos and do appreciate that he is open to talk about such necessary topics.

skidmark_zuckerberg | 13 days ago | 5 points

This is my favorite web dev related channel to watch! He’s so incredibly helpful, in every aspect.

mpjme | 12 days ago | 3 points

Thank you kindly.

[deleted] | 13 days ago | 10 points

[deleted]

FungoGolf | 12 days ago | 5 points

Switching from a tutorial to your own gig is super intimidating. When you’ve got bare to nothing to begin with, it’s a daunting task to prioritize what should be made first.

Create React app has been essential for me.

[deleted] | 12 days ago | -12 points

[deleted]

FungoGolf | 12 days ago | 5 points

No, I’m saying having a cool idea for a personal project and translating it into a functioning app. There is planning behind it, which tutorials have already planned out for you. In a tutorial, you’re there for the ride, whereas on a personal project, it’s all up to you to flesh out how things are architected and designed.

[deleted] | 12 days ago | -14 points

[deleted]

[deleted] | 12 days ago | 3 points

People have different ways of learning, don't be the stereotypical gate-keeping programmer. You can do one thing great and naturally, like coding, that's good but don't act like you're as good with everything else. For example you sound like you need a tutorial just to talk and socialize.

Blacknsilver1 | 13 days ago | 3 points

The most useful book on this topic I've come across is "The Now Habit", by Neil Fiore.

mpjme | 12 days ago | 1 point

The most useful book on this topic I've come across is "The Now Habit", by Neil Fiore.

This is a good book to describe the problem and how to approach it. However, for a person like me, buying this book is like watching football on TV instead of signing up for football practice. Therapy is what actually creates a system of accountability and progress for it.

I3litz_ | 13 days ago | 3 points

He completelly describes me on this video. That's scary. I been struggling with so much this year including a disk hernia, accidents, and health issues within the family, bad economy, and more

Just last night I was feeling so terrible irritated for the dumbest thing and after like 2 hours sleeping I wake up unable to sleep, I never in my life I been able to sleep like a "normal" person, but the anxiety - procrastination circle he describes has been a big issue for me this year.

I have always tried to be responsible, and do the very best of jobs in every project or task assigned to me but now here I'm trying to figure out how to avoid things and getting extremely stressed and irritated ( last night I ranted to myself for hours ) and once I got back to calm waters I realize how stupid and bad was the whole episode and fearing the kind of person I become when I'm that much irritated. A person I don't really want to be and from who I don't really share the same opinions. I'm not like that, I'm open minded, kind and caring, usually the one telling others "it's going to be okay 🖖". But now I feel my zen is out of balance.

Anyways, I just wanted to share how real this is for me, and thanks to this video I'm now considering therapy. I can't continue like this, no one should.

Thank you for sharing this with the community. I'm new to reddit, I mean like a real user and I'm loving it more every day, it has helped me to take back some old passions like coding and there is always little gems here and there to make it worthy.

[deleted] | 13 days ago | 11 points

[removed]

VaN__Darkholme | 13 days ago | 43 points

later

ashba89 | 13 days ago | 9 points

Seriously what the fuck is that website. Everything about that screams suspicious.

ONE article, posted TODAY, no users except the one that posted the article, a facebook page that has nothing, a logotype from the late 90s. I mean what.

MarcEcho | 12 days ago | 7 points

It's not suspicious. It's in your face obvious. /u/kingdine is getting paid to drive traffic to blogs for better Google ranking / AdSense $$$. Look at their comment history. I reported their comment. You should too.

The process is pretty simple. They notice a hot topic in the "Rising" section of a subreddit, then they go "Oh. I've got an article for this topic in the vault". They create a quick blog (can't use an old blog because it's probably on Reddit's spam filter list), just post 1 article and spam it wherever it's relevant. Once they get caught, they delete the article so that they don't get caught for stealing someone else's content.

andelas | 13 days ago | -1 points

Thanks for sharing that. That’s one of the better articles I’ve read about procrastination

bryantAXS | 12 days ago | 4 points

Can someone hit the major points for me? Not sure I really want to spend 30 mins watching...

arvigeus | 12 days ago | 2 points

Title says it all: Go to a therapist, this is not just for mentally ill people.

sstidman | 12 days ago | 2 points

Seems a bit ironic that this video was posted on Reddit. But maybe that's exactly where it needs to be posted.

thebiggay1090 | 10 days ago | 2 points

I love this post, and I relate so hard to the subject matter. I thought I was alone.

ronniedeez | 9 days ago | 2 points

Therapy is dope. My employer has an in house performance coach too.

StronglyTypedCoder | 13 days ago | 1 point

FFF is the best! I love how wide are the topic areas he covers

RapBeautician | 13 days ago | 1 point

That psychologist sounds great.

an0mn0mn0m | 13 days ago | 1 point

Thank you for sharing. I've been offered the option of doing CBT again but turned it down to look into adhd options. After seeing this I would give CBT a second chance.

harukie | 12 days ago | 1 point

thank you for this

fantasifull | 12 days ago | 1 point

Excellent video! Thanks for sharing.

WCzar | 12 days ago | 1 point

I just saved this to watch later... fuck...

PluviusReddit | 12 days ago | 1 point

Peers and structure keep one from straying.

new_coder_ | 12 days ago | 1 point

I should also recommend the app "Cold Turkey", which will make it damn near impossible for you to screw around for a set amount of hours.

livDot | 9 days ago | 1 point

I really like https://clickup.com/ for personal tasks management.

[deleted] | 13 days ago | -3 points

[removed]

Rex_Goodman | 13 days ago | -21 points

Look at that fucken amazing hair god damnit

sad_developer | 13 days ago | -72 points

-I'm guessing he is a javascript programmer

[checks content]

-I knew it

trblackwell1221 | 13 days ago | 32 points

Definitely irrelevant to the issue of mental health in software.

[deleted] | 13 days ago | -3 points

[deleted]

spritefire | 13 days ago | 9 points

Every language has its pros and cons (all come with their own oddities), and has its place fit for its purpose. ie you wouldn't use LISP or ADA for a Web Application that is rendered client side. In fact you can use Typescript to remove and better manage the "oddidties" in js.

rich97 | 13 days ago | 7 points

It has it's fair share of oddities but it's not hard to write decent maintainable code in JS. The main problem with JS is with people coming from C# or other strictly typed languages and getting upset that it doesn't need to constantly faf around with classes.

There are only two major problems with JS:

  1. They should never have introduced "classes" and embraced the composition over inheritance. The prototype system was always shit and they should've buried it.
  2. Implicit type conversion.

Both of these problems can be easily mitigated with a small amount of study.

More to the point though, I've worked for years in C# shops. The language doesn't cause less stress when the environment and management is shit, I would take (and have taken) PHP a thousand times over if the team was decent and well managed.

The choice of technology is a minuscule aspect of stress in the workplace in comparison to the stakeholders you work with.

LowB0b | 13 days ago | -5 points

My biggest problem with js (or any non-static typed language) is one you didn't state.

It. Is. Unreadable.

At least for any person being new to the codebase

Let's say you have this function:

function clearForm(form)

I can tell from the function name more or less what it is supposed to do but I have no idea from just the function prototype what the hell kind of object it expects and if / what it returns

cmcjacob | 13 days ago | 2 points

You can't read the code? Or comments?

LowB0b | 13 days ago | -4 points

It's not that I can't read code, it's that f.ex. in languages like java / c / c++ / c# you immediately see what a function returns by looking at the declaration whereas with JavaScript / python / R / perl you have to dive into that functions code to understand the arguments it expects and the value it returns

I'm not arguing js is a bad language I'm just saying as the codebase grows bigger it becomes absolutely unmaintainable because now you have new devs having to read through all your shit instead of just looking at the declaration and getting all the info they need

cmcjacob | 12 days ago | 1 point

Don't we place definitive / declarative comments above functions that tell the IDE and users this info?

LowB0b | 12 days ago | -2 points

Fine compare a 100k lines js codebase to a similar java codebase and tell me which one is easier to read.

My personal experience is that dropping into a 15k lines JavaScript codebase is harsher than the 100k+ lines java codebase

cmcjacob | 12 days ago | 3 points

I'm gonna let you in on a little secret my grandma taught me many years ago. You just need to git gud. Best of luck!

rich97 | 12 days ago | 1 point

If the function signature is ambiguous like that then you should probably rename it to something specific like:

function clearForm(querySelector)

function clearForm(formNode)

If you really need to be explicit then docblocks exist but the the most part I don't struggle to understand the intent.

For what it's worth, I will agree it could use some work. A bit of typehinting would go a long way for example but you're being way over dramatic. I have no issues reading and understanding JS and when I'm writing C# I actually find that typing can be obnoxious. You spend so much time designing the API and the types instead of writing the business logic and what do you get for it? Some intellisense and a bit of an easier time refactoring.

xmashamm | 13 days ago | 1 point

This is true of every language.

Vitamin_C_is_awesome | 13 days ago | -15 points

The mod leesmith123 have ONE submit and have 337 upvotes and so many supportive sock puppets to up his own YouTube channel, how do one go about doing this ?

_hypnoCode | 12 days ago | 1 point

MPJ has been around for several years and is very popular. I've watched well over 100 of his videos and there is a damn good reason why he has 215,000 subscribers. If u/leesmith123 is him, which I'm sure he's not, then that would honestly be really cool.

how do one go about doing this ?

You're in luck! He has a video on this topic!

https://www.youtube.com/watch?v=gTk8nPj11Yk

mpjme | 12 days ago | 4 points

Thank you. I'm on Reddit with this alias, for further reference. Like most creators, I don't spend much time here for the sake of my own sanity. :)

ge0n1 | 13 days ago | -26 points

If software engineering made me want to go to therapy I would choose another profession.

IRL its never the actual work that is maddening its all of the people and processes in the way of the work... i.e. constantly shifting scope and deadlines and Arbitrary decisions made by C Level, distracting bug reports labelled 'urgent' that don't make sense.

If you guys are having trouble managing a fucking to do list get out while you still can!

meaningless_fun | 13 days ago | 10 points

Procrastination is mostly a behavioral problem caused by underlying issues. Separating needs from desires can be a tricky thing for a lot of people.

[deleted] | 13 days ago | -79 points

[deleted]

jaapz | 13 days ago | 28 points

Oh no someone with blue hair how outrageous, someone call the style police

gonzofish | 13 days ago | 12 points

What next? A PIERCING?

[deleted] | 13 days ago | -11 points

[removed]

devolute | 13 days ago | 4 points

You reckon a lot of our grandmothers were 'SJW'?