Reputation
474
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 5 19
Newest
 Civic Duty
Impact
~103k people reached

Apr
12
awarded  Civic Duty
Mar
18
comment What's the difference between WTFPL, CC0, and public domain?
@Philipp Nice proposal! Followed.
Mar
18
revised What's the difference between WTFPL, CC0, and public domain?
deleted 12 characters in body
Mar
1
comment Bad sign if nobody can comprehend one's code?
@Kevin oh whoops. My mistake. Seems he meant something like a short circuiting binary OR (which doesn't exist)
Feb
21
accepted Is initializing a char[] with a string literal bad practice?
Feb
15
comment How to automatically connect letters into words?
Hence why they added the hyphen. If you want some good wood, I recommend penisland.net
Feb
12
comment When is a feature considered a “First class citizen” in a programming language/platform?
@travis You can assign classes/structs/enums to variable in C# and Java. In C#, you use the typeof operator: Type foo = typeof({className}). Not sure how to do it in Java (been a while), but it involves the Class class (don't know package). If you mean creating one at runtime, I know .NET makes that possible with reflection, but I don't know how. I don't know about Java though. For you example, you'd be doing something similar to C/C++'s anonymous types. AFAIK, .NET and Java don't support that kind of anonymous types; you're better off just making another class instead.
Feb
10
awarded  Organizer
Feb
10
revised What is the difference between ref and out in runtime?
no tags in titles (sortove)
Feb
10
suggested approved edit on What is the difference between ref and out in runtime?
Feb
10
comment What is the difference between ref and out in runtime?
My guess is they both are implemented the same way as ref in C++; to pointers to the object pointer (or primitive) in question. i.e. Int32.TryParse(myStr, out myInt) (C#) is "executed" the same way as int32_tryParse(myStr, &myInt) (C) would; the only difference being some constraints enforced by the compiler to prevent bugs. (I'm not gonna post this as an answer because I may be wrong about how this works behind the scenes, but this is how I envision it works [because it makes sense])
Feb
9
awarded  Nice Question
Feb
8
comment Why is instance creation the way it is?
@CortAmmon how would you accidentally call a private method? Surely you meant internal?
Feb
8
comment Why is instance creation the way it is?
@Aaronaught is correct. Don't create separate classes for different types of people. Use a bitfield enum.
Dec
30
awarded  Excavator
Dec
30
revised Is initializing a char[] with a string literal bad practice?
corrected quote
Dec
29
suggested approved edit on Is initializing a char[] with a string literal bad practice?
Dec
29
revised Is initializing a char[] with a string literal bad practice?
added 179 characters in body; edited title
Dec
29
awarded  Yearling
Dec
22
comment Why isn't the Microsoft Public License compatible with the GPL?
@MSalters Does that mean I could use an Ms-PL library in a GPL project if I dual-license the project as GPL and Ms-PL?