533 reputation
512
bio website
location
age
visits member for 3 years, 6 months
seen Dec 24 at 11:06

Dec
15
comment Is there any algorithm pattern to protect any content in the web to ensure I am the first one who created it?
There was a story about a mathematician that discovered a proof and didn't want to publish it yet but also didn't want someone else to get credit. So instead he published the letters of sentence of the proof sorted alphabetically. I forgot what his name was.
Dec
15
comment Is there any algorithm pattern to protect any content in the web to ensure I am the first one who created it?
@R.. Content on the internet usually has a date associated with it (e.g.: forum posts). If there are multiple people claiming to be the original inventors/ discoverers, then you just check the dates.
Oct
23
comment Explicitly define enum values, even if the default value is the same?
I don't understand what you mean. How does enum class help? In our case, specific values were required because they were sent through the network.
Oct
23
revised Explicitly define enum values, even if the default value is the same?
edited body
Oct
23
revised Explicitly define enum values, even if the default value is the same?
deleted 4 characters in body
Oct
23
comment Explicitly define enum values, even if the default value is the same?
@Rotem They did compromise, however, and the code ended up looking like enum Car { DeLorean = 0, Lada }. I'm not sure that's much better, though.
Oct
23
revised Explicitly define enum values, even if the default value is the same?
added 3 characters in body
Oct
23
comment Explicitly define enum values, even if the default value is the same?
@Rotem I didn't insist too much because there were more important things to be done, but I think my argument didn't have credibility because this was pretty old code that happened to never have caused problems before.
Oct
23
asked Explicitly define enum values, even if the default value is the same?
Sep
16
comment Unit testing classes that have online functionality
Where is the best place to create all the instances that my application needs? As close to the top of my application as possible? You can only apply dependency injection so far; at some point you'll need to create the instances yourself instead of having them passed as arguments.
Aug
14
accepted How to organize repository branches?
Aug
13
asked How to organize repository branches?
Jul
9
comment Why is software OS specific?
@CharlesE.Grant Thanks for the explanation. I understood (and pretty much expected) that the OS expects the executable to be in a specific format. :)
Jul
9
comment Why is software OS specific?
@Bergi It's conceivable (and trivial!) that you could make a program that just operates on some values and does no IO, which is what I was asking about.
Jul
9
comment Why do some functional programming languages use a space for function application?
@CaptainCodeman No, since he never implied they are more educated in general, just more educated in mathematics. That's exactly what he said: "extensive mathematical education". :)
Jul
9
comment Why do some functional programming languages use a space for function application?
@CaptainCodeman He says more educated in mathematics, a statement with which I agree. At least when it comes to Haskell, you can notice that both the concepts are more mathematical in nature and the community is more mathematically inclined as well. They're not more intelligent, just better educated in mathematics.
Jul
8
comment Why is software OS specific?
What if all the program did was to add two number, with no input or output. Would that program still be OS specific?
May
21
comment Disadvantages of scoped-based memory management
@gnat Very interesting discussion. :)
Apr
12
awarded  Good Question
Mar
30
awarded  Notable Question