151 reputation
7
bio website sourceforge.net/projects/…
location Melbourne, Australia
age 22
visits member for 3 years, 5 months
seen 2 days ago

I love programming, but I place a strong emphasis on the quality of the end result. I strive to write programs which are correct, portable and fast. I dislike “tools” which are not usable in the production of such programs.


Jul
31
comment Would Python be too slow for client-side use in Browsers?
@ConditionRacer: There are many different ways of writing the same program, so even if a python version of the program had different performance characteristics from a C version, it wouldn't prove that no python version could be equivalent to the C version. See things like asm.js... in any language you can use a giant array to store all your program's state, and can use a small easily optimisasble subset of the language's primitive operations. (As they say "you can write C in any language".)
Oct
18
awarded  Excavator
Oct
18
revised The term “interface” in C++
Fixed syntax highlighting and syntax of Java example.
Oct
18
suggested suggested edit on The term “interface” in C++
May
10
comment Why is there no 'finally' construct in C++?
@Mikey: So duplicating cleanup code (or the fact that cleanup must happen) all over the code-base is "concise" and "easily readable"? With RAII, you write such code once, and it is automatically applied everywhere.
Dec
20
comment Does auto make C++ code harder to understand?
+1 auto allows you to create named variables with unnameable or uninteresting types. Meaningful names can be useful.
Jan
26
comment When to use C over C++, and C++ over C?
@ZanLynx: That is because a lot of desktop software on Linux is based on QT, which is horribly filled with bugs.
Jan
26
comment When to use C over C++, and C++ over C?
@ZanLynx: So basically what you are saying is - "you can disable exceptions and still use the standard library, but only if you want to write incorrect programs".
Jan
3
awarded  Critic
Dec
16
revised Is this a correct situation to use a constant?
Improved wording
Dec
16
suggested suggested edit on Is this a correct situation to use a constant?
Dec
2
awarded  Commentator
Dec
2
comment When to use C over C++, and C++ over C?
@DeadMG: How are allocators meant to report errors without throwing exceptions? Also, adding more features is not necessarily better when all that it does is add complexity or redundancy.
Nov
8
comment Tabs versus spaces—what is the proper indentation character for everything, in every situation, ever?
+1 The tab utopia is great, but every time that I moved code between editors with different tab widths the code has been messed up and misaligned. It is too easy to silently do the wrong thing with tabs.
Oct
26
comment What popular “best practices” are not always best, and why?
"Imagine if the creators of the .Net API had had this sort of mentality: rather than List.Sort(), List.Reverse(), List.Find() etc., we'd have ListSorter, ListReverser, and ListSearcher classes!". This is exactly what is done in C++, and it is wonderful. The algorithms are separated from the data structures, so if I write my own container, all of the algorithms that work with the standard library just work with my new container. It must be horrible in .Net land, writing a new sorting function for every new container that you want to sort.
Oct
26
comment What's the most absurd myth about programming issues?
All the JVM implementations that I know of are slow to start up, and for that reason I refuse to use any JVM language (for application development). Working in an environment which imposes a human-perceptable pause before even beginning to execute your code is painfully constrictive. Yes, I know about nailgun, and Project Jigsaw, but it is unreasonable to expect that an end user would be running either a non-standard background Java server or an unreleased version of Java. Of course, slow startup might be OK for a server, and nailgun might be OK for in-house scripting.
Oct
7
awarded  Autobiographer
Sep
21
answered When, if ever, can code standards be ignored?
Sep
21
awarded  Editor
Sep
21
revised How can you explain “beautiful code” to a non-programmer?
Changed so alt-text is visible.