Reputation
3,245
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
12 18
Newest
 Enlightened
Impact
~240k people reached

Aug
28
comment Emacs/Vim/Vi - do they have a place in modern software development ecosystem?
Also, for some languages, the good IDE is Emacs. I've found this particularly true for the more functional languages like OCaml, Haskell, Scala and various Lisps.
Aug
17
comment What are the benefits of prefixing function parameter names with p*?
@Darthfett: Even that sort of hungarian notation seems to be trying to implement an ad-hoc, manual type system directly in the variable names. Just use a good statically typed language and have a real type system track things like that for you automatically!
Aug
10
answered Are there any theories or books about how to debug “in general”?
Aug
9
comment A completely free and open programming language
Most people use Emacs or Vim to work with Haskell. There are external tools like ghc-mod and scion that provide IDE-like features to both Emacs and Vim. There are also EclipseFP and Leksah, but I think you're far better off with Emacs.
Aug
7
comment How do you encode Algebraic Data Types in a C#- or Java-like language?
I don't really know C#, but wouldn't you have to parametrize Empty on the list's type? That is, in Haskell [] :: [a], so I expect something like Empty<A>, the same as ConsList<A>. Then you could do something like class Empty<A> : ConsList<A>, assuming the syntax actually works that way :P.
Aug
6
comment Why the question “give five things you hate about C#” is so difficult to answer during an interview?
I think he's saying the opposite--if you think a platform is not broken in any way at all, you don't know it well enough. That is, his point is that it's fine to stick to a single platform as long as you aren't blind to its shortcomings.
Aug
6
comment Why the question “give five things you hate about C#” is so difficult to answer during an interview?
@K.Steff: "Hit-list" is a perfect name for it :). I can certainly think of far more than five problems with even my favorite platform; if you ask me about a language I don't like but have been forced to use (e.g. Java or Python) I could probably go on for hours :P.
Aug
4
comment How have languages influenced CPU design?
@NikC: I was thinking that the addu and subu instructions (the ones that don't check for overflows) were the ones that were added to make C happy. Of course, I don't really know--we only covered it vaguely in lecture and I'm certainly no expert in architecture :P.
Aug
1
comment Legitimate use for IRC bots
Lambdabot in #haskell is a great example of a good bot: it does stuff like running haskell snippets, figuring out the types of statements and even rewriting functions in point-free style. People use it there all the time.
Jul
30
answered How have languages influenced CPU design?
Jul
30
comment What are good mathematical formulas to know for programming?
@MattEllen: It lets you solve recurrence relations that can help you find the complexity of recursive algorithms. This is particularly important when writing a "divide-and-conquer" style algorithm. Roughly speaking, you can use the master theorem to get the complexity if you know the complexity of each "step" and the branching factor.
Jul
28
revised Please explain the statement that the function an+b belongs to O(n^2) and Θ(n)?
added 1103 characters in body
Jul
28
answered Please explain the statement that the function an+b belongs to O(n^2) and Θ(n)?
Jul
26
answered How much should I know before looking for an internship? (self-taught with math background)
Jul
24
comment What are the factors that have made Java a success as a programming language in enterprise computing?
@FrankShearar: While I love Haskell's syntax as a programmer, I don't think it's easy to parse at all. For example, the operator precedence can depend on what modules you've loaded and even on code you haven't parsed yet! The indentation rules also seem rather complicated to implement.
Jul
21
comment Good resources and tools for modern, heavy JavaScript development?
If you're going to compile to JavaScript from a different language anyhow, there are plenty of choices--you don't have to use Java at all! For example, we're using js_of_ocaml at work right so we can write our code in OCaml and run it on the browser.
Jul
20
comment If python compiles to assembly and an OS is written in it, will it compete favorably with C in benchmarks?
@MichaelT: I've heard of a Scheme compiler (Stalin Scheme) that essentially does just that. Scheme is an incredibly flexible and dynamic language, but given enough analysis and access to the whole program at compile time lets you produce very efficient code. Of course, Satlin was just a research project, but I imagine something like that could also be written for Python. It would, however, be prohibitively difficult to actually write.
Jul
18
comment Why are data structures so important in interviews?
Data structures are universal until you get hooked on purely functional programming :P.
Jul
18
comment Why are data structures so important in interviews?
@user12889: Pretty much everything in CS can become arbitrarily difficult :). That's why it's such a fun field. Of course, being arbitrarily easy is another matter entirely... But that is a very good point, especially for interviews.
Jul
17
comment Is COBOL still worth learning?
Given that there's no such thing as unnecessary knowledge, I nominate Intercal for the next language you learn!