369 reputation
19
bio website phresnel.org
location
age
visits member for 4 years, 4 months
seen yesterday

Stuff that others users said:

"I made strange code But surprisingly it works"

-- user3402740 (https://stackoverflow.com/questions/22526198/catch-string-vlaue-c)


“You cannot reason people out of a position that they did not reason themselves into.”

-- Ben Goldacre; found on http://goodreads.com/quotes/tag/argument

"Give a man a fish, you feed him for a day; teach a man to fish, you feed him for life."

-- Origin unknown

"Sell a man a fish, he eats for a day, teach a man how to fish, you ruin a wonderful business opportunity."

-- Karl Marx


Stuff I said that I suprisingly liked myself:

"Bad gardeners exist everywhere."

-- this points out that incompetence exists in every educational and professional level and in every profession

"Programming languages are not there to make programming possible, but to make programming easy (or hard, of course)."

-- upon asking why Programming Language Foo has Bars, when you could do the same with Frobs

"It's easy to be better when things are tough. It's tough to be better when things are easy."

-- in competition situations (I am a race fan, and this is neat phrase to put when discussing oval racing, but also competition in general)

"Clean code is free and beneficial, and thus pays back infinitely."

-- my stance on clean code


Apr
28
comment Does using a database server make sense if the application only does things locally?
@Snowman: Of course and I don't doubt its nice-level :) It's just that other concurrency models exist and are just as nice, less nice, or even nicer.
Apr
27
comment Does using a database server make sense if the application only does things locally?
@DocBrown: Still find them ambiguous. As said e.g., ACID is not a precondition for multi user software, etc.
Apr
23
comment Does using a database server make sense if the application only does things locally?
@Snowman: You're right, I misunderstood your first point, pardon 'bout that. My other points seem still valid to me. In my own point 4), I did mean SQL, not MySQL, btw.
Apr
22
comment Does using a database server make sense if the application only does things locally?
-1: 1) NoSQL isn't an umbrella term for embedded databases, but for databases that aren't SQL, never mind if local/remote; "higher" learning curve is ambiguous, 'course there's also a certain learning curve for SQL? 2) Not true 3) ACID may not be relevant for many multi user apps, and concurrency is well-supported in NoSQL databases (it has to, considering e.g. Twitter, or Trello which updates in real time on every machine, and the like). And Locality does not imply Single-User. 4) There's no steep learning curve for most examiners. I find MySQL more tedious in this regard
Feb
22
comment How to respond to a rude bug report?
@MichaelGrant: That would be a pretty nice answer if the software was sold at zero cost. I have to remember that :)
Nov
25
comment Why didn't the C++ Standard adopt expression templates?
The libgcc implementation of valarray bases on expression templates.
Nov
13
comment Why are pointers not recommended when coding with C++
Why are you wrapping C++ and C into air quotes? And "hidden", "references" and everything else? Are you a "salesman" and not participating in "programming"?
Nov
13
comment Writing generic code when your target is a C compiler
@enobayram: It's not just some random C++ compiler. Many C++ papers mention Comeau C++ as a de-facto reference or kind thereof. They are just off-pace regarding their website. It's itself based on the EDG-C++ frontend, which have several members being integral parts of C++ standardization, and authors of great books. But I agree, it looks strange atm.
Oct
27
comment How important is maths depending on what your coding?
The real answer to "How important is maths depending on what you're coding?": "How important is maths depends on what you're coding!". I almost never need higher maths in my day job, yet depended on it when I did Computer Graphics and other things in my spare time. :)
Oct
24
revised “It was working yesterday, I swear!” What can you do?
added 204 characters in body
Oct
24
comment What can one do to improve readability of math-oriented code in C#, Java, and similar?
@mattnz: I suspect you have your worries wrong on this question. It's just an example.
Oct
14
comment As back-end developers, should we learn software testing?
I got most of my jobs because I did stuff in my spare time I didn't need to do, be it learning Haskell, or writing a compile time ray tracer in C++ :P The guys I know/knew who did only what was required for the job now struggle at advancing in their career.
Sep
24
awarded  Autobiographer
Jul
24
answered How should I remember what I was doing and why on a project three months back?
Jun
24
comment Is there a benefit in compiling your code as you go along?
Hmm. Just want to say that a well written C++ file should not take more than a few seconds for compilation. If it's longer, it's a smell for bad code. And if it's so big that make has problems, I would argue that the application is too monolithic. "My" make never had problems, and afair not even when compiling Linux.
Jun
13
comment Is there a more intelligent way to do this besides a long chain of if statements or switch?
@jwenting: Is it relevant? But even if: One can construct valid examples, like for example a Java/C#-Interop Helper Library, or have a look at Java for .net: ikvm.net . The language is always relevant. The questioner may not be looking for specific languages, he/she may have committed syntax errors (accidentally converting Java to C#, e.g.), new languages may arise (or have risen out the in the wild, where there be dragons) -- edit: My previous comments were to dicky, sorry.
Jun
13
comment Is there a more intelligent way to do this besides a long chain of if statements or switch?
@jwenting: It's also valid C# syntax, and I bet there are more languages.
Jun
13
comment How can my team avoid frequent errors after refactoring?
Ironically, if the Refactoring book by Fowler is read properly, one knows that testing is an integral part of Refactoring.
May
3
comment How can I learn to effectively write Pythonic code?
I would argue that your specific sorting example is not pythonic. Why reintroduce reordering with a lambda if you can just print(sorted(l, reverse=True)), which additionally explicitly tells the reader what's going on. I would find your first example disputable, too. It's two assignments compressed into one; it's okay, but I wouldn't call it very Pythonic. Readers have to look longer at what it does than compared to having two assignments.
Mar
31
comment Not getting paid for hours you've worked?
Considering your use of secret abrevations, there was a certain chance that I am right :P