Slashdot Mirror


Ask Slashdot: What Are the Hardest Things Programmers Have To Do?

itwbennett writes "Software development isn't a cakewalk of a job, but to hear programmers tell it (or at least those willing to grouse about their jobs on Quora and Ubuntu Forums), what makes programming hard has little to do with writing code. In fact, if the list compiled by ITworld's Phil Johnson has it right, the single hardest thing developers do is name things. Are you a software developer? What's the hardest part of your job?"

299 of 473 comments (clear)

  1. Amazing by Murdoch5 · · Score: 2, Informative

    I actually agree with that list.

    1. Re:Amazing by girlintraining · · Score: 1

      I actually agree with that list.

      Don't worry. Your reputation for being disagreeable won't be harmed by this one admission. Unless the mods vote you up a couple more times. :D

      --
      #fuckbeta #iamslashdot #dicemustdie
    2. Re:Amazing by Carewolf · · Score: 1

      The most difficult part, not punching your co-workers in the face when they keep discussing the name of the project instead anything relevant to solving the project.

    3. Re:Amazing by JWW · · Score: 1

      I think the most difficult thing the author of the article had to deal with was making a list of thing that could be represented by a block of text, be represented instead by a stupid slide show that isn't loading correctly right now....

    4. Re:Amazing by Anonymous Coward · · Score: 4, Funny

      I actually agree with that list.

      I don't.
      The most difficult task for a programmer is Personal Grooming, followed closely by eating Healthy and getting enough Exercise.

    5. Re:Amazing by Murdoch5 · · Score: 1

      I had to once walk out of the room and I was still so mad I just went home mid day. The next day when I came back to the room the guy that made me mad still hadn't corrected his mistake and still hadn't finished his work.

    6. Re:Amazing by DexterIsADog · · Score: 1

      I had to once walk out of the room and I was still so mad I just went home mid day. The next day when I came back to the room the guy that made me mad still hadn't corrected his mistake and still hadn't finished his work.

      Well then, you did exactly the right thing, didn't you? Bravo!

    7. Re:Amazing by Mashdar · · Score: 1

      I have no problem naming things. I just go alphabetically down this list of fruit! http://en.wikipedia.org/wiki/List_of_culinary_fruits Comments include deserts and alcohol products containing said fruit. Some editorializing as to the deliciousness is optional.

    8. Re:Amazing by qu33ksilver · · Score: 1

      Sorry to interrupt. But finding a suitable name is one of the few exciting things that I like. I feel that giving a solid name to a project gives it a good feel and motivates people. Yea.. I am one of those types.. I focus on the exterior more than the interior.

  2. Two sides of the coin by swm · · Score: 5, Insightful

    The head and tail of the list

    9. Designing a solution
    1. Naming things

    are pretty much two sides of the same coin.

    If you have a design, you will know what call things.
    If you have names for everything, you will be able to build a design from there.

    And these *are* the hardest things on the list.

    1. Re:Two sides of the coin by Anonymous Coward · · Score: 2, Interesting

      If you have names for everything, you will be able to build a design from there.

      You think the inventor of the mouse pad started with the name? What's a "mouse pad"? Sounds like a feminine hygiene product for mice...

    2. Re:Two sides of the coin by JustOK · · Score: 1

      At the time, maaaan, like a mouse pad was a groovy place for mice to like hangout and live, you know?

      --
      rewriting history since 2109
    3. Re:Two sides of the coin by Anonymous Coward · · Score: 5, Funny

      "there are two hard things in computer science: cache invalidation, naming things, and off-by-one errors"

    4. Re:Two sides of the coin by QRDeNameland · · Score: 2

      The head and tail of the list

      9. Designing a solution

      1. Naming things

      are pretty much two sides of the same coin.

      And these *are* the hardest things on the list.

      While I agree that these items are closely related, in my opinion, these were the *easiest* thing on the list. After all, this is what programmers are trained and paid to do, and for me this is the most enjoyable part of programming.

      Of all the items on the list, the one I'd put closest to the top is 'time estimates', since in anything other than the most trivial cases it is an exercise in predicting problems yet unknown.

      But the one that would be on the very top of my list isn't there: Interfacing with god-awful third-party software, and tracking down the inevitable breakages when said software gets updated. This facet of my job has become more and more prevalent over the years, where I have to chase down a problem for which I have no good diagnostic tools, no access to the source code, and as a result spend hours of fruitless and frustrating poke-and-hope troubleshooting, or searching Google eight way to Sunday hoping to word your problem in some way that corresponds to some other poor soul who might have the same problem. (This xkcd is a good illustration of that dynamic.)

      I guess to some extent it depends if by 'hard' you mean "challenging" or "so frustratingly, brain-numbingly tedious that you want to gouge your eyeballs out". Yes, good design is 'hard' in the first sense, but I feel good after a day of that kind of work, but that second kind of 'hard' work makes me wonder why I became a programmer in the first place. Unfortunately, it seems that over time there's less of the former and more of the latter.

      --
      Momentarily, the need for the construction of new light will no longer exist.
    5. Re:Two sides of the coin by frank_adrian314159 · · Score: 1

      If you have a design, you will know what call things.

      Not necessarily. Quite often, you can have many name choices for the same conceptual object that can have serious implications for downstream code. For example, might the object someday be part of a larger model which might benefit from a different name to support naming parts of that model? Or is the name that you think is obvious something new for which nomenclature hasn't yet solidified? Or are you sure that the name is actually what the people who are maintaining the code are going to call it?

      And, please, refactoring folks. don't tell me it's easy to change names. I know it seems that way, but it's not always. Not only do you need to change the name of the object, but often those of many of the methods in your object and sometimes the contagion spreads to related objects. Then there's the issue of comments in the code. Or did you forget to change them?

      Yeah, I think putting naming at #1 is about right for the technical stuff. Hell, I once worked on a tool for a consulting company whose whole raison d'etre was to get an organization using the same vocabulary to reduce the amount of miscommunication in the organization. Of course, after that they often performed other heinous actions upon the corporate body, but I ramble... In any case, naming is hard.

      --
      That is all.
    6. Re:Two sides of the coin by QRDeNameland · · Score: 1

      "there are two hard things in computer science: cache invalidation, naming things, and off-by-one errors"

      I think you made a mistake...the should read "10 hard things"...

      --
      Momentarily, the need for the construction of new light will no longer exist.
    7. Re:Two sides of the coin by DCFusor · · Score: 1

      Agree, there's a lot of power in a (correct) name, especially in code. swim hammers it here. I ran a uP embedded dev firm, the hardest part was getting customers to understand feature 1 doesn't happen on day one, two on two and so on. If we had a month, 3 weeks of it were design, a couple days coding, a couple testing. Once they learned that was best, we were turning down work because we couldn't keep up with demand.

      --
      Why guess when you can know? Measure!
    8. Re:Two sides of the coin by jamiesan · · Score: 2

      Three! There are three hard things in computer science: cache invalidation, naming things, off-by-one errors and fanatical devotion to the pope....

      Nobody expects the Spanish Estimation!

    9. Re:Two sides of the coin by vettemph · · Score: 1

      There are only two software developement modes:
      1 Bugging
      2 Debugging

      --
      The government which is strong enough to protect you from everything is strong enough to take everything from you.
    10. Re:Two sides of the coin by John.Banister · · Score: 1

      Unfortunately, it seems that over time there's less of the former and more of the latter.

      If your employer knows that you're good at the task everyone hates, and willing to do it without a fuss....

  3. Estimation by scottnix · · Score: 5, Insightful

    By far the hardest part of my job as a professional software developer is estimating how long a feature will take to develop.

    1. Re:Estimation by networkzombie · · Score: 4, Interesting

      I use IT Time. Begin with your best estimate of how long the project will take and double it. Add two, and then double it again. That is how long it will take. I cannot remember what colleague I learned this from (an Assembly programmer I think), but is has been fairly accurate (for me) for almost 20 years.

    2. Re:Estimation by Cazov · · Score: 1

      my coworker increases the time increment (minute becomes hour, hour day, etc) and doubles the value.

    3. Re:Estimation by phantomfive · · Score: 4, Insightful

      Here is something that I read in Mythical Man Month that helped me:

      An estimate that is accurate will decrease over time, as some parts of the project will get done ahead of schedule.
      An estimate that is inaccurate will remain the same until just before the deadline, when the time needed will suddenly jump up.

      A lot of people make their estimates based on what will happen when everything goes right. If you make your estimate based on what will happen if everything goes wrong, then your estimates will be a lot better. And with practice, if you pay attention to how accurate your estimates were, then you will get improve.

      --
      "First they came for the slanderers and i said nothing."
    4. Re:Estimation by chuckinator · · Score: 4, Insightful

      I agree wholeheartedly because this is the most visible departure point for people that aren't programmers. They want to know when your application will work, bug free, according to spec, and even handle the corner cases that no one thought about in the design meetings. They don't care about how to iterate over a list of elements in a collection or sort through config files or transition through states, but they damn sure want it to work within a reasonable amount of time even if they don't know how they think it should work.

    5. Re:Estimation by Anonymous Coward · · Score: 5, Insightful

      By far the hardest part of my job as a professional software developer is estimating how long a feature will take to develop.

      More often than not, it's the pointy-haired-boss who tells me how long a task is going to take. And since they're the ones signing my paycheck, I tend to figure out how to get the task done in the time allotted. Unfortunately with time and complexity fixed, that makes quality the variable.

    6. Re:Estimation by travdaddy · · Score: 2

      By far the hardest part of my job as a professional software developer is estimating how long a feature will take to develop.

      How much time will that take to estimate?

      --
      Adidas To Bring Back Sneakernet
    7. Re:Estimation by bunratty · · Score: 5, Funny

      Why not quadruple and add four instead? Oh, right, you learned this from an assembly programmer.

      --
      What a fool believes, he sees, no wise man has the power to reason away.
    8. Re:Estimation by Inzkeeper · · Score: 1

      Estimating continues to be the bane of my existence.
      But the most lost I every was involved trying to estimate a full database data conversion process from an old non-rdbms system.
      "Oh but our data is clean", they said.
      I spent over a week just fixing / coding for bad date formats.
      I asked a senior guy for advice. He suggested something similar:

      Come up with a number. Multiple by an arbitrary single digit. Double it. Double it again.

      Eventually I learned not to fix bid data conversion. Ever.

    9. Re:Estimation by Anonymous Coward · · Score: 1

      Begin with your best estimate of how long the project will take and double it. Add two, and then double it again.

      you might also consider adding one and quadrupling it

    10. Re:Estimation by wavedeform · · Score: 4, Interesting

      But this violates Hofstadter's Law

    11. Re:Estimation by bill_mcgonigle · · Score: 4, Informative

      Why not quadruple and add four instead? Oh, right, you learned this from an assembly programmer.

      assembly programmers always shift, they don't multiply by powers of 2.

      shl ax, 2
      add ax, 4

      if memory serves...

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    12. Re:Estimation by laejoh · · Score: 2

      Real assembly programmers whould tell you to take your best estimate, shift to the left, add two, and then shift to the left again!

    13. Re:Estimation by Carewolf · · Score: 1

      Well, it is easy to make such estimates if you the development you are doing is boring and routine. The problem is if you are trying something new, and that doesn't just mean new in the world, but new to you or new to the business. Estimate how big unknown obstacles are..

      It is kind of like estimating how tall a mountain you have never heard of before is. With a bit of experience you might which mountain range it is part of and how tall mountains there usually are, but unless you already know the solution there is no good way of knowing the solution...

    14. Re:Estimation by invid · · Score: 1

      My rule is, honestly try to figure out how much time you think it will take to write the code--and then double it.

      --
      The Moore-Murphy Law: The number of things that will go wrong will double every 2 years.
    15. Re:Estimation by bre_dnd · · Score: 3, Informative
      inc ax

      shl ax,2

      would be slightly faster and use less memory :)

    16. Re:Estimation by Anonymous Coward · · Score: 1

      I use PI. I learned it from a project manager (and he was usually +/- 2-3 weeks. "how do you usually get your schedules right? I take everyone's estimates times PI". Not sure why but it works.

      Pi works because when he asks for the estimates he says "How long will this take, give me a round number".

    17. Re: Estimation by _0xd0ad · · Score: 1

      No, first you increment and then you shift left twice*. Increment is a unary operation, so you avoid an unnecessary operand.

    18. Re:Estimation by Nivag064 · · Score: 1

      The version I was given, about 40 years ago: was keep doubling the estimate until it appears unreasonable, and then double it again.

      Unfortunately, that is often too optimistic!

    19. Re:Estimation by disposable60 · · Score: 1

      Real assembly programmers hear shift-left when you say double.

      --
      You're looking for quotes? See my journal.
    20. Re:Estimation by kbahey · · Score: 1

      What is the unit for "add two"? Days, weeks, months?

    21. Re:Estimation by SQLGuru · · Score: 1

      Until management tells you that your estimates are too high and make you give them the best number anyway.

    22. Re:Estimation by Richy_T · · Score: 1

      He's not the chief engineer on a vessel designed "to boldly go" by any chance?

    23. Re: Estimation by Richy_T · · Score: 1

      +1. Uh, I mean INC A

    24. Re:Estimation by psithurism · · Score: 1

      I used a quite similar method that has worked great for letting me know how long I'll take rather accurately, but then you forgot the tail end of it:

      Once you get your accurate measurement, realize that neither management nor the rest of your team will tolerate that much time being taken, so first half the known time yourself. Give this number to management and the team, who will subtract a bit from your estimate and then assume you can work on your next task in parallel therefore halving your remaining time again. Then you realize that half your time is going to be taken up with meetings you forgot, therefore halving your available time once again. This estimate gets locked into the schedule and immediately afterward the scope is tripled.

      Now try and finish the project according to schedual, assuming that is x=1 day, while knowing it will take 2(3x*2*2+4)=32 working days (2 months once you factor in weekends, holidays, company events vacations and meetings about why you are so far behind). Then give up on estimating and improve your excuses.

    25. Re:Estimation by Richy_T · · Score: 1

      Though typically, you don't even expect the mountain to be there. Or it wasn't there last time you passed through the territory. This typically, but not always, occurs with Microsoft products. Last up was when what I had once done with xp_cmdshell in 5 minutes took two days before I gave up and went with a different method.

    26. Re:Estimation by evansly · · Score: 2

      I would usually give time estimates based on worst case scenarios, not cost just time. Then I would always be able to give the clients their projects slightly ahead of schedule. I had 1 client I fought and fought with because she started to catch on a little. I would say, I can have that finished by end of the week, being Monday. She'll come to me on Wednesday asking why the hell isn't it done yet!?

    27. Re:Estimation by pr0fessor · · Score: 1

      The Montgomery Scott work estimate calculator... I use it too.

    28. Re:Estimation by QRDeNameland · · Score: 1

      I'm assuming you meant that to be funny, but I've had to estimate time for an estimate on a number of occasions. Yes, it sounds recursive, but it's usually for cases where the research for the actual estimate is the the biggest part of the project, and once the research is done, the coding itself goes relatively quickly.

      --
      Momentarily, the need for the construction of new light will no longer exist.
    29. Re:Estimation by organgtool · · Score: 1

      My boss always lets me pick my own deadlines as long as they are reasonable. It gives me the ability to estimate how long it will take to deliver at the level of quality I am known for. It also allows me to improve on my ability to estimate project scope. However, since I choose the deadline, I have no excuses if I fail to deliver on that date. Extensions will be given as long as there's a good reason, I let him know early enough, and as long as he knows that I'm not slacking off. This autonomy has provided the best environment I have experienced so far.

    30. Re:Estimation by ArcadeMan · · Score: 2

      "Real assembly programmers hear shift-left when you say shift-left."

      I don't get it.

    31. Re:Estimation by bill_mcgonigle · · Score: 1

      excellent. :)

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    32. Re:Estimation by ArcadeMan · · Score: 1

      Real nerds use the "Scotty Principle".

    33. Re:Estimation by bigg_nate · · Score: 1

      Honest question: add two of what unit?

    34. Re:Estimation by radarskiy · · Score: 1

      " If you make your estimate based on what will happen if everything goes wrong, then your estimates will be a lot better. "

      No, your estimates will still be inaccurate, just in somewhat different ways.

    35. Re:Estimation by phantomfive · · Score: 1

      You clearly fail to understand the meaning of 'better.'

      --
      "First they came for the slanderers and i said nothing."
    36. Re:Estimation by phantomfive · · Score: 1
      --
      "First they came for the slanderers and i said nothing."
    37. Re:Estimation by phantomfive · · Score: 1

      Never accept responsibility for someone else's estimate. It will only cause you pain.

      --
      "First they came for the slanderers and i said nothing."
    38. Re:Estimation by fatphil · · Score: 1

      WTF? No need for 2 instruction decodes and pipeline slots:

      LEA EAX, [EAX*4 + 4]

      --
      Also FatPhil on SoylentNews, id 863
    39. Re:Estimation by Ginger+Unicorn · · Score: 1

      Add two what? Adding two drastically changes the estimate depending on what units you're working in.

      If I say a job will take 1 year, I double it to 2 years than add 2 years then double it, that's 8 years.

      If i say the same job will take exactly the same amount of time but express it as 365 days, double it to 730 days then add 2 days then double it again to 1464 days, that's 4 years and 2 days.

      --
      (1.21 gigawatts) / (88 miles per hour) = 30 757 874 newtons
    40. Re:Estimation by kmoser · · Score: 1

      By far the hardest part of my job as a professional software developer is estimating how long a feature will take to develop.

      Actually, I find this part fairly easy. I must be an anomaly because my estimates are usually far more accurate than those of most programmers. I also tend to get a very good idea up front of what the client wants, and what they mean when they ask for vague things like "reports" or "a control panel to let me change stuff".

    41. Re:Estimation by naoursla · · Score: 1

      That is easy. Break the task down into smaller tasks that you can estimate. If you can't estimate a broken down task, break it down more (think "3 hours"). Then add up all the bits.

    42. Re:Estimation by chuckinator · · Score: 1

      I concur with your observation, and I agree with your approach to dealing with estimation. Estimates are definitely used as a bargaining chip between engineering and management, and there's some tricks of the trade to help maintain honest and reasonable estimates without sandbagging (overestimating out of self interest) the numbers. It does take some tenure to pull off, so the guy that just got hired a few months ago is likely not going to have a lot of bargaining power. It also takes intellectual honesty, the ability to clearly communicate the breakdown of the tasks step by step, and a credibility that only comes from a history of being professionally honest.

  4. Estimates by Anonymous Coward · · Score: 1

    Estimates, and filling out my time sheet. The stuff I do doesn't fit into neat little categories that the PMs want (unless they're really vague).

    1. Re:Estimates by viperidaenz · · Score: 2

      Does "Posting on Slashdot" come under "Design" or "Development"?

    2. Re:Estimates by heathen_01 · · Score: 1

      Design of course.

    3. Re:Estimates by viperidaenz · · Score: 1

      I use the "eeny meeny miney mo" technique to decide.

  5. Programmer Troubles by girlintraining · · Score: 5, Insightful

    Easy: The hardest thing a programmer has to do is explain why what they're doing isn't a simple matter of programming.

    --
    #fuckbeta #iamslashdot #dicemustdie
    1. Re:Programmer Troubles by garcia · · Score: 4, Interesting

      I once had a non-technical manager and she told me what I did was simply "magic" to her and others and while she knew the results provided weren't as simple as it seemed to them, others in the organization felt it was.

      It's a very difficult concept for non-technical people to understand and part of the life of any developer to deal with. It's the same thing many developers feel about management and administration and we all need to share in the responsibility of not assuming it's easy and/or "magic".

    2. Re:Programmer Troubles by sconeu · · Score: 2

      At least she was aware that it wasn't as easy as it looked... you were ahead of the game.

      --
      General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
    3. Re:Programmer Troubles by dubbreak · · Score: 2

      Definitely. No matter where I've worked that has been an issue with someone at some level in the organization. "Oh that should be easy."

      That also goes hand in hand with estimation. With proper estimates non-technical people will often think you're sandbagging. "There's no way it can take that long!"

      I'm lucky with my current clients. They've been through a successful project and a few failed ones and have a much better grasp on how long it takes to develop reliable software and why it's best to get it as close to right the first time. This also means they are aware of the costs of developing and maintaining software.

      Some of my biggest frustrations were working in companies under people that had no clue about software. Not budgeting for maintenance (i.e. assuming once the software is released it is done, and it just makes money with 0 more input of money), dictating deadlines with 0 input from the staff that will actually be writing the software, trying to create a product based on a name and no requirements then pushing the blame on the failed project onto the developers that did anything and everything that was asked of them... heck, one company I used to work at (prior to going on my own) just fired their lead dev. Why? He had the audacity to imply a failed project was the fault of people higher up. Something along the lines of:

      "You can't put the blame on us. We wrote exactly what you asked for, changing directions every time you changed your mind on what the product was."
      "Well you should have pushed back if you thought this wasn't the right way to go!"
      "Here are emails showing I did.."
      "Well you didn't push back hard enough!"
      "You said the project goes on and I don't want to hear anymore about it. Here's the email!"
      "Obviously you don't understand how things work here. We're going to have to let you go."

      Classic case of the leader surrounding himself in people that will agree with everything he says. He only ever wants to hear, "Yes, that's an amazing idea boss, you are so smart."

      --
      "If you are going through hell, keep going." - Winston Churchill
    4. Re:Programmer Troubles by PRMan · · Score: 3, Funny

      Yeah. I had a boss that after watching Independence Day couldn't figure out why we couldn't just wirelessly connect to anything without any setup or passwords like they do on the movie. And when we told him it was impossible, he thought we were just being difficult. I hate that movie.

      --
      Peter predicted that you would "deliberately forget" creation 2000 years ago...
    5. Re:Programmer Troubles by kbahey · · Score: 1

      There used to be a product manager at a place I worked at, he used to say : "All developers do is move windows around on the screen". So this grew into a running joke at status update meetings "... and I moved some windows around ... and had a fix for X ...".

    6. Re:Programmer Troubles by psithurism · · Score: 3, Funny

      Yeah. I had a boss that after watching Independence Day couldn't figure out why we couldn't just wirelessly connect to anything without any setup or passwords like they do on the movie. And when we told him it was impossible, he thought we were just being difficult. I hate that movie.

      Oh, but it is very possible, but security doesn't permit it for one obvious reason: so our primitive enemies can't connect to our space age equipment and turn off whatever vital systems keep them from blowing up our space ships or other valuable infrastructure.

      But if he ignore the lessons that could have been learned from the villain's mistakes, then you can still use it to your advantage. Explain that what they did in the movie is commonly termed "infiltration and hacking," and if he wants me to fly into our rival competitor's headquarters and install viruses on their computers; well, that's not my specialty and is illegal, but I'm pretty sure I could do that faster and derive more excitement from it than converting the tabbed based interface we have to whatever interface paradigm was in vogue this morning that you'll change your mind about this afternoon.

  6. Documentation by gabereiser · · Score: 4, Funny

    Apparently where I work, it's documentation. It's so hard, we don't have any.

    1. Re:Documentation by Archangel+Michael · · Score: 4, Insightful

      Documentation isn't hard. It is time consuming.

      To document something well, you have to know it very well. Once you know a system that well, YOU often don't need the documentation, because it is in your head. Much of documentation isn't for yourself, it is for whomever follows you.

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
    2. Re:Documentation by Garridan · · Score: 2

      Documentation is a skill. If you think it's not hard, you're either ignorant to your own failings, or those downstream of you are very lucky. Lots of people try hard and spend a long time on documentation and still fail to make it good. It *is* hard for most people to think of the many ways documentation needs to be used, the many mindsets of its users, and balance those two into concise, readable documentation.

    3. Re:Documentation by ArsonSmith · · Score: 1

      I find it just the opposite. I document everything for my self. I know the next time I come to do something I will forget the intricate switches and options needed to get it to work the way I did last time. Of course the documentation is only completely readable by me. I keep it all in a wiki so others can view and modify it as needed and I can see what I wrote and how it was changed by others. It also helps to get things formatted in a normal way.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    4. Re:Documentation by lq_x_pl · · Score: 1

      If I had mod points, you would get them all!
      Quality documentation is difficult to write. Explaining things clearly and concisely in a way that folks uninvolved with the development can grok requires that the author forget all of their assumptions as they're explaining algorithms/functionality/use. It is useful to have someone interrogate you about your code while you're generating end-user documentation for it.

      --
      An internal system operation returned the error "The operation completed successfully.".
    5. Re:Documentation by Zmobie · · Score: 1

      Honeslty, a lot of the best documentation I have seen goes hand in hand with just having a good design. When the program is well designed most variable names, function names, objects, etc. are meaningful and if you adhere to good practices such as single use, limits on functions line size etc. The code explains a lot of itself. It does NOT eliminate the need for comments (at my company we use less of them, mostly they are to explain design decision or crazy areas of the code that are not intuitive or were hacked in because of a deadline) or general documents like design docs and functional specs.

      Comments and other documentation can be extremely useful and not too time consuming to create as long as they are done right.

    6. Re:Documentation by organgtool · · Score: 1

      You're also too busy to write the documentation because you're constantly putting out fires created by other developers who don't know any better because there's no documentation.

    7. Re:Documentation by swilver · · Score: 1

      I've been the one that "follows others" often enough. You know what? I never read the documentation beyond the rudimentary "how to get the environment set up". After that, I will look at the code and see what it actually does, not what it is documented or supposed to do.

      Nothing annoys me more than having a wise ass sitting next to me telling me to read the documentation "because that's how it is supposed to work"... especially when I get called in because it doesn't work as it is supposed to work.

    8. Re:Documentation by swillden · · Score: 1

      Apparently where I work, it's documentation. It's so hard, we don't have any.

      Where I work, we document everything, in exacting detail. We call this documentation "code".

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    9. Re:Documentation by swillden · · Score: 1

      In all seriousness, this is why I have become death on comments. I hate comments in code. If your code needs comments, fix the code until it doesn't need them. Because the code is never wrong, and the comments inevitably become wrong, if they're even ever right.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    10. Re:Documentation by fatphil · · Score: 1

      Absolutely. Comments are for amateurs who think that they can placate people with comments rather than good readable code. Alas some people can be so placated, but they're not the coders who actually have to deal with the code. (E.g. maintenance programmers.)

      Sure, comment things that aren't expressible as code. Such as *why* you're doing something. If you keep your functions sensible sizes, then a simple 1-line comment should be sufficient to explain what the whole thing does, and you don't need to go into *how* it does that - the how should be precisely described by the code itself, as you say.

      --
      Also FatPhil on SoylentNews, id 863
    11. Re:Documentation by swillden · · Score: 1

      Sure, comment things that aren't expressible as code. Such as *why* you're doing something. If you keep your functions sensible sizes, then a simple 1-line comment should be sufficient to explain what the whole thing does, and you don't need to go into *how* it does that - the how should be precisely described by the code itself, as you say.

      Ideally, you should be able to completely capture the "why" in the names. I agree that's not always possible, and there are often usage notes that need to be added at the level of a function, method or class. Information about thread-safety, description of the contract, etc. (though much of the latter can also be expressed as pre- and post-conditions). And I think there's a lot of value in class and method/function-level comments which can be automatically extracted to generate API documentation, like Javadoc or Doxygen -- but they also create a maintenance burden, so balance is important.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  7. Making users happy. by Anonymous Coward · · Score: 4, Insightful

    I build something exactly from their specifications.
    Someone wants something changed, I change it.
    Someone else wants something changed, I change that.
    Another person wants it back the way it started.

    The users are NEVER happy. It's maddening.

    1. Re:Making users happy. by Archangel+Michael · · Score: 1

      I call this "pick a lane".

      This is also a place where customizations settings can come from. If you design well, your design becomes more flexible, and users will start using things in ways that you couldn't imagine before starting the project.

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
    2. Re:Making users happy. by BullInChina · · Score: 1

      It is also possible that Joe Salesdroid recogonized a need and sold a product that had value for that customer. Now i agree he should have consulted with the dev team, but a sale that causes inconvience is far better than no sale at all.

    3. Re:Making users happy. by viperidaenz · · Score: 1

      Sounds like the moral of the story is to play golf.

    4. Re:Making users happy. by harperska · · Score: 1

      Most users don't want customization settings. They want it to just work the way they expect it to work. Putting in lots of fiddly options isn't design. It's punting on design.

    5. Re:Making users happy. by harperska · · Score: 4, Insightful

      The key to good design, on the other hand, is making it work in the way the user expects it to work, not in the way the user tells you they want it to work. More often than not, those two are quite different.

    6. Re:Making users happy. by AmaDaden · · Score: 1

      The problem you're having is that users don't know what they need, they just know they have problems and they are suggesting solutions for you to implement they think will solve them. The problem with that is they don't know what computers are good at so they make suggestions that sound good but are not likely to work well in practice. You need to take their requests and see what the real problem they are trying to solve is. Then point out the problems in their solution and suggest features that can solve the real problem for them. Just remember to be nice about it so they will learn to trust your judgement. Nobody wants to give in to the guy who loves to yell "I told you so"

    7. Re:Making users happy. by beowulfcluster · · Score: 1

      I was once asked to move a checkbox from the bottom to the top of a panel so that the user wouldn't have to tab through all the other textfields and things in the panel to get focus to the checkbox. I was then asked to change the focus traversal so that tabbing through the panel skipped the checkbox (yes, really) so they wouldn't have to tab past it every time they wanted focus on the first textfield. These requests came from the same user.

    8. Re:Making users happy. by Pfhorrest · · Score: 1

      There are actually a lot of unemployed lawyers. When the economy tanked in 2008-2009, a lot of high-level lawyers got laid off, which made it virtually impossible for fresh law school grads to get jobs in their field (because there's so many people with many years of experience ahead of them in the jobs line). In 2009 I was dating someone with a juris doctorate who worked a call center to pay the bills. Last I heard she'd managed to make her way up to some paralegal-esque office job, but still couldn't find real law work befitting her education. And apparently that's true of a lot of people in similar situations.

      --
      -Forrest Cameranesi, Geek of all Trades
      "I am Sam. Sam I am. I do not like trolls, flames, or spam."
    9. Re:Making users happy. by Kielistic · · Score: 1

      Yes. The way they expect it to work. Which is often quite different from how another will expect it to work.

      Good customization accommodates both with minimal effort to either.

    10. Re:Making users happy. by Archangel+Michael · · Score: 1

      My point exactly.

      It is like the difference between iOS and Android, especially keyboards. I can't stand the stock iOS keyboard. I sucks as far as I am concerned. With Android, if I don't like the keyboard, I can put a different one on. With iOS, not so much. One is a better design, because it has the capability of being more. Not every user cares, but those that do can change it.

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
    11. Re:Making users happy. by naoursla · · Score: 1

      Create milestones. Only change the spec like that between milestones and get buy-off on the design changes and impact to the schedule.

  8. Their laundry by Anonymous Coward · · Score: 3, Funny

    Their laundry

  9. Understand existing code by Anonymous Coward · · Score: 4, Insightful

    Trying to comprehend other peoples code is, without a doubt, the hardest thing for me. Naming? That would have never occurred to me as a 'problem.' If you can't come up with a proper name fairly easily maybe you didn't really know where you were going.

    1. Re:Understand existing code by erp_consultant · · Score: 1

      This has happened to me only twice in my career. I was brought in to fix code that someone else wrote. The documentation was somewhere between poor and non existent. In both cases I spend literally weeks poring over the code trying to figure out what the hell this person was trying to accomplish. In the end I was forced to confront the client and admit to them that I couldn't make heads or tails out of it. My recommendation to them was to scrap this spaghetti code and rewrite it in a form that was maintainable.

      Interestingly, in both cases, they chose to bring back the spaghetti coder and have him finish the work. I told them they were throwing good money after bad. Fell on deaf ears. I told them that by the time he was done they would have an even bigger mess on their hands. Not only that, this person would have them by the short hairs until the end of time because he is the only person on earth that could possible make any sense of the mess he created. Crickets. In the end I figured they were a perfect match for one another, wished him luck, and moved on.

    2. Re:Understand existing code by DanielOom · · Score: 1

      Understanding existing code is what a programmer on a team does much of the time. Sometimes the documentation is missing, or I am too lazy to go searching for it. The original programmer is usually not on hand. Comments in the code are rare, variables inepty named.

      Finding bugs in someone else's code is not easy. The real hard part is when you've found a bug and try to fix it, but have no clue as to what the original programmer intended it to achieve.

  10. PCLoad Letter? WTF does that mean? by binarylarry · · Score: 3

    Deal with clueless management.

    --
    Mod me down, my New Earth Global Warmingist friends!
    1. Re:PCLoad Letter? WTF does that mean? by tutufan · · Score: 1

      This might sound like a wisecrack, but it is in fact the answer. You can be a Michaelangelo of programming, but if your boss comes in and tells you that from now on everyone will be using six-letter variables names, programming in Visual Basic, and using nothing but Perforce for version control, the quality and power of your results will be so-limited. Some people imagine that a really good programmer can overcome any set of such constraints, but it's easy to see that that's not the case.

  11. Second to estimation by scottnix · · Score: 1

    A distant second to development time estimation is when I'm working for a place that requires class and or worse, pseudo code level design. I would almost always rather do a functional spec or similar higher level design then just start cranking out code, making changes as needed.

  12. Easy solution. by aardvarkjoe · · Score: 4, Funny

    I name all of my classes and variables "George." Problem solved.

    --

    How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?
    1. Re:Easy solution. by brainboyz · · Score: 1

      You must've gone to the same school my coworker did. He names everything "My".

    2. Re:Easy solution. by Anonymous Coward · · Score: 2, Funny

      And your namespace is "Jungle", right?

    3. Re:Easy solution. by Hatta · · Score: 3, Funny

      Ah, a perl user. my $my;

      --
      Give me Classic Slashdot or give me death!
    4. Re:Easy solution. by nschubach · · Score: 1

      He doesn't name it that way. He copy pastes it from a tutorial site...

      --
      Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
    5. Re:Easy solution. by TheSpoom · · Score: 1

      Go away, George.

      --
      It's better to vote for what you want and not get it than to vote for what you don't want and get it.
      - E. Debs
    6. Re:Easy solution. by Tablizer · · Score: 1

      I name all of my classes and variables "George."

      George indeed was quite variable. "This month let's invade X!"

    7. Re:Easy solution. by HyperQuantum · · Score: 1

      Oh, you work with Michael Widenius?

      --
      I am not really here right now.
  13. explaining to others what i do by kcmastrpc · · Score: 2

    i mine as well tell them that I raise unicorns.

    1. Re:explaining to others what i do by SJHillman · · Score: 4, Interesting

      I'm one of those guys who do a bit of sysadmin, a bit of desktop support, a bit of coding, etc. It got to the point where if someone not in IT asks what I do, I just tell them "I run the Internet". Sadly, most of them take it seriously.

    2. Re:explaining to others what i do by phantomfive · · Score: 1

      i mine as well tell them

      With that kind of sentence, it's no wonder you've been having troubles.

      --
      "First they came for the slanderers and i said nothing."
    3. Re:explaining to others what i do by CODiNE · · Score: 1

      There's a good I.T. Crowd episode about that.

      Consider putting a blinking light on a box and asking people if they'd like to hold it for a second.

      --
      Cwm, fjord-bank glyphs vext quiz
  14. I had to put down my 15 year-old dog. by kumanopuusan · · Score: 5, Funny

    That was hard. I loved that dog.

    --
    Use of the words "good", "bad" or "evil" is almost invariably the result of oversimplification.
    1. Re:I had to put down my 15 year-old dog. by jbeaupre · · Score: 1

      Next time use a Python script.

      --
      The world is made by those who show up for the job.
    2. Re:I had to put down my 15 year-old dog. by avandesande · · Score: 1

      It's so true. if you have some talent and experience programming is a piece of cake- you have the opportunity to solve tens or even hundreds of problems in a single day, it can be addictive. If only real life was that simple...

      --
      love is just extroverted narcissism
    3. Re:I had to put down my 15 year-old dog. by krray · · Score: 3, Interesting

      I'm not sure why you got flagged funny.
      Off-topic, sure, but FUNNY?

      I'm with you though. Had to do the same not too long ago. 15 years and 10 months my black lab made it to. Hardest day of my life was putting him down.

      And then shortly after... My uncle went ape-shit crazy. Killed his wife. And was shortly thereafter murdered himself by S.W.A.T. No joke.

      And there sat the dog. So I got on a plane and drove the dog home +2,000 miles.

      Probably the best dog I've ever had yet...

    4. Re:I had to put down my 15 year-old dog. by Dragon+Bait · · Score: 2

      That was hard. I loved that dog.

      I would have marked this as "insightful" versus funny.

      For me:

      1. -- Watching the love of my life marry someone else because I was too cowardly to ask her out in time.
        -- Explaining to my nephew that he'd never see his dad again.
        -- I still don't know what to say/do around my niece that was raped.
        -- I don't know if I'm proud of myself or self loathing for not having killed the rapist yet.

      Most of these fall into "communication with people"; one falls into "planning and plan execution."

  15. People by CnlPepper · · Score: 2

    Deal with people....

    1. Re:People by CnlPepper · · Score: 4, Insightful

      ...particularly physicists who think they can code.

    2. Re:People by EmagGeek · · Score: 1

      That's why you give the "dealing with people" job to Tom Smykowski.

    3. Re:People by dkf · · Score: 1

      ...particularly physicists who think they can code.

      The best way to deal with such people is to break their code before their eyes in a few minutes (and having seen what passes for code among physicists, you should be able to do that without breaking into a sweat). Then tell them that they've got to make it work again, and that they've got to ensure that it stays working for 5 years. While they do their own job as well.

      Good programming is not just about banging the code out, it is about making it so that the code is obviously correct and obviously strongly resistant to getting broken, all on a very restricted budget.

      --
      "Little does he know, but there is no 'I' in 'Idiot'!"
  16. Marketing, product managers by A+nonymous+Coward · · Score: 2

    It's the clueless marketing and product spec types who don't have a clue how computers work, don't have even the most superficial knowledge of how the current systems work, can't decipher what customers say they want, and write product specs which are so devoid of reality as to soak up more time straightening out than everything else combined.

  17. Say No by colonel+landers · · Score: 1

    I get more requests than I can physically accomplish. Usually requests come from higher ups or people that really need something to make their jobs easier. I'd like to help everyone, but keeping up is impossible.

  18. only two hard problems by Anonymous Coward · · Score: 2, Funny

    There are only two hard problems in Software Development. Naming things, cache invalidation, and off-by-one errors.

    1. Re:only two hard problems by nayrbn · · Score: 1

      Did anyone catch the off-by-one error in this post? Yes, the number of times this joke has been posted is now two.

    2. Re:only two hard problems by idontgno · · Score: 1

      No, just once now.

      Oh, wait, am I off by one?

      --
      Welcome to the Panopticon. Used to be a prison, now it's your home.
  19. Testing and Rollout by IronAmbassador · · Score: 1

    The hardest thing i do on a daily basis is testing my code properly so that it won't break any of the 100 or so applications that it interacts with, any of which may also have change and impacted how they interact with my application.

  20. Users... by cmeans · · Score: 3, Insightful

    And their ever changing specifications, indecisiveness, lack of comprehension of the time it takes to implement, then re-implement something, and their general reluctance to pay once it's done.

    1. Re:Users... by sandytaru · · Score: 3, Insightful

      Get a good analyst to do that junk for you. They exist. Make them deal with the users, get your requirements, translate them from User Speak over to proper Dev Speak, dig out the required database changes and grind out the new data, and let you code away merrily from there.

      I do that for my team, along with the functional documentation and the bulk of the testing. That frees up more time for our coders to, you know, write code.

      --
      Occasionally living proof of the Ballmer peak.
    2. Re:Users... by cmeans · · Score: 1

      We're a small shop...everyone wears many hats. They don't always fit, but we try to look fashionable :)

  21. Time Estimations by Anonymous Coward · · Score: 5, Insightful

    Here's a spec that is incomplete and will keep changing over the life of the project. Tell me how long this will take and remember that your preformance will be measured against how well you meet your estimates.

    1. Re:Time Estimations by phantomfive · · Score: 4, Interesting

      Increase your estimate to longer than it will take, even with changing requirements. Tell your boss, "this part of the spec is undefined, but in the worst case, it will take X days." When you find out a spec change will increase your estimate, tell your boss immediately.

      Estimation is definitely a skill, but it's one that can be developed.

      --
      "First they came for the slanderers and i said nothing."
    2. Re:Time Estimations by Stanza · · Score: 1

      Increase your estimate to longer than it will take, even with changing requirements. Tell your boss, "this part of the spec is undefined, but in the worst case, it will take X days." When you find out a spec change will increase your estimate, tell your boss immediately.

      Estimation is definitely a skill, but it's one that can be developed.

      Boss: We need to implement this.

      Me: Okay, but it will take at least a few additional days, and I'll need to look at it closer before I can confirm that estimate.

      Boss: But we can't give you additional time, we've already allocated the budget and the customer is expecting it on time!

      Me: Well the original spec doesn't have it and I'll just keep doing what I'm doing.

      Boss: But sales already told the customer that we already included that feature! Do it!

      Considering my experience, estimation skills are actually skills in lying in the original estimate to give yourself enough time when the inevitable spec changes occur. And without spec changes, that "double all estimates" is still good advice, but the one I do is bump it up to the next unit of time (think it will take a day? tell them a week. Think it will take a week? Tell them a month.).

      Also, bosses will come with ludicrous demands sometimes. The engineers at a previous place I worked at commonly told the bosses "don't schedule more than one miracle per project". The message we were trying to convey was yes, sometimes we can pull off miracles, but that's not something to rely on.

    3. Re:Time Estimations by sjames · · Score: 1

      Then the customer goes to another developer who tells them two weeks instead of a year. Sure, two years later, bozo the developer isn't even half way done, but that's no consolation since he got paid and you got nothing.

    4. Re:Time Estimations by Zmobie · · Score: 1

      I find time estimations to be by far the most difficult thing. Especially when sales promises the customer the damn sky and says we will have delivered by Monday... Our sales guys even readily acknowledge now they often give unreasonable timelines to the customer and the developers bail their asses out.

    5. Re:Time Estimations by phantomfive · · Score: 1

      That's not a time estimation, that's a salesguy trying to manipulate you. You never need to take responsibility for someone else's estimate.

      --
      "First they came for the slanderers and i said nothing."
    6. Re:Time Estimations by phantomfive · · Score: 1

      Don't commit to other people's promises. If your boss promised to get something done in an unreasonable amount of time, that's his problem not yours.

      --
      "First they came for the slanderers and i said nothing."
  22. Re:Maths by Jeremiah+Cornelius · · Score: 5, Insightful

    What is the hardest thing "coders" have to do? Based on the evidence that I have seen, over more than 20 years?

    Comment their code

    Either that, or produce relevant, well-defined logging.

    The other hard things they have to do are usually related to have a project to complex or ill-defined for producing a clear outcome. This is usually not the coder's doing, but a downstream problem derived from insufficient architecture role/guidance and probably a weak project management function.

    --
    "Flyin' in just a sweet place,
    Never been known to fail..."
  23. following a changing spec list by bugnuts · · Score: 4, Informative

    The most annoying and maddening thing I've ever had to do was follow a changing spec list from a manager who thought it was some iterative process, instead of giving me an actual complete task description to work on.

    Even though it was his nickel, it sucked the enjoyment out of that job.

    1. Re:following a changing spec list by careysb · · Score: 1

      +1. My last place was so ridiculous in this regard that I decided to take early retirement.

    2. Re:following a changing spec list by DCFusor · · Score: 1

      So, you weren't doing your job - anticipating the changes and writing general code that is easily adapted to change. You wanted to be a robot, your boss wanted human judgement.

      --
      Why guess when you can know? Measure!
    3. Re:following a changing spec list by swillden · · Score: 1

      The most annoying and maddening thing I've ever had to do was follow a changing spec list from a manager who thought it was some iterative process, instead of giving me an actual complete task description to work on.

      The solution to that is to accept that the spec is a snapshot in time of an iterative and ultimately unknown and unknowable document. In fact, that is the essence of the Agile methodology. Agile isn't appropriate for everything, but your case was exactly what it's for.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    4. Re:following a changing spec list by hh10k · · Score: 1

      What, you believe in the waterfall development model? An iterative process is the only way to go.

      Developing software is not like building a skyscraper. You can very easily turn your design upside down at any time, and you're going to miss opportunities for better features if you blindly follow some original plan. Of course it can come at the cost of time, but it's the manager's job to make these business decisions.

    5. Re:following a changing spec list by bugnuts · · Score: 1

      Basically, it was an exercise of him trying to solve a problem by throwing me at a dartboard, instead of letting me find the solution that I was hired to do. It was not an agile programming environment, it was a PHB not knowing when to get out of the way.

  24. The hardest thing is not posting snarky comments by paramour · · Score: 2

    to /. about inane flash-based articles when I should be working.

  25. Deployment logistics by curunir · · Score: 2

    The hardest thing for me is that there are so many different environments and the code needs to work in all of them. There's integrated dev, qa, staging, end-to-end testing and production and each of them are subtly different. When deploying code, the logistics around how to get it to the right place at the right time in a working state can be really hard. A simple Google search for branching strategies will show that there's numerous ideas on the best way to shepherd a team through the code freeze, regression, deploy and MR phases.

    Things get even more complex in an elastic environment where you have to autoscale. A simple call to a database can then require service discovery, master election and a whole host of other technologies/techniques that adapt to the fluid conditions of an elastic environment.

    So from a code perspective, you always have to built abstract interfaces to non-specific infrastructure. A simple file loading turns into loading a URI that loads via the proper strategy (file://, s3:// or even something custom that reads from a db). A caching layer may be distributed in production and a simple in-memory hash in development, so that has to be abstracted too. Making sure your db queries are performant can also be difficult when your local database is nowhere near the scale that exists in production.

    We've had some limited success using vagrant/chef for development environments to make them more similar to the downstream environments (i.e. developers actually run multiple VMs with individual functions as we have in our prod environment), but there's a limit to how much you can run on an individual machine.

    Naming is the easy...just get a thesaurus and understand that it's important. Though it does remind me of one of my favorite quotes about software development (credit to whoever said it originally...I'm too lazy to look it up):

    Half of programming is naming; half is figuring out responsibility boundaries; and half is rewriting because you named your god-object wrong

    --
    "Don't blame me, I voted for Kodos!"
  26. Designing things by sigmabody · · Score: 1

    I agree with the list, generally-speaking.

    I would expand on the designing things point: it's not just matching requirements with implementation, but also designing something which will still work 10 years and 20+ design and technology iterations from now. It's designing something to anticipate future changes, and code in flexibility where appropriate. It's making something which doesn't just perform the function, but doesn't have subtle flaws which will cause very hard to diagnose issues down the road. It's building code which will still be maintainable, even after various future iterations. The ability to design code properly is what differentiates between a "normal" developer, and and extraordinary one.

    IMHO, anyway.

    1. Re:Designing things by darkwing_bmf · · Score: 1

      The key thing I've found that helps with all of those things (though certainly not completely) is taking the extra time to drive a requirement/design/implementation down to it's essential elements and separating the high level logic from the low level implementation details. Reducing complexity today while still meeting the design goals will pay dividends down the road.

  27. Fight with Sales by darrellg1 · · Score: 2

    They promise things that can't be accomplished. Ugh.

  28. GPU Programming is a PITA by dryriver · · Score: 2

    I'm still trying to find a way to use the GPU for computations without having to jump through crazy hoops to do it. Also, multithreading in general is often a PITA to get right...

    --
    Why did the chicken cross the road? Because Elon Musk put an AI chip in its head.
    1. Re:GPU Programming is a PITA by mghiggins · · Score: 1

      I'm still trying to find a way to use the GPU for computations without having to jump through crazy hoops to do it. Also, multithreading in general is often a PITA to get right...

      This.

      It still seems like it's really hard to write maintainable, extendable code that does parallel execution in anything more than a trivial way (break up a calc into independent pieces with no interaction).

      Does anyone know if there's been any interesting work on new language paradigms for this sort of thing? It feels like the community is waiting for some kind of change in semantics that'd make this easier for the bulk of developers who aren't parallel execution gurus. Like object oriented coding was for the ability to scale code by developing intelligible interfaces: not something you couldn't do with earlier paradigms, but it made it easier.

      --
      All opinions expressed herein are not my own; I haven't had free will since last year when aliens ate my brain.
    2. Re:GPU Programming is a PITA by PRMan · · Score: 1

      I don't find this to be the case at all in modern OSes. Run a program you wrote in C#. Can you at any time get the 4 CPUs in Task Manager to be farther than 5% away from each other? Unless you are doing some crazy complex calculations (video, audio, compression, etc.) it's nearly impossible. I find that most people who whine about the lack of parallel execution don't actually need it.

      --
      Peter predicted that you would "deliberately forget" creation 2000 years ago...
  29. Naming Conventions by sfm · · Score: 1

    I often find myself in conflict:

    Short, easy to type, but possibly ambiguous names
        -or-
    Clear detailed names in 26+ characters

    The choice depends on the audience I believe will be reading, and if I am having a good/bad day

    1. Re:Naming Conventions by viperidaenz · · Score: 1

      ctrl+space is your friend.

    2. Re:Naming Conventions by Zmobie · · Score: 1

      Good IDE with autocomplete typing gives pretty close to the best of both worlds. Only one time do you have to type out the long name and after that it is just autocomplete everything. I lean towards long names partially because of this and on large codebases this becomes necessary to help facilitate proper documentation.

  30. Preventing feature overflow by EmperorOfCanada · · Score: 1

    Preventing a steady rain of feature requests that vastly exceed the development capacity. Often these features will take longer in programming time than the time they will save.

    Another hard one is to use an older programming technology when you have been using a far newer one for some time.

  31. Working on boring projects by CQDX · · Score: 3, Insightful

    Most of the other issues don't bother me if the project is really cool. Plus with my productivity ramped up management tends to stay out my way. OTH, with boring project, everything on the list is 10x more painful. Unfortunately, for the typical programmer, their entire life is spent working on the former.

  32. Re:Solving real world problems by SJHillman · · Score: 4, Interesting

    Coders have probably spent far more time helping wars, real and simulated, than solving them.

  33. Unit Testing by BlueMonk · · Score: 1

    Testing is often the hardest part of writing any feature or fix because often times it takes a relatively long time to set up an environment and a test scenario. It's also particularly difficult to narrow down a problem to its source when integrating with software for which no source code is available and support is sketchy. I've seen problems in Microsoft and SAP software that take a long time to work out and sometimes leave me SOL.

  34. Getting requirements that conflict. by darkwing_bmf · · Score: 5, Insightful

    The hardest part is when the person asking you to implement something new doesn't think through the implications of what they're asking for. Sure it looks great on powerpoint for one specific use case, but rarely are all of the relevant factors are taken into account.

    1. Re:Getting requirements that conflict. by viperidaenz · · Score: 1

      What about when the army of BA's have given you a full set of requirements then they change one use case half way through development, so the others conflict... and the snow ball starts rolling down the hill.

    2. Re:Getting requirements that conflict. by Xyrus · · Score: 1

      Well that goes hand in hand with what I think is the hardest: being able to think like a complete fucking idiot. I'm convinced that if I could think like the most idiotic end users/managers/marketers of my software, I would be able to create near invincible code that would work exactly as they want, ahead of time and under budget. :)

      --
      ~X~
  35. Looking at this from the wrong direction by roc97007 · · Score: 1

    Math? Math is fun. Naming things? Very entertaining. Designing a complicated algorithm? It's what I live for.

    Had you asked me twenty years ago what was the hardest thing about programming, I'd say, interfacing with non-technical management, for a variety of reasons.

    As me today, and I'd say offshore infrastructure admin. Doing my job is fun. Somehow convincing someone else with few communication skills and little training to do their job so I can do mine, that's probably the hardest part today.

    Not the answer you may be looking for, but the difficulty of the problem at hand is generally under your control. A balky environment managed by an undertrained call center is not. That's where the real pain originates.

    --
    Oliver's law of assumed responsibility: If you're seen fixing it, you will be blamed for breaking it.
  36. WTFM. by jzu · · Score: 1

    Nothing is harder.

  37. Work with bad programmers by Anonymous Coward · · Score: 2, Insightful

    Nothing pains me more than seeing bad programmers make up fake problems they then "solve" with unnecessary complexity, no thought into the pattern applied (if applied at all) and using the loudness of numbers to silence a good idea.

    1. Re:Work with bad programmers by PRMan · · Score: 1

      And even worse is when the 3000 line dozen file version is deemed to be correct because it implements some pattern. Yeah, testability (for the test cases you didn't write) and "being correct" are much better than readability or simplicity.

      --
      Peter predicted that you would "deliberately forget" creation 2000 years ago...
  38. Communicate effectively by thatDBA · · Score: 2

    Communicate effectively with less intelligent people

    1. Re:Communicate effectively by PRMan · · Score: 1

      And when they assume that because communicating is easy for them, that "you're so smart" it should be easy for you and if you miscommunicate (meaning they are too stupid/lazy to understand basic concepts), it's because you are being devious and uncooperative.

      --
      Peter predicted that you would "deliberately forget" creation 2000 years ago...
  39. Re:Maths by Pino+Grigio · · Score: 1

    That's one of them. The other is getting everyone to agree on what to do and how to do it.

  40. Where did it go? by SuperKendall · · Score: 1

    Nowhere on the list did I see cache invalidation. What gives?

    I guess it's the third item on the list at work, only the other way.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  41. Dealing with reality... by jasno · · Score: 3, Insightful

    The hardest thing, consistently over the years, is to bridge the gap between the ideal and the practical. We've all faced problems that could be so easily solved if we could just rearchitect the code or omit a few requirements. Situations that would be so simple if only they were so simple. Crafting a beautiful algorithm and then being told that you have to add an exception here, or a special case there. I generally prefer driver-level programming because it tends to involve the lowest number of hacks and special cases(if you're laughing at this, you're probably a firmware guy that hasn't written an application or middleware in a while).

    Working on a commercial product that has limited logging ability and trying to reproduce and diagnose errors in the field is pretty high up on my list of hard things to do. Unfortunately it is nearly all I do nowadays.

    Working on unglamorous code or writing documentation is hard, but mainly because it's hard to stay focused.

    --

    http://www.masturbateforpeace.com/
    1. Re:Dealing with reality... by phantomfive · · Score: 1

      The hardest thing, consistently over the years, is to bridge the gap between the ideal and the practical. We've all faced problems that could be so easily solved if we could just rearchitect the code or omit a few requirements. Situations that would be so simple if only they were so simple. Crafting a beautiful algorithm and then being told that you have to add an exception here, or a special case there. I generally prefer driver-level programming because it tends to involve the lowest number of hacks and special cases(if you're laughing at this, you're probably a firmware guy that hasn't written an application or middleware in a while).

      The art and challenge of Software Engineering is making an elegant design that matches all the constraints.

      --
      "First they came for the slanderers and i said nothing."
    2. Re:Dealing with reality... by jasno · · Score: 1

      ...and that handles the constraints when they change, because they will change.

      Maybe the marketing guy changed his mind. Maybe your #1 customer has a special case they need you to accomodate. Maybe the latest TV on the market improperly implemented HDMI and now you've got to accomodate that.

      --

      http://www.masturbateforpeace.com/
  42. 2 hard things in comp science by Aviancer · · Score: 2

    This was eloquently described by Phil Karlton, and extended by Martin Fowler:

    There are only 2 hard things in computer science: Cache invalidation, the naming of things, and off-by-one errors.

    http://martinfowler.com/bliki/TwoHardThings.html

    1. Re:2 hard things in comp science by El_Muerte_TDS · · Score: 1

      And that's the 4th time this joke was posted.

  43. The hardest thing? by DJCouchyCouch · · Score: 1

    Getting up in the morning.

  44. Hardest thing a programmer has to do is ... by vivek7006 · · Score: 1

    Find a mate and procreate

    1. Re:Hardest thing a programmer has to do is ... by viperidaenz · · Score: 1

      That's the easy part. It's the child support payments that come 9 months after she sobers up that's the hard part.

  45. Naming? Yes, but not so much. by jthill · · Score: 1

    Hardest: understanding the actual requirements, fairly often the first part of that is distinguishing clients' (management, other departments, customers, whatever) proposed resolutions to situations they as a rule neglect to describe from the actual situations and the resulting problems that need solving.

    Next hardest: naming is the easily-describable part of it, a prerequisite but not the purpose. What it boils down to is making it worthwhile to read the code, to follow the "if you can't teach it, you don't understand it" rule and not waste people's time.

    After that, the stuff you can learn by ordinary study.

    --
    As always, all IMO. Insert "I think" everywhere grammatically possible.
  46. Project Managers by foistboinder · · Score: 2

    What Are the Hardest Things Programmers Have To Do?

    Dealing with incompetent project managers.

    1. Re:Project Managers by cerberusss · · Score: 1

      Dealing with incompetent project managers.

      Goddamnit Foist, why haven't you finished your Sprint today? And why didn't you fill in your timesheet? I expect I can find you in the office this Saturday.

      --
      8 of 13 people found this answer helpful. Did you?
    2. Re:Project Managers by roeguard · · Score: 1

      In my experience, you only need one person in that team to be competent -- a decent project manager can plan for an incompetent coder, and an good coder can direct an incompetent project manager.

      The real problem is if both are incompetent. And since competency varies from project to project, even within the same person...

  47. That is easy by cjjjer · · Score: 1

    Getting the proper requirements from people.

  48. In order of difficulty ... by PPH · · Score: 1

    1. Enumeration.
    ......

    Wait. Strike that. Make it:

    0. Enumeration.

    --
    Have gnu, will travel.
    1. Re:In order of difficulty ... by pigiron · · Score: 1

      Everyone knows programmers don't know how to count!

    2. Re:In order of difficulty ... by pigiron · · Score: 1

      the offset of the first item is zero bytes from the base address.

      Correct! JUMP immediately to...

  49. Hardest thing a programer has to do... by umask077 · · Score: 1

    Please a Marketing department.

    --
    --- Always remember. 99.36% of all statistics are inaccurate.
  50. Re:Electrical Engineers by mc6809e · · Score: 1

    Even worse is the expectation that the firmware can magically tweaked to make a poor design suddenly work as intended.

  51. Focus. by whatthef*ck · · Score: 1

    And not waste time on Slashdot all day.

  52. Are you kidding? by wilder_card · · Score: 1

    The technical stuff is all doable. Politics, management, etc. -- those are hard. Best part of the job is getting that stuff out of the way and designing/coding.

  53. Testing, testing, testing by JazzHarper · · Score: 3, Insightful

    I would rather write documentation all day long than write tests. Developing a good test suite is hard. (Putting together a crappy set of tests is easy, but of no value). As much as I hate developing a test suite, though, I love having it when it's time to make a release.

  54. working with management by loufoque · · Score: 1

    The hardest part of being a Software Engineer is making management understand how valuable you are and making them assign to you interesting work.

  55. Debugging?? by Tough+Love · · Score: 4, Insightful

    Because debugging did not even make the list, I must assume that the author is only an armchair programmer, or only writes toy programs. And why is "choosing names" rated harder than "designing"? This opinion could only come from someone who is often required to choose names, but never to design.

    --
    When all you have is a hammer, every problem starts to look like a thumb.
    1. Re:Debugging?? by Krokus · · Score: 1

      While there are clear-cut steps to diagnosing and fixing bugs, the hard ones are the interrupt- or thread-related bugs that only happen when you are running the release version and that magically hide whenever you make a debug build or try to add code to log information. You're pretty much left with just intuition at that point.

    2. Re:Debugging?? by phantomfive · · Score: 1

      Modern programmers don't debug their code, because after all, bugs are no big deal.

      That might see strange, but most bugs can be covered up by restarting every time something goes wrong. Which is what most web servers do, they restart on every single request.

      --
      "First they came for the slanderers and i said nothing."
    3. Re:Debugging?? by Requiem18th · · Score: 1

      No longer is this writen by an armchair programmer, it was written ofr a shitty site that can't layout a list without using 21 trackers. Damned slideshow won't load until every single webbug has been enabled. I'd rather not bother with it.

      --
      But... the future refused to change.
  56. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  57. Hardest thing by sugar+and+acid · · Score: 3, Insightful

    From my experience, the hardest thing for a programmer that because code may look weird or ugly is NOT a reason by itself to change it. The only reason to change it is if it is buggy, or does not meet the current requirements.

    But some programmers just can't help themselves, dig in with both hands rip the guts out end up breaking everything because they have failed to understand why it was written in that weird ugly way. On the other hands I'm glad they are programmers and not surgeons:)

    1. Re:Hardest thing by DdJ · · Score: 1

      From my experience, the hardest thing for a programmer that because code may look weird or ugly is NOT a reason by itself to change it. The only reason to change it is if it is buggy, or does not meet the current requirements.

      I don't really agree 100%.

      Often, code looking weird or ugly is a hint that the code is less easy to maintain than it might be. Changing code so that it's more easy to maintain can be a very big win in the long run.

      If it's going to be weird or ugly, and there's a good reason for that, document it.

    2. Re:Hardest thing by Krokus · · Score: 1

      I agree. On large projects, my priorities lead me to write something that works first and then optimise it later if necessary. When there are other people on the project, some of them just can't help but rewrite this function or that function because they were bored and thought of a better way to implement it. This can happen regardless of where the project stands in relation to the shipping date. It's made even worse when some junior programmer does it and fails to actually tell anyone about their changes.

    3. Re:Hardest thing by sugar+and+acid · · Score: 1

      It is usually well documented! Well it was before it was "fixed". Just some programmers have this real aesthetic hang-up, and specific pet "hates" in styles of programming. They make terrible maintainers of code, and also are quite inefficient in that context as they tend to reinvent the wheel for no good reason.

      Also sorry for the first sentence in my original post. Wrote that on a phone on the train home.

    4. Re:Hardest thing by swillden · · Score: 1

      Depends on what the changes are. Simple refactoring that doesn't change how the code works but makes it clean and readable is well worth doing.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  58. Depends on the kind of programmer. by DdJ · · Score: 2

    For me, I think the hardest part is often "figuring out what to build in the first place". Sometimes that starts from a product idea. Sometimes it starts from an imperfect requirements document. (I have never seen a perfect requirements document.) Going from that to "what do I build?" is the hardest part.

    If you are the sort of programmer who works on big projects and is handed a clear and unambiguous spec... then sorry, I have absolutely no idea what your hardest problem might be.

  59. Its nothing to do with programming! by polyp2000 · · Score: 1

    I think i speak for many, the hardest thing about my job is the expectation that i will work late or overtime without extra pay or work over family holidays such as christmas and the like.

    --
    Electronic Music Made Using Linux http://soundcloud.com/polyp
    1. Re:Its nothing to do with programming! by PRMan · · Score: 1

      That's why I don't do it and I am very upfront about this in interviews ("no regular overtime"). At my current job, when it got out of control, I just told the boss that I was looking elsewhere because of it. He immediately moved me to a project with no overtime and now I work 40 hours every week.

      --
      Peter predicted that you would "deliberately forget" creation 2000 years ago...
  60. non-technical issues by mspring · · Score: 2

    Dealing with established cultures working with outdated technologies and trying to drive change.

  61. Re:Solving real world problems by viperidaenz · · Score: 1

    I suppose its better if 100,000 people from each side ran at other with swords until one side is dead?

  62. Re:Copy paste the list please by nitehawk214 · · Score: 3, Insightful

    Could someone copy/paste the list from that site? I don't feel up to solving exactly what combination of allowing Javascript to run from 15 different domains is required to get the slideshow to work...

    The 10th hardest thing: Make their shitty javascript heavy site work.

    --
    I'm a good cook. I'm a fantastic eater. - Steven Brust
  63. Lots of things. My list: by coder111 · · Score: 1
    • Keeping things simple
    • Time estimates
    • Dealing with changing and unclear requirements
    • Dealing with clueless management- especially getting enough time/resources to do things right
    • Legacy systems- especially when management doesn't want to invest into cleaning them up and fix long existing problems.
    • Bad design- especially when due to political reasons you cannot change bad design, or you don't have enough time/resources to do it.

    These things are not hard as in O(e^N) hard, and you won't learn about them in your CS class. But you have to deal with them every day in real world

    1. Re:Lots of things. My list: by Anonymous Coward · · Score: 1

      Odd, my list would be something like this:

      1. Go outside
      2. Log out of WoW
      3. Talk to a girl
    2. Re:Lots of things. My list: by cowdung · · Score: 2

      My List:

      1. Estimates
      2. Legacy code / huge uncommented code
      3. Designing the features correctly
      4. Over/under designing the code
      5. Estimates

  64. Re:Solving real world problems by oneandoneis2 · · Score: 2

    Well, "not going to war" could be considered an excellent solution to conflict

    --
    So.. it has come to this
  65. Spending 6-8 weeks developing systems by WillAffleckUW · · Score: 1

    The hardest part is spending 6 to 8 weeks developing systems that someone decided were urgent and good to go, only to have them say "burn all the documentation we're redoing this from scratch".

    When the issues were ones I pointed out were going to be there before this whole thing started.

    After a while though, my Army days come back, and I remember nobody's shooting at me, so it's all good.

    --
    -- Tigger warning: This post may contain tiggers! --
  66. Easy enough to refactor/rename these days by barlevg · · Score: 1

    I agree that this used to be a big problem for me. Then I got a job outside of academia, and they made me learn to use an IDE (oh how I miss the days of doing everything in gedit and command-line gcc...), so now renaming a variable (and getting all its references) is a matter of one right-click. What this means is that if I can't figure out what to name something, I can just name it "blah," "stuff" or "temp" and then refactor when the inspiration strikes.

  67. Re:Maths by ArhcAngel · · Score: 2

    What is the hardest thing "coders" have to do? Based on the evidence that I have seen, over more than 20 years?

    Comment their code

    Either that, or produce relevant, well-defined logging.

    The other hard things they have to do are usually related to have a project to complex or ill-defined for producing a clear outcome. This is usually not the coder's doing, but a downstream problem derived from insufficient architecture role/guidance and probably a weak project management function.

    It's hard to develop a strategy when your boss comes running in screaming "The sky is falling" because your biggest competitor just released a new version that adds feature X and you are now tasked with implementing feature X into your product by tomorrow and it has to be on all the install media that has already shipped as well.

    --
    "A person is smart. People are dumb, panicky dangerous animals and you know it." - K
  68. Talk to girls. by capitalj · · Score: 1

    Having a conversation with a female is the most difficult thing your average programmer will ever have to do.

  69. Re:Using the new TPS reports by CQDX · · Score: 1

    That's because you're doing it wrong. Didn't you get the memo?

  70. Reading the list by quietwalker · · Score: 1

    ... was the hardest thing for me today. Is there any reason that Ghostery finds 16 various advertising and tracking widgets to block that apparently are required for the page to load? Also, why would you put a list of 16 items in a slideshow? Just to buck up advertising revenue for multiple page views?

    I'll just guess what's on the list, and say it's 80% right, but that the hardest thing altogether for me is getting decent requirements from end users. Right after that it's explaining why is not only not Agile, but often not helpful by itself.

    Last, and this is an ever present distraction for me, is to explain to some folks the definition of "priority" and why the phrase becomes meaningless once you have two or more #1 priorities for an individual.

    (Btw, I did find a 'deslider' site, for example, this article can be 'deslided' here: http://deslide.clusterfake.net/?o=html_table&u=http%3A%2F%2Fwww.itworld.com%2Fslideshow%2F124383%2Farg-9-hardest-things-programmers-have-do-378834 )

  71. focusing on work by Nadaka · · Score: 1

    Hence this post.

  72. Read Slashdot by ddfire · · Score: 1

    And answer this silly questions! also understand the client needs and make them look like what he wants....

  73. Wondering why the hell anyone uses Quora by Tridus · · Score: 1

    So click that link, and it wants me to sign in to view answers? With my Facebook account? Holy shit, Experts Exchange came back from the dead! (And if you happen to do it on mobile, they'll also nag you to install their app.)

    It's like someone took Stack Overflow and decided to add 100% more crap.

    --
    -- "So they told me that using the download page to download something was not something they anticipated." - Bill Gates
  74. User Manuals by ZeroSerenity · · Score: 1

    I'm a developer and I would put this up as the hardest thing I have to do. Since I know the guts of why and how something works, I tend to have a really hard time writing particularly helpful User Manuals to other people. There is no group within us that spends time writing manuals (so I have to do my own) and it does require me throwing the manual at somebody somewhat unsuspecting and hoping it makes sense to them.

    --
    For those who seek perfection there can be no rest on this side of the grave.
    1. Re:User Manuals by PRMan · · Score: 1

      I never understand why companies want developers to write documentation when a good tech writer could do it better at 2/3 the salary.

      --
      Peter predicted that you would "deliberately forget" creation 2000 years ago...
  75. Re:Maths by man_of_mr_e · · Score: 5, Interesting

    The hardest thing programmers have to do is think like non-programmers. Or maybe even think like someone other than them.

    None of these things are rocket science. Some of them are computer science, but that's kind of the point.

    Programmers are typically forced to develop software to demanding schedules which leave no room for the things in the list. They CAN do those things, they are just never given the time to do them.

    Yes, many programmers won't do them even if given the time, or will goof off if given the time until they have to write crap code to meet the deadline, but that's a different story. Or maybe not.

    The hardest thing a programmer has to do is Think like someone else, Not goof off when you think you can get away with it, and to push back to have the time to do the things that are necessary to write AND MAINTAIN good code.

    Of course, circumstances vary. The difference between a startup succeeding and failing may in fact require being first to market with crap code. But at some point, you have to pay back the technical debt you build up.

    Ok, so lets add that to the list as well.

    Oh, and making end users understand the impact of their crazy changes.

  76. Re:Solving real world problems by xevioso · · Score: 1

    So is "calculating how to increase the damage your weapons will cause so that when you bomb people trying to throw acid in the faces of little girls going to school or cutting off the noses of women who make complaints about rape, they will decide to stop fighting or die."

  77. Re:Solving real world problems by OhSoLaMeow · · Score: 3, Funny

    I suppose its better if 100,000 people from each side ran at other with swords until one side is dead?

    “You mean, you'll put down your rock and I'll put down my sword and we'll try and kill each other like civilized people?”

    --
    They can take my LifeAlert pendant when they pry it from my cold dead fingers.
  78. Re:Data Structures and Algorithms by Musc · · Score: 1

    That's the easy and fun part.
    If you find that to be the hardest part, then what do you consider the fun part?

    Compared to figuring out a design, everything else is tedious and boring. Things like debugging, documentation, and testing are hard because they are boring.

    --
    Hamsters are at least as feathery as penguins. HamLix
  79. You mine by tepples · · Score: 1

    What's more real: the Bitcoins that you mine or the unicorns that you claim to raise?

  80. Re:Wake up and get out of bed... by Musc · · Score: 1

    If programming is a piece of cake, you need to find something more challenging to program.
    Bragging that your programming job is easy is like bragging that you aced remedial pre-algebra.

    --
    Hamsters are at least as feathery as penguins. HamLix
  81. Re:Staying Focused,Docs,Race Bugs,Clients by detain · · Score: 1

    ^^ oops didnt mean to post as AC.

    --
    http://interserver.net/
  82. Communicating with people by Tomster · · Score: 1

    People are the best part of my job...and the worst. Technical challenges can be a real PITA but they don't even come close to comparing to the difficulty of people challenges. And of those challenges, communicating clearly with people is perhaps the most difficult part of my job on a daily basis. (The second is dealing with "problem people", who have some kind of personality issue that makes them difficult to work with.)

    How many times have you heard someone start a sentence with "I thought what you meant was..." or "I thought you knew..." or something similar. Or said the same yourself. Communication is hard, and if you think otherwise you probably don't realize how many assumptions are being made on both sides when you talk to people.

    The other hardest thing is getting a story (requirement) to "done done". Writing unit tests and getting them to pass is easy. The hard part is making sure I update the design document, project wiki, and deployment doc; that I check the license agreement for the library/framework I just downloaded; that I don't have SQL injection problems; that I've added system tests; .... Of course having a checklist helps.

  83. No one answer by Tony+Isaac · · Score: 1

    It all depends on the specific programmer. Some are good a design, some are good at coding, some are good at testing, some are good at debugging, and so on. Rarely is a single person good at everything. Everyone has they own unique strengths and weaknesses.

  84. Nobody by Anonymous Coward · · Score: 1

    expects the Spanish inquisition

  85. cybernetics by globaljustin · · Score: 2

    it makes me happy to see this:

    If you have a design, you will know what call things.
    If you have names for everything, you will be able to build a design from there.

    words are our tools...well alpha/numberic symbols arranged in groups to form instructions for a machine to execute

    typing a word is the same as 'naming' the thing you are creating when you type...ha! this certainly gets us into a Mobius Strip of language after awhile

    as I've learned programming, I've found that 2nd Order Cybernetics concepts to be incredibly helpful

    you start with the 'Social Construction of Reality' which has become a convention almost like the Big Bang more than a theory from any one scientist...it is broadly accepted across the Social Sciences

    essentially, they idea is: humans communicate meaning and construct our individual brain's concept of the 'universe' based on language

    to see what I mean, now dig in to some Cybernetics theory to see how theorists define 'cybernetics'...Norbert Weiner is my favorite

    notice the parallels the author draws between controlled and autonomous systems in machines and in nature on the definitions table on page 1

    I believe we can push computing languages further by applying these concepts to coding, precisely because they are founded upon and grounded in the truth that you hit upon when you say this:

    9. Designing a solution
    1. Naming things

    are pretty much two sides of the same coin

    if we *start* there and continue with a 'cybernetic' approach programming becomes more inviting to noobs, new languages are easier to learn for experience programmers, skills transfer across any system or domain in programming better, and coding starts to resemble network topology

    I'm not doing the best job explaining things, cybernetics is a tough concept to just bat around in conversation...but if this interests you have a look at the paper I linked above...the first thing they do is discuss what cybernetics is and why it is useful

    its kind of my mission to push computing towards a more cyberntic model and away from a Turing model

    --
    Thank you Dave Raggett
  86. The four biggest issues by allo · · Score: 1

    1) Naming things
    2) Cache invalidation
    3) off by one errors

  87. Re:Maths by Reverand+Dave · · Score: 1

    Holy shit. This exactly.

    --
    I got here through a series of tubes
  88. Hungarian Notation Considered Harmful by pigiron · · Score: 1

    I simply don't use it unless absolutely necessary because some fool did in a linked runtime library library; but only then to identify it as foreign cruft.

    Fuck Charles Simonyi. Anyone who does use it is a shit-for-brains M$ droid. And I ALWAYS use integer variables i,j,k,and l for loop counters in the traditional Fortran way.

  89. Naming difficulty is a symptom by juancn · · Score: 1
    Naming things is hard, because to give something a good, meaningful name, you must understand the thing you're naming deeply.

    Maybe that's where the notion of a true name comes from.

    Whenever I find myself having trouble naming a class or a method/function, it's typically a sign that something in my understanding of the problem (or the framing of the solution) is wrong. And I need to revisit the thought process that took me there. Usually, once I do so, names fall in place without much friction.

  90. Re:should be on the list by pigiron · · Score: 1

    Anyone who is a software developer should ALWAYS have admin privileges be an administrator on their desktop development machine and also on any server development machine.

    I make this very clear to any prospective employer. If that criterion is not met I simply refuse to work there.

    Sysadmins should be strictly shown their proper place below developers in the hierarchy of any shop.

  91. Re:Maths by gander666 · · Score: 1

    To be fair, it usually comes as pressure from sales.

    --
    Suppose you were an idiot and suppose you were a member of Congress ... but I repeat myself. - Mark T
  92. Re:Maths by TheRealMindChild · · Score: 1

    I know I have long time between commits because I'm sure as hell not committing anything that doesn't even compile. Also, when I am in the middle of writing code for bullet point X and it is not done to the point that it will page fault with a null pointer exception (as an example), I'm not committing that either. I certainly don't look forward to the verbal shit storm that inevitably follows when I would commit such code and someone tries to actually use it. You get a commit when I have finished exactly one task.

    --

    "When life gives you lemons, don't make lemonade. Make life take the lemons back!" -- Cave Johnson
  93. What's "hard"? by pseudorand · · Score: 1

    First off, let's define "hard". You could mean
    a) absolutely hard: it takes lots of effort to make this work at all
    b) hard to do well: it takes lots of effort to do this well even though I can do this somewhat acceptably with minimal effort
    c) time consuming: this takes a lot of f-ing time, and it's unclear that the effort justifies the benefit

    a) seems like the most appropriate definition, but judging by the list they seem to mean either b or c.

    9. Designing a solution :
        b. I can make you some working software based on your off-the-cuff requirements pretty easily. Anticipating what you really meant, what you will ask for next, and writing code that can be easily leveraged to do those things would be 'a'.

    8. Writing tests
        c. For small projects, automated testing way more time than it's worth. For large projects writing tests is the only way to make it work at all. Of course, all those medium sized projects and those projects that start small but may become large are a challenge. And weather or not the software lends itself and the programming team knows how to use a testing suites make a difference.

    7. Writing documentation
      c. No one /ever/ reads documentation because we all learn the hard way that it's perpetually out of date. The UI and API /are/ the documentation. If, by "writing documentation" you mean "designing a good UI/API" that makes it obvious to the user what's going on, then this becomes 'a'.

    6. Implementing functionality you disagree with
      WTF - If you're getting paid, do what you're told. If not, tell 'em to do it themselves. This is only "hard" in any sense if you're a pedantic a-hole. Oh, wait. This is /., so I guess that's all of us.

    5. Working with someone else’s code
        b - But if they instead had "writing code that isn't a PITA for others to work with", then it's an 'a'.

    4. Dealing with other people
        That's only because: http://www.dilbert.com/2013-10-10/
        But I guess if we spent any time developing our social skills, we wouldn't have had time to learn how to program.

    3. Estimating time to complete tasks
        Okay, this one really is 'a'. On the other hand, you just shouldn't do this. Instead, you need to get good at getting customers/users on board with iterative development where they wait/pay a bit and get some incremental functionality as you work towards some end goal that neither of you can really predict up front.

    2. Explaining what I do (or don’t do)
        See #3.

    1. Naming things
        See #5. Naming things is easy. And my names make perfect sense to me.

    Also, queue the penis jokes based on my use of the word "hard" in the subject.

  94. Reality by RabidReindeer · · Score: 1

    The deadliest words ever spoken in IT: "All You Have To Do Is..."

    It's compounded by the fact that they're not only spoken by clueless users and pointy-haired bosses, but by the software people themselves. Who should have learned better at some point.

    One of the most perverse things I've discovered over the years is the parts of the project that incur the bulk of the time, pain, and suffering aren't the arcane complex gnarly things. They're almost always easier and less trouble than expected. But entire days can be lost on something as simple as a misplaced comma.

  95. Hardest part? by elgholm · · Score: 1

    People.

  96. Language/cultural barriers by ebh · · Score: 2

    I'm surprised nobody's mentioned this. I work on a project that's spread across eight countries. The lingua franca is English, which makes me one of the lucky ones as a native English speaker. As you might guess, it's a pretty big project, so things like push-button refactoring aren't any use when someone misspells a variable name, or inadvertently names something after a swear word or a racial slur. (Or, more to the point, did so in acquired code that's now 12 years old and really shouldn't be touched if it's been working fine, and there's no staff for cosmetic changes anyway.)

    People have talked about commenting and documentation. It's that much worse when someone's writing in their third language, or they write in their native language and you hope you can translate it well enough to get what they're really trying to say.

    And then you've got all the cultural issues surrounding hierarchy, face and the loss thereof, egos, power, seniority, communication formats, and all that.

    I'd love to have the luxury of being the lone cowboy, even if the PHBs were constantly jerking me around about what I'm supposed to be doing.

  97. Re:Solving real world problems by CBravo · · Score: 1

    Yet your logic does not work very wel and is therefore falsified. Find a new theorem. Politician.

    --
    nosig today
  98. Re:Maths by Jeremiah+Cornelius · · Score: 1

    To be fair, it usually comes as pressure from sales.

    Who don't understand the value of the software to a customer, and can only line up checkboxes next to price tags.

    --
    "Flyin' in just a sweet place,
    Never been known to fail..."
  99. Bugs by michaelmalak · · Score: 1

    If I had to deal with fleshy bugs, I would think programming were especially hard too.

    Also, missing from the list: managing multiple projects. The "one interruption costs 20 minutes" is BS. Brief interruptions have little effect. The problem is the weeks-long "interruption" to work on a temporary emergency priority, and then afterward going back to the first project having to rebuild all the mental structures in your mind. Compounding the problem is that during the mental rebuild process, interruptions do hamper it during that time. Interruptions are like wind. The stronger and more established the mental structures, the more resilient they are against the wind. Even though mental rebuilds are a fragile time, still the fragility is overestimated and so it becomes the fear of interruption (interruptions are more painful than destructive) that leads to procrastination and delay -- worse than the interruptions themselves.

    And that's not getting into the multiple project issue of dealing with multiple bosses in a non-linear org chart. I suppose that might fall under the overly broad "4. Dealing with other people."

  100. Scope Creep and Scope Creeps by manlygeek · · Score: 1

    I've been a programmer/aka software engineer/aka web developer/aka IT Director for 39 years and the hardest thing that programmers have to deal with are changing expectations which manifest themselves in scope creep and scope creeps (i.e. users who don't really know what they want or need but they need it like yesterday). I think Agile techniques have helped to channel this quite a bit but that requires the right corporate culture to be successful. The truth is that computational tools are still "magic boxes" to users and it's a rare project manager/agile team that can bridge the gap between the effort required in implementation and the user's perception of what they really need.

    --
    Be More, Be Manly, The Manly Geek Ubergeek Extraordinaire Blogger: www.manlygeek.com/blog Podcaster: podcast.man
  101. I disagree slightly on the documentation by s7uar7 · · Score: 3, Insightful

    Don't document what your code does, I can (usually) tell that from reading it. Document why it does what it does.

  102. Clearcase. by Dastardly · · Score: 1

    End of message.

    1. Re:Clearcase. by mendax · · Score: 1

      Heh... I agree with you there. I'm learning how to use it now...or how not to use it.

      --
      It's really quite a simple choice: Life, Death, or Los Angeles.
  103. Re:Maths by ArhcAngel · · Score: 1

    It's hardly a myth to me as it has happened more than once.

    --
    "A person is smart. People are dumb, panicky dangerous animals and you know it." - K
  104. Interact With Non-Coders by turgid · · Score: 1

    Constantly educate them how much work something will be every time they request a new feature. Sometimes they are surprised at how easy things can be done and vice versa.

    Explain that the software hasn't changed, so it's not likely to be a software problem.

    No, writing a new device driver will not fix a broken input device sending thousands of spurious signals per second and no I will not write one 10 minutes before the device is due to be put on a van to be sent to the customer.

    No, it's not "just typing." It has to be designed, implemented and tested. Just because it compiles I will not ship it to the customer.

    Use Windows for real work. It's broken. Things that take minutes on a real OS take days or weeks on Windows, and 50% of that is getting fighting with license servers, virus checkers, broken user permissions and missing packages.

    Using SAP for configuration control. It's broken by design. Why does it take weeks to do anything with SAP? Why does it go out to lunch for several minutes when you type a value in a box? Why does it randomly forget things you've entered? Why is the UI so crazy?

    Fight with documentation in PowerPoint, Excel and Word formats. We have cross-platform tools and open documents for that sort of thing. Why should I have to go hunting on the Windows network for a file in a proprietary format to tell me what versions of things go into a package? Why isn't it in a plain text file in git or on a wiki?

    No, I will not fix your broken Windows. Stop it. Buy a real computer and learn to use it.

    No, it doesn't run on Windows. Life's too short.

    Fight with libraries written in C++ and build scripts written in DOS batch files. Seriously, get with the 1990s.

    Visual Basic, C# and .NET applications for configuring kit which can only be developed on WIndows and run under Windows. Oh, what do you mean that version of the development platform and evironment isn't supported any more? Do we have a license for it? Oh, it doesn't run? The environment, the platform or the app? Oh all of them? How much for a new license? Oh you can't get one any more? Right.

  105. Starting a new job by mendax · · Score: 3, Interesting

    Hands down, the most difficult thing I've had to do is start a new job. New technologies, new software, new people, new environment, new policies, I'm two weeks into a new job and the anxiety is driving me bonkers. It's more stressful than the worst deadline crunch I've ever experienced... and here there is no deadline here!

    --
    It's really quite a simple choice: Life, Death, or Los Angeles.
  106. Re:Maths by Jeremiah+Cornelius · · Score: 1

    Why sales for tech needs to be technical. Why sales for tech need to be subject matter expert for customer domain.

    Why good technology experiences by customer organizations are rarer than princess farts.

    --
    "Flyin' in just a sweet place,
    Never been known to fail..."
  107. Re:Maths by fisted · · Score: 1

    How is that related to commenting one's code?
    Protip: It's not.

  108. Corporate douchebags by jbrandv · · Score: 1

    The hardest thing is keeping myself from choking the living shit out of some corporate manager who desparately needs it due to changing the requirements every other day or so.

  109. Been there, seen that. by gr8_phk · · Score: 2

    I name all of my classes and variables "George." Problem solved.

    We were coding with Simulink (diagram based thing). When things get complex you take a group of blocks and group them into a subsystem so you get a hierarchy of block diagrams. Each subsystem displays a name under the box, and everyone tries to give each block a name. People choose names of varying quality, but we had one guy leave the default name on every block "subsystem". To avoid name collisions it adds a counter as a suffix. I expanded the tree-view on the left side of the screen once and was able to fill it top to bottom with "subsystem2" "subsystem3" nested 5 levels deep. There is no way to navigate the code except by looking at the diagrams, but those consist of basic blocks (mostly math operators) and bigger boxes named subsystem. Fortunately some of the signals are labeled.

    And of course the guy quit right after delivering this piece of shit to production.

  110. Re:Maths by aaronb1138 · · Score: 1

    If you can't deal with a boss who comes in screaming, "The sky is falling," the fault lies entirely on you. First, this is part of the common lack of social skills and big picture prioritization that plagues most programmers. Handling the boss is something everyone has to do, and the rest of us that work hard, have to deal with a dumb scrap of a boss, and still get our work done competently are tired of hearing that whine. Second, if you can't manage your reactions to your boss to produce good work, you need to find an easier place to work.

    Everybody has an occaisional entire day/week/month destroyed by the dumb whims of sales, the boss, or that one retarded customer. Guess what, their product still ships and works.

  111. Dealing with non programmers by erp_consultant · · Score: 1

    In my experience the most difficult thing to do is to deal with people that have no idea about programming. Many of these so called "business users" are constantly changing their minds. The functional design documents (the documents that describe what the business need is for the program you are being asked to write) are almost universally incomplete. As I read through them I am forced to go back for clarification. The missing details are often critical to the programming approach taken so they must be resolved, otherwise I will have to rewrite sections later on.

    I used to think these business people were just stupid. Now I think they are just lazy. They don't do the necessary research and just kick the can down the road to the developer. Unfortunately, these people are often in charge so it becomes a fact of life.

  112. There are no perfect requirements documents by gr8_phk · · Score: 1

    Nobody has requirements. What they have is problems, and it's the engineers job to build something that solves those problems. They may be able to offer some requirements or offer an idea what they want it to look like. The only way they have complete knowledge of what they want is when they already have it - when it's complete. It drives me insane when people put together a development process that shows requirements being complete at the start, or they show the "V" model of development and forget that a big circular arrow goes in the middle showing iteration (this is never accounted for in the schedule because it can't be).

    If you expect complete requirements you don't fully understand your job.

  113. Making the User happy by sahuxley · · Score: 1

    For me, the hardest thing has been making users actually like and enjoy using your code. There is a lot of psychological science that goes into a program's usability, and my computer science degree didn't touch that topic.

  114. Re:Maths by DexterIsADog · · Score: 1

    I love how you jumped to other roles to blame on programmers' failures.

    Having held most roles in IT and operations, I think the hardest thing for programmers is relating to other human beings. They really suck at that.

  115. Re:Maths by Jeremiah+Cornelius · · Score: 1

    I think you misconstrue my observations and my tentative conclusions.

    --
    "Flyin' in just a sweet place,
    Never been known to fail..."
  116. Hardest part is forced to ruin your code by Anonymous Coward · · Score: 1

    NO the hardest thing to do is watch non-techy business TWATS overrule you on naming things, misapply standards and turn a perfectly good piece of code into something you're ashamed to have your name attached to. But hey they own the business so it's their decision. What other fucking industry do we do this in? You don't let the patient decide which surgical cut or stitch to use in a heart operation. You don't let someone who wants to build a home decide actually you to tell an architect or builder "actually we didn't want that fucking foundation, let's just leave it out".

  117. Code commenting. by SensitiveMale · · Score: 1

    followed by documentation

  118. non standard answer by schlachter · · Score: 2

    one of the hardest things i do is sit in front of a computer most of the day.
    would prefer to be more out and about

    --
    My God can beat up your God. Just kidding...don't take offense. I know there's no God.
    1. Re:non standard answer by fatphil · · Score: 1

      I just had a 6 month software engineering job, where, in simple terms, I didn't write a single line of code. Or design anything. Or review anything. Or test anything. Good money, but I just ran away as it was clearly a waste of my life, which is the single most limited resource I posess.

      Oh - got an interesting challenge for a programmer? Contact me, I'm mobile...

      --
      Also FatPhil on SoylentNews, id 863
  119. Managing Expectations by Tablizer · · Score: 1

    Some hard things seem easy to outsiders, and some easy things seem hard. When reality doesn't match up to preconceived notions, then tensions can often build and trust ruined. Us geeks often are not well adapted to deal with the potential frictions caused by the interaction of people with technology.

    For example, some add-on feature requests are quite easy to write mostly independently and just "tack on" to the existing code set. Other "add-ons" require changing fundamental architecture, making them time-consuming and risky. End users and managers don't know which is which, and so judge it based on superficial estimations.

    Even many semi-tech-savvy managers don't realize that you may have designed it different from how they would do it such that a particular change is a royal PITA, but they think you are fibbing, and seemingly don't have the time to listen to a fuller explanation.

  120. Re:Maths by gmclapp · · Score: 1

    Commit != comment.

    --
    Common Sense (+1)
  121. Changing someone elses code by bhspencer · · Score: 1

    Not only do you have to understand the problem in hand, you have to understand how the prior programmer understood the problem.

  122. Easy by ArcadeMan · · Score: 1

    Taking showers.

  123. Re:Maths by mrchaotica · · Score: 2

    All right, but apart from thinking like others, not goofing off, pushing back on the schedule, and paying the technical debt, what have the Romans ever done for us?

    (Wait, what were we talking about again?)

    --

    "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

  124. Well, let's see... by VortexCortex · · Score: 1

    "What are the hardest things programmers have to do?"

    Find some scrap of motivation to will our insufficiently caffeinated carcases back into the code monkey meat grinder.
    That and giving a damn about documenting a single arg function that's literally 10 lines long (binary). Soul sucking imbecilic totalitarianist managerial scum.

    I take it all back; The hardest thing is not becoming a felon.

  125. Re:Maths by gutnor · · Score: 1

    Yeah, well. I work on the sort of application that require lot of customisation on top of a core product. Our sales generally "wow" the client and get them to sign by showing the UI. One of the first client customisation though, is hooking to their system so that they don't have to use our UI.

    In some cases, it is all about checkboxes. With large companies you sell your software to one strategic group but that's a totally separate operational group that get to use the software.

    So sure those companies should go under for such inefficiencies, but apparently they post billion dollar profit every quarter and received government bailouts the one year they failed.

  126. Delivery to production by abies · · Score: 1

    I know that not all programmers have to worry about that - some stop at some test environment and it is later client's problem to do actual implementation in final environment. But some programmers are working in companies where stuff is created and delivered for in-house needs - and what I have found the hardest in entire equation is to actually deliver the final result. Sometimes, there are so many dependencies, rules, noise introduced by other systems etc that it is really really hard to do the last step and to deliver the actual, tested solution to destination. Preparing the deployment scripts, overviewing that all db dumps were done at correct time in case rollback is needed, guiding hand of some poor chap from offshore location who sees your application first time in his life but has to do installation because you are not allowed to touch production machines - these things often take more effort and sweat than the coding.

  127. Re:Maths by Requiem18th · · Score: 1

    That other people have shitty Bosses doesn't mean he can't complain about his you miserably twat.

    --
    But... the future refused to change.
  128. Two hardest things in my job by CapOblivious2010 · · Score: 1

    1) Resist urge to kill coworkers
    2) Wait for slow-ass software on slow-ass hardware connected by slow-ass networks to slow-ass databases

  129. OS Vendor by fyngyrz · · Score: 5, Interesting

    The most difficult thing *always* turns out to be programming to some API that the manufacturer says does X, but either really does Y, or simply crashes -- and then finding out that they're not going to fix it, except or unless in some later version of the OS, thereby doing all the current, stable customers out of whatever it was I was trying to accomplish. I mostly program for OSX these days, so my examples are all Apple-centric.

    1) I was writing a POS application for a Chinese restaurant owned by friends. I had an old mini core 2 running 10.6.8 I wasn't using, and I wanted to make the app around this unit. So I spent a couple of days writing it, using UTF-8 for the Chinese parts, and everything was going swimmingly. I ordered some receipt printers (one for the counter, one for the kitchen to print orders, and one for the to-go/delivery table.) English? No problem. Everything worked. Put characters -- I mean actual Chinese -- in the file to be printed via CUPS, and the print process would crash. The problem? CPU-specific bug in a CUPS filter (Apple owns CUPS now.) They have no intention of fixing it in 10.6.8. They told me, "Upgrade the mini to Lion." So I ordered Lion on a stick and stuffed it in there, and the Lion installer informed me "CPU not supported. Core 2 duo or above required." So the fix is in, but I can't run the fix. So I ended up buying a new mini. Yeah, that "fixed" it. At a cost of $600. Thanks a whole f'ing lot, Apple.

    2) Qt 4.x: Full of bugs. Fixes? Sure. In 5.x. But 5.x is full of new problems. I'll spare you the details, other than to point out that if they'd just bloody fix the stuff they claimed as working in the first place, rather than constantly surf forward and expect you to follow them, I'd a darn sight happier.

    I feel that if the manufacturer says "here's an OS, and here are the features it offers you (API list, UI operations, etc.), then they are obligated (because I have invested time and/or money based on what they claimed) to make it happen. I accept that first out the door, there may be things that are not working right. What I don't accept as "ok" is this attitude that it's ok to leave it that way. You get a straight up bug report you can verify (print high UTF-8 characters crashes your printer filters) by Ada, you should fix the thing YESTERDAY. It's more important than your new OS, because it's about the reliability and honor and ethics of what you do. You don't fix it -- Apple -- and you go from respected vendor to the opposite (both lose respect and that much less likely to vend anything to me.)

    Same thing goes for apps. You sell a paint program that is supposed to draw rects and circles, but won't draw circles, you bloody well need to FIX it so it DOES, and make sure that fix is available to every poor bastard who bought your paint program WITHOUT requiring them to change anything else.

    It's NOT acceptable to say "You must upgrade to the next OS" or "That's fixed in the latest version, but that only runs on a 4 core CPU so you're screwed" When you say stuff like that, some people, somewhere, are getting red faced, ramping up blood pressure, and contemplating ways to deliver a clutch of rabid wolverines to your development team in a box marked "live strippers, schedule party immediately."

    Related to that, I've learned to stay well clear of other people's frameworks and libraries. If I wrote it, I can almost certainly fix it. There's nothing more disheartening than writing in about a bug and hearing back that it's been upon some list, while your stuff remains broken, etc. Might as well have written it yourself anyway. Assuming you have time, of course.

    Everybody's in such a damn rush to move forward, they're unwilling to see to it that current efforts are made to represent fine craftsmanship instead of a harried dash to ship at any cost in reliability and honor.

    I've got a lot of older software because my reaction to "you gotta upgrade to get that fix" is "you're not getting more of my money until what you sold me in the first place works as you told me it would." I can't always stick to that rule, but I assure you, I try.

    --
    I've fallen off your lawn, and I can't get up.
    1. Re: OS Vendor by GigaplexNZ · · Score: 1

      Amen. I'm in the same boat although on Microsoft platforms. The number of times I've filed a ticket only to have it closed as "won't fix", even for newer versions of Windows or Visual Studio... I cry myself to sleep at night

    2. Re: OS Vendor by fyngyrz · · Score: 1

      I'm not talking about backwards compatibility. Read again, then, if you like, respond to what I actually SAID.

      --
      I've fallen off your lawn, and I can't get up.
  130. Re:Solving real world problems by swillden · · Score: 1

    Or, as happens in the real world, they focus on training all of the new recruits your bombs motivated, so they can send 10X as many terrorists out to fight you.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  131. Idiot management by non-e-moose · · Score: 1

    In no particular order - dealing with management not interested in product quality - dealing with management who is biased towards their local site over product quality (Tel Aviv is full of ass-hats in this regard) - dealing with management that interprets "Agile" as being 30-45 minute "standups" every day that are nothing more than "I worked on Bug X today" rehashes. - dealing with management wherein the people hired by a particular manager are automatically given more credibility than people who are forcibly transferred in. Yes, I refer to AMD from direct experience.

  132. score balancing by Joe_Dragon · · Score: 1

    score balancing in games can be hard to get right to make fair so people can just do the same move over and move to build score with small risk.

  133. Interface to poorly documented hardware by CO_gun_toter · · Score: 1

    'nuff said

  134. Deal with bullying managers by Beliskner · · Score: 1

    Deal with bullying managers that impose tight immovable deadlines in front of senior management, and then when I tell them to reset the client's expectation and blue sky renegotiate the entire contract with the client because the deadline is unachievable in front of senior management they get upset and then start bullying you and physically attacking you and I walked into a Police station and the Police officers refused to take my official report of a harassment incident. I wouldn't get any witnesses anyway because they were junior management and everyone's scared of their careers - they all have families to feed. That was in my old company, now in my new company my predecessor's predecessor had a breakdown and tried to commit suicide, but these get covered up by corporate management.

    --
    A caveman dreams of being us, the incalculable power and riches. We dream of being Q, then what?
  135. Re:Maths by dkf · · Score: 1

    Either that, or produce relevant, well-defined logging.

    You get much better at that if you develop complex multi-process server applications where there's no chance of attaching a debugger.

    --
    "Little does he know, but there is no 'I' in 'Idiot'!"
  136. Estimates, balance, juggling by mnemotronic · · Score: 1

    (excuse funky format. Slashdot fnorks up my Android kbd) For me... #1 is accurate time estimates. I can usually guess the time to write the code. What I fail to take into account is time for emails, meetings, documentation and training. New rule is best estimate +40%. #2 work/life balance. Putting in more than the basic 40/wk for any company is stoopid. The company *does* care if i work myself to death on their behalf -- it saves them the effort of RIFfing me. #3 juggling, aka task switching. all the studies indicate this is a time sink for jobs requiring concentration. I'm poster child (ok, poster geez) for multitasking deficiency syndrome.

    --
    The Russians have won. They have made the world a cesspool of distrust, greed, fear and hate.
  137. hardest thing web readers do by doom · · Score: 1

    Is dealing with articles split up into 11 pages to try to sleaze more "pageviews" out of you. Presuming you bother to read them at all.

  138. people by Mirar · · Score: 1

    The hardest part of a programmers job is working with people that
    1) don't understand programming
    but
    2) forces the programmers to work a certain way that doesn't fit the mindset or workflow of programmers and/or programming

    with
    1b) think they understand programming
    as a worst case.

    Or wasn't that was what meant?

  139. Re:Maths by RoboJ1M · · Score: 1

    1) Maintain consistency with your peers when writing the same software together.
    2) Communicating with peers
    3) Not making assumptions
    4) Not telling me about ad-hoc design/schema changes
    5) Estimates
    6) Consistency in quality assurance procedures

    However it appears that with oversight, training and having the work delegated into manageable quanta, all these problems go away.
    A lot of it was caused by the heroic one programmer/one product/no design or requirements model.
    Or "FAD": http://thedailywtf.com/Articles/FrontAhead-Design.aspx :)

    If I had to choose one word as What's Hardest and Most Important?

    "Consistency"

  140. My list by naoursla · · Score: 1

    1. Figuring out the right problem to solve. Or the best problem (which problem will have the most impact when solved).
    2. Explaining why something took longer than I expected it to.
    3. Estimating the time to fix some random bug before I understand the bug.
    4. Explaining why the work I've done over the past year is more important/difficult/better than the work done by a co-worker over the past year.
    5. Balancing staying focused on task versus expanding the breadth of my knowledge about the system I'm working on (I naturally bias towards the former).
    6. Understanding the forest when I spend all day looking at individual trees (related to 5).
    7. Knowing when to ask a co-worker a question to get past an obstacle in five minutes versus spending an hour figuring it out on my own.

    Most of the things the article describe sound like the easy parts.

    Most of my challenges seem to revolve around communication.