| bio | website | sourceforge.net/projects/… |
|---|---|---|
| location | Melbourne, Australia | |
| age | 20 | |
| visits | member for | 1 year, 11 months |
| seen | 7 hours ago | |
| stats | profile views | 15 |
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.
|
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 |
Why hasn't a faster, “better” language than C come out? Actually the fastest language is raw bytes. |
|
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. |
|
Sep 21 |
suggested | suggested edit on How can you explain “beautiful code” to a non-programmer? |
|
Aug 31 |
comment |
What does the latest “C++ Renaissance” mean? @Billy - I guess my worldview must be tainted by being in the slim minority who cares about multi-platform development. (As for TIOBE, I looked it up in response to the hate in the comments and it turns out I was wrong. It really does suck. What sort of a measure is "number of search results"? Furthermore, their search terms are broken. "Go Programming" could refer to the programming of Go playing AIs, the Go! language or the go language. I thought TIOBE was based on number of searches.) |
|
Aug 31 |
awarded | Teacher |