Reputation
378
Top tag
Next privilege 500 Rep.
Access review queues
Badges
2 12
Impact
~68k people reached

  • 0 posts edited
  • 0 helpful flags
  • 17 votes cast
Aug
17
comment Why do websites have to ask language and country when the browser can tell them that?
because that's inaccurate
Aug
17
comment Sales Manager: “Why is time-estimation so complex?”
The best question for salesman.
Jun
27
comment When you use inheritance to reuse code, do you find it too tricky that it swallows the benifits of reuse?
@Aaronaught Well your correction is really useful :(
May
27
comment When you use inheritance to reuse code, do you find it too tricky that it swallows the benifits of reuse?
@Farrell In fact I mark it 'protected intensively so that it can be overloaded'. I think when I do this I'm using some ideas from MFC, which was badly designed.
May
26
comment When you use inheritance to reuse code, do you find it too tricky that it swallows the benifits of reuse?
It's a vague question and the intention is to collect some ideas to make it easy to make design decisions. I've been switching between composition and inheritance back and forth.
May
26
comment When you use inheritance to reuse code, do you find it too tricky that it swallows the benifits of reuse?
The code example is too big, I have 30+ classes needs to be sorted out.
May
26
comment When you use inheritance to reuse code, do you find it too tricky that it swallows the benifits of reuse?
Thanks for the answer, I still think inheritance is mainly used to share logic, I've always been applying the principle that when codes can be shared, they should be shared, and when you decide not to share them, you find it becomes clearer.
Mar
24
comment What is the biggest trouble developers encounter when debugging?
as long as you can debug, the trouble is much smaller
Jan
27
comment What are some famous one-liner or two-liner programs and equations?
if that has been written as: if(GetRadarInfo()=1){...}, we wouldn't get this bug because it doesn't compile. So don't always introduce intermediate variable.
Nov
11
comment What do you optimize for?
@JRBWilkinson Well, should be case by case
Nov
9
comment What are some famous one-liner or two-liner programs and equations?
@Kaz Dragon such as?
Nov
8
comment What are some famous one-liner or two-liner programs and equations?
Also I'm wondering how often do people swap values in real life programing.
Nov
8
comment What are some famous one-liner or two-liner programs and equations?
I'm just curious how is this implemented? does it create a temporary table (y, x), then assign x the 1st element and y the 2nd element?
Nov
1
comment What simple techniques do you use to improve performance?
@macneil :D fine, suggestion taken
Oct
31
comment What simple techniques do you use to improve performance?
@macneil if you are working in a higher level language, think in the same level.
Oct
31
comment What simple techniques do you use to improve performance?
@macneil well... that trick makes codes not that common and totally doesn't work, that piece of optimization is supposed to be done by compiler.
Sep
30
comment What is the single most effective thing you did to improve your programming skills?
I think these can be summarized as communication, sharing knowledge, benefits not only the one who listen, but also the one who tell.
Sep
29
comment How do you manage your knowledge base?
I use freemind, mainly for taking notes or constructing an essay or organizing ideas; and along with SugarSync.
Sep
29
comment Does Agile force developers to spend more time actually working?
I think agile makes programmers more efficiently by making it more happily. Of cause it overcome procrastination because the two programmer sees each other, and the feeling of sharing ideas of codes is much more rewarding than reading blogs, or answering questions on SE.com