34 points · by mathewgj · 17y ago · 29 comments
Unfortunately this is not always true. I have seen two really good developers loosing theirs jobs recently. If you are paid too well, then you are in the x-ross if layoffs come.
While your manager might appreciate your skills, some hire management just views you as a cost, and really Don"T realise that some people are better in order of magnitudes.
When that spreadsheet comes, it is ordered by salary, and the top people are the first to be scrutinized, even though they good performers, and worth the money, they might get the axe.
Unfair, but this is how it is.
If a company starts laying off then you want to get out of there while there's still the cash to pay a decent severance package, because the writing's on the wall.
I ended up with a large bonus and a shiny new job with a higher pay. So I ended up on top :). Its skill and mainly lots of luck. So polish your luck skills! How? I duno but damnit you need to do it!
In any case, to upper management you are a number, to the people who know you, if you are good then your value is known, but to upper management you are a title and a salary. Unless the CEO knows you by name management does not know about how great you are, what you did, and how much they are going to miss you.
Unfortunately not all companies have you, your manager, his manager, and the CEO. At some point its you, your manager, his manager, his manager's manager, (go 4 more levels up), CEO. And after his manager's manager nobody will know you, about you, or anything good/bad you did.
This is especially true when you have a team of ALL excellent developers (I was fortunate) and they have to lay a few off.
Anyway, I think most of the list is good advice in general, even if you aren't planning on getting laid off. It basically boils down to: keeping your skills up and maintaining your contacts. It's who you know and what you know.
No more top 10 or 10 steps or whatever pithy articles on HN.
P.S.
I am only slightly more serious about this then eatin' babies.
"Start a blog that contains at least 50% professional material"
I think atleast in a technical field that really shows what you are passionate about.
If it is a choice between a weak candidate who looks good, is fun, and has a ton of linked in buddies, or a strong candidate who is worse at all of the above, I doubt the pretty face is going to get the job.
You could suppose that there is an unfair cognitive bias at work (see /beauty premium/) which could favor one candidate over the other. But think about how an interviewer would consider the physically fit you versus the physically unfit you. This is the real point, not how you compare to someone else.
Friends from the old company are not just potential references, but also possible co-founders or recruits at the new job.
#12. Move all your side projects onto off-work computers, and try to make sure that they're deleted from your work machines nightly and automatically. (Of course, this is not the time to do something moronic, so only delete true side projects, e.g. things that the company doesn't know or care about but that you still need to unambiguously own for future purposes.)
#13. This one applies mainly to large companies. In good economic times, you want to make yourself as replaceable and obsolete as possible (write well-documented, easy-to-follow code) so you can move on to more interesting projects and, if laid off, leave on good terms to a better job. In bad economic times, try to make yourself irreplaceable, even if that means making your code difficult to use. If you feel the need to be unethical, you can hide time-delay bugs. At worst, you'll be asked to train someone else in the technology and offered a severance package in order to do it, which is better than being let go cold.
Wow.
What this sort of thing does to your soul is far worse than being laid off. Anyone who believes that they need a job more than they need integrity or self-respect has some work to do, and some fears to face. And making code obscure on purpose is unethical, and ethics that fluctuate with economic conditions aren't ethics to begin with.
Edit: For a different perspective, I ran this by a couple of guys where I'm working. One of them offered a more succinct response: "Maybe if you did a good job, they'd keep you, [expletive deleted]."
I know people who've been put in the humiliating position of being outsourced, while being expected to train the cheaply-hired replacements. That's the sort of situation in which obfuscation, in the hope of having, at least, the option to come on later as a consultant, may be an appropriate strategy. Why is it unethical? It's not nice, but it's not nice either (though not unethical) for the company to fire all the American staff and replace them with overseas workers at 1/3 of the cost.
So I'll back down from "in bad economic times" because, really, obfuscation only makes sense in rare and outright terrible situations. I've never needed to do it, never done it, and I don't even know how often it works. What I'll say is this: I've known people who've been laid off recently, and one of the warning signs is when they are asked to suddenly place a high priority on clarifying previous work, and it's definitely not in their interest to do so.
Well, who put themselves in that situation?
I know people who've been put in the humiliating position of being outsourced, while being expected to train the cheaply-hired replacements
No one is required to remain in such a humiliating position.
Why is it unethical?
Because it's your job, not to mention your duty, to contribute the best code you can. Not to mention not actively destroying it.
obfuscation only makes sense in rare and outright terrible situations
Courage and honesty are what make sense in rare and outright terrible situations. What the person who takes the sneaky, greedy route under duress never gets to learn is how many benefits flow from standing up to what you fear.
I've never needed to do it, never done it, and I don't even know how often it works.
Yet you are prepared to offer it as advice to others?
I've known people who've been laid off recently, [who were] asked to suddenly place a high priority on clarifying previous work, and it's definitely not in their interest to do so.
There's a big difference between taking responsibility for your own interests and actively screwing the other guy in order to (allegedly) protect yourself. See what allenbrunson said.
So I'll back down from "in bad economic times"
You've missed the point. Ethics that fluctuate with one's career situation aren't ethics to begin with either.
Look... I wouldn't write this if it were just about critiquing your post. Personally, I am far from being a master of appropriate behavior. But I can't emphasize enough how rewarding it is to get to a place within yourself where you just won't do shit like this (and how punishing it is to live with the beliefs that make you think it's ok).
if a company screws you over, you don't try to screw them back. that makes you just as bad as they are. the right thing to do is walk away, think about the warning signs that were almost certainly there from day one, and don't get into a situation like that again.
#13: I discussed this in my reply to the other poster. As I said, it would only make sense in an extremely negative career situation. I was utterly wrong to imply that obfuscation would make sense in poor economic times without other extreme circumstances.
Back when Diffle was a part-time project for me, I did bugfixes and stuff while I was at work. After all, I was often blocked waiting for another team member, and coding on some other project is a better way to keep skills sharp than surfing Reddit. But I threw away the code and started fresh when I left my day job and turned it into a full-time startup. Granted, part of this was for technical reasons (I found the code I'd done on nights & weekends basically sucked), but part was because the best way to unambiguously own the software was to not have written it on somebody else's dime.
#13: For me, the appeal of programming is in having my code get used. Making it incomprehensible seems a good way of ensuring it won't be used in the future. In both of my last two employers, I put a premium on readability and documentation, even staying about a month longer than I'd hoped to at my last employer so that everything was documented, all known bugs were worked out, and all unit tests passed.