26,414 reputation
540106
bio website
location
age
visits member for 4 years, 4 months
seen 1 hour ago

Author of C++ tutorials and Wide language.

Foo


1d
comment Can I learn the basics of C++ through Parts I and II of Bjarne Stroustrup's book?
@StevenBurnap: You can't really pick up C whilst learning C++ unless you're not really learning C++.
1d
comment Can I learn the basics of C++ through Parts I and II of Bjarne Stroustrup's book?
Do not check cplusplus.com, it is well-known that it's a giant pile of shit.
1d
comment Can I learn the basics of C++ through Parts I and II of Bjarne Stroustrup's book?
We can't really answer questions about what language to learn next. But to lend you a brief hand, C, Objective-C and C++ are completely different languages and you certainly can not learn the differences in a few days. More like a few years.
1d
comment Can C++/CLR Property Grid manage/edit regular Win32 C++ objects/structs?
I wouldn't describe it as "easy" at all. C++/CLI is a horrendous abomination that makes it vastly more difficult than necessary. For example, no native lambdas or managed ones.
Mar
26
comment Use of SAL annotations for C++
I have used SAL with C++. It consisted of deleting all the SAL. I recommend not using crappy out parameters.
Mar
26
comment Use of SAL annotations for C++
Far too broad asking for just general experiences.
Mar
23
answered Null object pattern or nullable
Mar
22
comment Is it reasonable to use a decorator to instantiate a singleton in Python?
It's not reasonable to have singletons; regardless of the language or implementation.
Mar
22
comment Where is “the line” for copyleft licenses
Then vote to close it, instead of posting "I love GPL" as an answer.
Mar
21
comment Is it possible to “bake dimension into a type” in haskell?
Well, values only appear at runtime, so you can't really talk about values at compile-time unless you want to solve the Halting Problem. All I'm saying is that even in C++ you can just template on the dimensionality and it works fine. Does that not have an equivalent in Haskell?
Mar
21
comment Where is “the line” for copyleft licenses
This has way too much GPL-fanboying in it.
Mar
20
comment Is it possible to “bake dimension into a type” in haskell?
That's not dependent typing at all. Dependent typing talks about types at runtime, but baking dimensionality into the type can easily be done at compile-time.
Mar
20
awarded  Curious
Mar
16
comment Why don't we have a default character for the opposite of 0?
@Cawas: Then you might want to discuss what you actually want to discuss, instead of MAX_VALUE.
Mar
16
comment Why don't we have a default character for the opposite of 0?
No, it's far less useful than zero because there are vastly fewer cases in which you need to refer to it. They're implemented basically identically and we didn't get used to using MAX_VALUE because we don't need to use MAX_VALUE.
Mar
16
comment Why don't we have a default character for the opposite of 0?
It is a most arbitrary constant. There's nothing particularly useful about MAX_VALUE. It's far less useful than 0.
Mar
16
answered Why don't we have a default character for the opposite of 0?
Mar
12
comment Why am I getting field visibility warnings in Sonar?
That does not explain why this should be automatically banned.
Mar
5
comment Avoiding std::forward and Rvalue References
@Deduplicator: There's nothing in the guide that's useful for an experienced C++ programmer, and if you're a new C++ programmer the shit will do far more damage than it's worth.
Mar
5
comment Avoiding std::forward and Rvalue References
@Otomo: They would, however, have to expend time training their programmers up from C89, which is time and money they can save if they don't improve their codebase with new, better features.