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

  • 0 posts edited
  • 0 helpful flags
  • 17 votes cast
Jan
30
awarded  Notable Question
Apr
10
awarded  Nice Answer
Dec
14
awarded  Popular Question
Jan
3
awarded  Nice Question
Sep
18
awarded  Yearling
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.
Jul
12
awarded  Popular Question
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 :(
Jun
3
accepted When you use inheritance to reuse code, do you find it too tricky that it swallows the benifits of reuse?
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
awarded  Autobiographer
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.
May
26
asked When you use inheritance to reuse code, do you find it too tricky that it swallows the benifits of reuse?
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?