8,629 reputation
22253
bio website stackoverflow.com/users/14065
location Moz.com
age
visits member for 3 years, 8 months
seen 22 hours ago

Oct
18
awarded  Nice Answer
Oct
18
revised What is a 'good number' of exceptions to implement for my library?
added 4 characters in body
Sep
22
revised Intermediate to advanced book for improving VIM knowledge and understanding
added 40 characters in body
Sep
22
comment Intermediate to advanced book for improving VIM knowledge and understanding
@gnat: Because the OP is asking for external resources. The linked set of tutorials provides an interactive guide to learning vim that is very useful.
Aug
21
comment Is it bad to place “include directive” within main function?
You said it in your question: Its non standard. Doing things differently from normal cause maintenance problems when things go wrong (because now we have to sit a figure out why you did it).
Aug
18
comment When to import names into the global namespace? (using x::y, from x import y etc.)
why-is-using-namespace-std-considered-bad-practice
Aug
18
comment What are the good practices for including namespaces in C++ that avoid more typing?
why-is-using-namespace-std-considered-bad-practice
Aug
17
comment Do sigils make source code easier to read?
But it would be interesting to see all these standards that we add to the top of a language to help us read it. Rather than be manually checked by an external tool but become part of the language definition. That way we can't have pointless arguments about identifier names in the coding standards (as they are in the language).
Aug
17
comment Do sigils make source code easier to read?
I like the idea. But I would hate to write the parser for a language with space's in the identifier. :-) At Karl's for the night = true;
Aug
17
comment Which language for which job?
Choose a language that your team is already comfortable with. No pointing in using C++ if you a group of python developers. This is usually the main limiting factor. You don't want to start a new project where everybody is learning the language at the same time.
Aug
5
comment Is it fair to call a database or a document a “Model”, as in Model/View/Controller?
@DougM: Its a pattern not an implementation. It shows you how the data flows. But if we are talking about an implementation then usually you register views with the model so that when the model changes the views are notified. It is up to the view to decide what to change in the user interface (if anything).
Aug
4
answered Is it fair to call a database or a document a “Model”, as in Model/View/Controller?
Jul
28
comment Are closures sufficient to characterize functional programming?
@Chiron: Argued many many times and always rejected: meta.programmers.stackexchange.com/q/159/12917
Jul
28
comment Methods as verbs: is the object the subject?
@leonbloy: No. I am definitely asking the stream to perform an action (the action being write).
Jul
27
comment Does it look bad to take a break between programming jobs?
I would advice against it. It is much easier to get a job while still employed. Also there is less pressure especially when you get to the end of three months and still have no job. If you want a break negotiate your start date once you have an offer.
Jul
27
comment Methods as verbs: is the object the subject?
You are asking the object to perform some action. Think of a method call as a message you are sending the object. Here you are sending the message "write" to the object "stream" passing the parameters you want the object to write.
Jul
27
comment Are closures sufficient to characterize functional programming?
No. There are other types (non functional) of language that have closures.
Jul
21
comment Why do CSV file formats normally use quoting instead of escaping?
You really need both. Escaping is shorter. Quoting easier for "humans" to read (though as you point out for some jobs escaping makes it easier for simpler editors to count). Even with Quotes you still need escaping otherwise how do you put " into the cell. Quotes also allow you to put new lines more read-ably. When writting the parser if you are going to implement one you may as well implement both it does not add much complexity.
Jul
21
comment Java naming conventions vs. C++/C naming conventions
I am a heavy C++ users and I prefer version one: int someVariable = someFunction(someParameterToPass); All my code looks like that. I don't think that it is style in naming conventions that is going to trip you up.
Jul
21
comment How should I store an old project?
Note the life expectancy of CD/DVD is under 2-5 years. the National Archives who used a lot has a FAQ about it.