由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Working版 - Need advice
相关主题
申请信怎样回答这个Interview问题
老板非得让我和一个关系很差的同事合作怎么办?大家程序员一个礼拜有多少小时在写程序?
同事老是不会email怎么办?救命阿!!!和老美聊些啥???救命.....
[合集] 自打被雷后计算机的PHD一定比Master有前途吗?
[合集] 我来提个建议吧·不想让同事知道将要跳槽的公司,如何委婉表达?
公司里没有谁是non-replacable的HR关于H1B态度暧昧,该不该move on? (转载)
看到一对牛咖婆37岁,实在是不想做coder, 想去送中餐外卖?
从贴子内容看工作感动于这样的一个老人(并求礼物建议)
相关话题的讨论汇总
话题: his话题: my话题: net话题: him话题: code
进入Working版参与讨论
1 (共1页)
D******y
发帖数: 3780
1
Sorry for not using Chinese. no chinese input here.
My co-worker writes weird code. For example, we are doing .net development,
he normally creates a blank aspx page without any controls and everything
was done in page behind; Change control properties at run time without
conditions. no comments in code either.
but recntly my boss is asking me to get involved to the project too. part of
the job is to modify his code. Seriously i feel depressed when I read his
code. It is very hard to follow his
l*****4
发帖数: 25
2
Seems like a very common issue between different coders.
What I like to go about, if you ask me, is a more passive approach,
considering you are buddies.
Two things you can do to show him. 1. Keep bugging him, when it comes to his
codes. 2. Show him a good example of coding style in, e.g. indentation,
whitespace, commenting and OO structure etc., if you are going to work on a
shared code base.
G******y
发帖数: 1831
3
很简单,这个是避免被layoff的好方法,公司里不少人都是
1.把简单东西复杂化 2.可以简化,系统处理的东西就是不动它
如此别人不好接手,他的位置就不容易更换,
特别是IT, 在这种大环境不好的情况下这么基本可以明哲保身了
我们大家也都要学着点,随时能找到好工作的大牛基本可以除外

,
of

【在 D******y 的大作中提到】
: Sorry for not using Chinese. no chinese input here.
: My co-worker writes weird code. For example, we are doing .net development,
: he normally creates a blank aspx page without any controls and everything
: was done in page behind; Change control properties at run time without
: conditions. no comments in code either.
: but recntly my boss is asking me to get involved to the project too. part of
: the job is to modify his code. Seriously i feel depressed when I read his
: code. It is very hard to follow his

h**k
发帖数: 662
4
这样的人很多,写的code只有自己能用。最好别闹,常识开会的是时候随便提出来让你
boss给他一个project,就是document everything he has done.小心处理这中事情。
B*****g
发帖数: 34098
5
你干你的,别人干别人的。

,
of

【在 D******y 的大作中提到】
: Sorry for not using Chinese. no chinese input here.
: My co-worker writes weird code. For example, we are doing .net development,
: he normally creates a blank aspx page without any controls and everything
: was done in page behind; Change control properties at run time without
: conditions. no comments in code either.
: but recntly my boss is asking me to get involved to the project too. part of
: the job is to modify his code. Seriously i feel depressed when I read his
: code. It is very hard to follow his

s**m
发帖数: 1564
6
use neither of you or his coding standard. instead, follow the company's IT
department coding standard which you may find on company/department intranet
site. his habits are just different from yours, thus you need to
communicate with him. i am not defending him though, just want to say "
understanding each other".
by the way, I don't think some of his coding style is wrong. for example, my
work place request none or minimum comments. instead we require names to be
self-descriptive and use refac
h**k
发帖数: 662
7
不要试图说服别人,这个压根没用。maybe find a way to avoid it is the best u
can do.
D******y
发帖数: 3780
8
Thanks slim.
I agree with what you said.
Let me use a small example:
there is a radio button list. The page need do different thing based on
which option use selects. Boss asked me to add more options and re-arrange
the orders of the options. The page was created by him. I went to the design
mode and I realized the list items are populated in Page_Load one by one
although the items are static. Then the code will check the INDEX of the
selected items to perform different actions.
I feel depresse

【在 s**m 的大作中提到】
: use neither of you or his coding standard. instead, follow the company's IT
: department coding standard which you may find on company/department intranet
: site. his habits are just different from yours, thus you need to
: communicate with him. i am not defending him though, just want to say "
: understanding each other".
: by the way, I don't think some of his coding style is wrong. for example, my
: work place request none or minimum comments. instead we require names to be
: self-descriptive and use refac

D******y
发帖数: 3780
9
Thanks Beijing.
I have to mention another problem.
My boss thinks we should learn from each other so anyone can be replaced at
any time. So he will ask me to do my buddy's task when he thinks necessary (
while i thinks not). it is like, my buddy designed and coded the whole
project, then some day my boss said OK donkey you start to work on this too.
but not completely handled to me. one day is worked by me, the other is
worked by him.
Guys, what will you do under such situation?

【在 B*****g 的大作中提到】
: 你干你的,别人干别人的。
:
: ,
: of

g*****g
发帖数: 34805
10
Not a .net developer but I think you may need to stay keen on
new techologies. Web development certainly advances quickly and
re-do the frameworks wouldn't be surprising. Maybe you should check
out to see if his way is the standard way in the indurstry.

course
since

【在 D******y 的大作中提到】
: Thanks Beijing.
: I have to mention another problem.
: My boss thinks we should learn from each other so anyone can be replaced at
: any time. So he will ask me to do my buddy's task when he thinks necessary (
: while i thinks not). it is like, my buddy designed and coded the whole
: project, then some day my boss said OK donkey you start to work on this too.
: but not completely handled to me. one day is worked by me, the other is
: worked by him.
: Guys, what will you do under such situation?

相关主题
公司里没有谁是non-replacable的怎样回答这个Interview问题
看到一对牛咖婆大家程序员一个礼拜有多少小时在写程序?
从贴子内容看工作救命阿!!!和老美聊些啥???救命.....
进入Working版参与讨论
D******y
发帖数: 3780
11
hehe, absolutely his way is standard. as i said i didn't do it this way
because of less time. and new design would have introduced new bugs.

【在 g*****g 的大作中提到】
: Not a .net developer but I think you may need to stay keen on
: new techologies. Web development certainly advances quickly and
: re-do the frameworks wouldn't be surprising. Maybe you should check
: out to see if his way is the standard way in the indurstry.
:
: course
: since

Z*****l
发帖数: 14069
12
I would just follow his coding convention for the time being, even if only
to avoid potential conflict. If I take over the whole project in the future,
I'll probably rewrite that code in my style. If not, that's fine.
Also you shoudn't blame the other programmer for anything. It's really the
manager who tries to make everyone replaceable. But then again the manager
has his perspective and concerns.

,
of

【在 D******y 的大作中提到】
: Sorry for not using Chinese. no chinese input here.
: My co-worker writes weird code. For example, we are doing .net development,
: he normally creates a blank aspx page without any controls and everything
: was done in page behind; Change control properties at run time without
: conditions. no comments in code either.
: but recntly my boss is asking me to get involved to the project too. part of
: the job is to modify his code. Seriously i feel depressed when I read his
: code. It is very hard to follow his

D******y
发帖数: 3780
13
Thanks Zeratul.
You are right. I am trying to make myself cooled down. it is very hard to do
so though.

future,

【在 Z*****l 的大作中提到】
: I would just follow his coding convention for the time being, even if only
: to avoid potential conflict. If I take over the whole project in the future,
: I'll probably rewrite that code in my style. If not, that's fine.
: Also you shoudn't blame the other programmer for anything. It's really the
: manager who tries to make everyone replaceable. But then again the manager
: has his perspective and concerns.
:
: ,
: of

Z*****l
发帖数: 14069
14
Man, you sound like a 50-year-old programmer. Now this turns out to be a perfect chance to update yourself.

【在 D******y 的大作中提到】
: hehe, absolutely his way is standard. as i said i didn't do it this way
: because of less time. and new design would have introduced new bugs.

D******y
发帖数: 3780
15
hehe, you didn't know the exact situation.
our jrun server license was about the expire and we had a lot of small forms
in jsp. I had to convert them to .NET before the license expired. I didn't
have enough time to re-create the forms in webform.
for the new project, we all use web forms ah.

【在 Z*****l 的大作中提到】
: Man, you sound like a 50-year-old programmer. Now this turns out to be a perfect chance to update yourself.
D******y
发帖数: 3780
16
i removed that post. hehe, after i read it again i feel i am too small-heart
-eye le. forget it.

【在 Z*****l 的大作中提到】
: Man, you sound like a 50-year-old programmer. Now this turns out to be a perfect chance to update yourself.
f*****g
发帖数: 15860
17
damn, typed a long one and system killed it...
well, in short, you shouldn't be mad at all.
you feel uncomfortable because he touched your "baby", but this baby is a 怪
胎 anyway in the first place.
you didn't have time to do it and now he has, and he's doing in a more .NET
standard way, then just "happily" let him go ahead (and do all the dirty
work) since he's your buddy.
tell boss this is such a great chance to improve the legacy system.

heart

【在 D******y 的大作中提到】
: i removed that post. hehe, after i read it again i feel i am too small-heart
: -eye le. forget it.

f*****g
发帖数: 15860
18
FT, that's why i got "wrong re article #" error and lost my reply, FT, hehe.

heart

【在 D******y 的大作中提到】
: i removed that post. hehe, after i read it again i feel i am too small-heart
: -eye le. forget it.

D******y
发帖数: 3780
19
lol. sorry about that, zhixin jiejie

hehe.

【在 f*****g 的大作中提到】
: FT, that's why i got "wrong re article #" error and lost my reply, FT, hehe.
:
: heart

D******y
发帖数: 3780
20
en, very zhixin.
you should have a column on a newspaper or something

NET

【在 f*****g 的大作中提到】
: damn, typed a long one and system killed it...
: well, in short, you shouldn't be mad at all.
: you feel uncomfortable because he touched your "baby", but this baby is a 怪
: 胎 anyway in the first place.
: you didn't have time to do it and now he has, and he's doing in a more .NET
: standard way, then just "happily" let him go ahead (and do all the dirty
: work) since he's your buddy.
: tell boss this is such a great chance to improve the legacy system.
:
: heart

相关主题
计算机的PHD一定比Master有前途吗?37岁,实在是不想做coder, 想去送中餐外卖?
不想让同事知道将要跳槽的公司,如何委婉表达?感动于这样的一个老人(并求礼物建议)
HR关于H1B态度暧昧,该不该move on? (转载)employment verification ???
进入Working版参与讨论
f*****g
发帖数: 15860
21
please don't give me a transgender surgery...

【在 D******y 的大作中提到】
: en, very zhixin.
: you should have a column on a newspaper or something
:
: NET

D******y
发帖数: 3780
22
hehe, just kidding.
any advice for my original post?

【在 f*****g 的大作中提到】
: please don't give me a transgender surgery...
g*****g
发帖数: 34805
23
JRun was never popular, but you can always pick up Tomcat or JBoss as your
free JSP container. If cost's an issue, .net wasn't really the direction
you looked at.

forms
't

【在 D******y 的大作中提到】
: hehe, you didn't know the exact situation.
: our jrun server license was about the expire and we had a lot of small forms
: in jsp. I had to convert them to .NET before the license expired. I didn't
: have enough time to re-create the forms in webform.
: for the new project, we all use web forms ah.

f*****g
发帖数: 15860
24
ask for his explanation, he may have some reasons you don't know/understand;
be open minded;
at the proper time, tell him how you solved similar issues before with what
design, what your normal approach is, ... discuss with him and find
agreements on general structure, convention, etc. seek for his opinions more
in ways like "how do you feel if we use XXX here?...", "are you familiar
with YYY control?"... "i heard using ZZZ is the new trend, should we try try
?", "my concern is if we XX in this

【在 D******y 的大作中提到】
: hehe, just kidding.
: any advice for my original post?

D******y
发帖数: 3780
25
boss doesn't like java. that is why he decided not to renew the license.

【在 g*****g 的大作中提到】
: JRun was never popular, but you can always pick up Tomcat or JBoss as your
: free JSP container. If cost's an issue, .net wasn't really the direction
: you looked at.
:
: forms
: 't

D******y
发帖数: 3780
26
thanks fryking. will try this from now on.

understand;
what
more
try

【在 f*****g 的大作中提到】
: ask for his explanation, he may have some reasons you don't know/understand;
: be open minded;
: at the proper time, tell him how you solved similar issues before with what
: design, what your normal approach is, ... discuss with him and find
: agreements on general structure, convention, etc. seek for his opinions more
: in ways like "how do you feel if we use XXX here?...", "are you familiar
: with YYY control?"... "i heard using ZZZ is the new trend, should we try try
: ?", "my concern is if we XX in this

1 (共1页)
进入Working版参与讨论
相关主题
感动于这样的一个老人(并求礼物建议)[合集] 我来提个建议吧·
employment verification ???公司里没有谁是non-replacable的
关于PMP看到一对牛咖婆
试用期后工资谈不拢,辞职是不是不用什么2星期的notice了从贴子内容看工作
申请信怎样回答这个Interview问题
老板非得让我和一个关系很差的同事合作怎么办?大家程序员一个礼拜有多少小时在写程序?
同事老是不会email怎么办?救命阿!!!和老美聊些啥???救命.....
[合集] 自打被雷后计算机的PHD一定比Master有前途吗?
相关话题的讨论汇总
话题: his话题: my话题: net话题: him话题: code