Reputation
5,356
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 16 33
Impact
~349k people reached

  • 0 posts edited
  • 0 helpful flags
  • 1,422 votes cast
Feb
15
comment Why do we keep using CSV?
@Steve314: That users can put pipe characters in their data almost goes without saying. It's nothing a backslash escape can't fix.
Feb
15
comment Do you contribute to open-source software?
+1 The code speaks for itself.
Feb
15
comment Why is Lisp useful?
@zachary: There are at least 2 Common Lisp implementations on the JVM. ABCL is relatively mature.
Feb
14
comment Why do we keep using CSV?
@Stephen: I just read the other question about HL7. So never mind; no interchange format/parser can save you from problems with semantics.
Feb
14
comment Why do we keep using CSV?
@Stephen: so what problems have you had with HL7 and why don't you consider that to be a better alternative?
Feb
14
comment Do you think code is self documenting?
+1 for "mistakes in documentation tend to be left", though that really doesn't go far enough. It's more like "mistakes in documentation aren't noticed until years later when someone notices that they don't match the code".
Feb
14
comment Why do we keep using CSV?
All of the discussion so far misses a very real problem with CSV: the delimiter character is likely to appear in the data, and CSV takes a less-than-optimal approach to that issue (putting quotes around the data just pushes the problem downstream). A better approach would be to use pipe-delimited files.
Feb
12
comment When is it ever ok to write your own development tools? (editor into IDE)
@mario: I've switched from vim to emacs. It does take time to learn the new keyboard controls, but not as much as you would think. It's definitely faster than writing your own IDE.
Feb
9
comment Scheme vs Common Lisp: Which characteristics made a difference in your project?
@SuperElectric: Calling "built-in" Java methods from Clojure is trivial; calling Java methods that are in a downloaded library: not so much. I really did spend more time getting the classpath and import lines right than it took me to get my first C method working from SBCL with CFFI. But I'm no Java expert, so Your Mileage May Vary.
Feb
8
comment Scheme vs Common Lisp: Which characteristics made a difference in your project?
I'll write up an answer after work. In the meantime, I wonder if it might be useful to add Clojure to the comparison.
Feb
7
comment Is C++ suitable as a first language?
Haskell as a first language would be an interesting experiment.
Feb
7
comment Is there a Windows philosophy of programming?
+1 for "casual users".
Feb
7
comment Is it relevant to warn about truncating real constants to 32 bits?
@zneak: Yes. Type inference is a good option for statically-typed languages. Even if you want to declare types, with type inference the compiler can spot incorrect declarations.
Feb
1
comment What should I know about C++?
"Accelerated C++" by Koenig and Moo is a good book for new C++ programmers, as it introduced templates and classes by showing examples of use first, then design and creation. I found it easier to understand why to use them with that approach.
Feb
1
comment Does syntax really matter in a programming language?
@Tom: Thanks for the correction. I've edited my answer accordingly.
Jan
27
comment What can I use instead of Interfaces in Ruby (or any other dynamic language)?
If you just want to mark methods as accessories that shouldn't be called from the outside, would marking them private or protected be good enough?
Jan
27
comment What can I use instead of Interfaces in Ruby (or any other dynamic language)?
+1 By the way, PLT Racket has support for contracts, and is dynamic. Adding something similar to Ruby would be an interesting project.
Jan
26
comment Interesting or unique types in programming languages?
@Mark: People who use Lisp don't notice lists for the same reason fish don't notice water. I use structures, objects and hashtables in my CL code. Lists are mostly for coding.
Jan
25
comment Interesting or unique types in programming languages?
@Mark: I tried, but types are probably one of the least interesting things about Lisp.
Jan
25
comment How do you convince management to throw away a prototype?
Use your favorite non-mainstream programming language to write the prototype. If it doesn't work, at least you won't mind maintaining it as much.