2,878 reputation
11121
bio website
location
age
visits member for 3 years, 6 months
seen yesterday

Aug
21
comment Which CSS attributes should be in HTML and which in BODY?
Flagged to migration to webmasters.stackexchange.com, where this would be on-topic.
Aug
20
comment What's the best way to inject science into everyday programming?
Computer science is a cross-disciplinary field which includes some science and some non-science. Simple ;)
Aug
19
comment Use cases for “private” interfaces?
The question wasn't about interfaces in C# (or in any other existing language) but about the fundamental concept. This post doesn't address it at all.
Aug
16
comment Is there a programming language where 1/6 behaves the same as 1.0/6.0?
@MasonWheeler, division is indeed a well-defined mathematical concept. Following that argument through logically, given that a 32-bit integer type is a model of the ring Z/ 2^32 Z you should expect that division by an even integer should sometimes raise an exception. Division by odd integers would always be ok, though, because they have multiplicative inverses mod 2^32.
Aug
9
comment What Discrete Mathematics topics should the average computer science student know?
What are you averaging over - how far through their degree they are, or their ability? And are you intended to average over a range from pre-undergraduate to 99% of the way through writing a PhD thesis, or should "student" be understood as a narrow subset?
Aug
8
comment How do you encode Algebraic Data Types in a C#- or Java-like language?
Java sort-of has polymorphic values in some cases because its generics are implemented by erasure. You could have a single instance of Empty which is cast by an accessor method to Empty<T>. You'll get a couple of warnings unless you suppress them, but I believe this is actually used in the standard library for things like Collections.emptySet().
Aug
7
comment How do you encode Algebraic Data Types in a C#- or Java-like language?
@svick, well observed. I wasn't taking into account that the base type would be parameterised.
Jul
16
comment Killer semi-unique programming language features
This goes all the way back to BCPL.
Jul
12
comment How do you explain the importance of using a [distributed] version control system to someone who's not in the CS field?
Except that Word/Excel documents are opaque to every VCS I've ever seen. Be careful when using this explanation!
Jun
20
comment How to get better at solving Dynamic programming problems
The question's wrong. true and (false xor true) = (true and false) xor true (easily seen by reducing both to false xor true).
Jun
15
comment faster algorithm for finding all subsets
Better than O(2^n) is possible for fixed k. I don't think anyone will give a better answer than the accepted one for stackoverflow.com/questions/127704/… , but I can't flag this question as a duplicate of a question on StackOverflow.
Jun
15
comment faster algorithm for finding all subsets
O(n^2) is better than possible, because there are \binom{n}{k} subsets of size k. For fixed k, you're looking at O(n^k) being optimal.
Jun
11
comment Visual programming for serious software
What is the actual question here? Are you asking about tools to generate code by drag and drop, tools to visualise control flow (but which don't allow modifying it), both, or something else?
Jun
11
comment Is it common for a programmer not to know the difference between C and C++?
"The difference" singular or "the differences" plural? It makes a big difference.
May
29
comment Where could Distributed Version Control Systems currently be in Gartner's hype cycle?
@StevenBurnap, when non-IE browsers were picking up but many sites were still "optimised for IE"?
May
22
comment Can I legally use the icon of a different software?
let us continue this discussion in chat
May
22
comment Can I legally use the icon of a different software?
The fact that they claim something doesn't make it true...
May
18
comment Are functional languages better at recursion?
When you say "language" are you including compilers in the scope of discussion? ISTM that it's the popular implementations of functional languages which are better at recursion rather than the languages per se.
May
15
comment Monopoly game 3D graphical interface
I don't think this is a very useful answer to this specific question without a pointer on how to integrate a Unity frontend with a Java backend in less than a day.
Apr
28
comment Should I Leave off the Currency Symbol?
Using $ rather than USD can still be ambiguous to people in some non-US countries. For example, $ is also the symbol used for the Mexican peso.