Reputation
2,942
Top tag
Next privilege 3,000 Rep.
Cast close & reopen votes
Badges
1 15 25
Newest
 Yearling
Impact
~305k people reached

  • 0 posts edited
  • 4 helpful flags
  • 311 votes cast
Sep
28
awarded  Yearling
Sep
24
awarded  Autobiographer
Oct
21
awarded  Famous Question
Sep
28
awarded  Yearling
Mar
6
awarded  Nice Answer
Jan
8
awarded  Nice Answer
Dec
25
answered algorithm to extract “possibilities” from a tree
Sep
28
awarded  Yearling
Aug
25
comment Object Oriented Programming: getters/setters or logical names
I've always thought the Decorator Pattern implies an ordering to the decorations. Consider the example code shown; how does one go about removing the ItalicDecorator? Still, I think something like Decorator is the way to go. Bold, italic, and underline are not the only three styles. There's thin, semibold, condensed, black, wide, italic-with-swash, small caps, etc. You may need a way to apply an arbitrarily large set of styles to a character.
Aug
15
awarded  Notable Question
Jul
15
awarded  Good Answer
Jun
22
awarded  Notable Question
Jun
9
awarded  Civic Duty
May
26
comment random generator not good enough?
I assume he didn't say he wanted a good one. Most people don't know how to make a good one, and even if one did, there are many ways to do it. So there's no one "right" solution. I'd call yours good enough, given that simple ones that use bit shifting and XOR aren't very random. If you were on a Linux system, you could read from /dev/random, but that might be cheating.
May
25
answered From where do financial firms obtain the stock data to analyze
May
22
awarded  Citizen Patrol
May
14
comment CS Concentrations and Career Paths
It's far from solved. We need new programming languages for up-and-coming technologies: multicore and quantum computing. Parsing... yeah, that's pretty much solved. But generating efficient code and guaranteeing correctness is still a huge area of research.
May
14
comment CS Concentrations and Career Paths
It's been over a year since you asked this question. What did you end up taking? What do you think of your choices?
May
14
comment CS Concentrations and Career Paths
Did you mean "Computer and Network Security"?
May
6
awarded  Pundit