245 reputation
19
bio website about.me/rsenna
location Porto Alegre, Brazil
age 40
visits member for 4 years, 2 months
seen Nov 23 at 2:24

A programmer from Brazil.
Used to work with C#. And with Delphi, C++ and C before that.
Recently abducted by the Scala/Lift front.
Knows some stuff about design patterns, database tuning, SQL, JavaScript, Python, Ruby, occidental contemporary pop music and what not.


Nov
14
comment Time to drop Emacs and vi?
Nitpicks: Vim is from the 1990s too, and GNU Emacs (which is not that similar to the original Editor MACros) is from the 1980s. Neither are really from the 1970s. And I agree that Acme should be remembered more often.
Sep
18
comment What are the 'must know' Emacs commands?
In fact M-x is for execute-extended-command. You use it for unbound commands (and align-regexp is just one of them).
Apr
8
comment Syntax extension in weakly typed lanuages?
@Bedwyr Humphreys: care to explain us why? Also take the time to read the faq. The very first question, "What kind of questions can I ask here?", will be enlightening to you.
Apr
4
comment How do you choose to use a specific programming language?
-1 i) How that answers the OP question? ii) Sorry, with so many new DSL's being created each day, I really don't think that's a behavior to be proud of. iii) The Pragmatic Programmer gives a very popular (and helpful) advice: learn a new language every year.
Apr
1
comment If you could pose a question to a Turing test candidate, what would it be?
And if the answer is "Let me tell you about my mother..." then 1) it is a machine, and 2) RUN
Mar
2
comment Can you be Agile without doing TDD (test driven development)?
Hm, I should have written "Saying that we can do Agile without tests..." instead. Which is almost as crazy as doing TDD without tests, but that's just my opinion.
Mar
1
comment Can you be Agile without doing TDD (test driven development)?
+1: I'm late to the party, but this is the only useful answer. Saying that we can do TDD without tests is like saying we can pass in a driver exam without knowing how to drive. Yes, it is possible, but hardly so. Like Michael Feathers said, "Legacy Code is code without tests". And code that, by definition, is hard to maintain, is also f***ing hard impossible to work with when you use an agile, iterative process.
Jan
20
comment Is Moore's law (empirically) the same for both memory capacity and processing speed?
@Renesis: thanks for the edit! :)
Jan
20
comment Is Moore's law (empirically) the same for both memory capacity and processing speed?
Thanks, that's more in the spirit of what I was asking about.
Jan
20
comment Is Moore's law (empirically) the same for both memory capacity and processing speed?
I am not that sure of the irrelevance of performance as you seem to be, and I think the real scenario is much more complex (take for instance web applications vs. games; they have very distinct performance requirements). And even if performance is almost irrelevant, it may be still a big technological drive over time - Darwin proved that for biological replicators, and I guess the same applies for technology. But, of course, I may be wrong.
Jan
19
comment Is Moore's law (empirically) the same for both memory capacity and processing speed?
@Mike Brown: thanks for your answer. Regarding my "hypothesis" about functional languages vs. memory consumption, this is due to the intensive use of immutable data structures - this would surely avoid lock and standard concurrency, but I guess it also translates in more memory usage.
Dec
20
comment Is there still a need for writing SQL?
@Mr. CRT: Hm, you mean those "applications" that doesn't need any kind of user interface whatsoever, and that could even be completely written using some sort of SQL extension language (like PL/SQL or TSQL)? OK, fair enough. In fact, I'll let you keep even the BI and data mining applications; I guess an ORM would not matter that much there too... But I still think that, for any other kind of transactional application with a real end-user interface, an ORM tool would not only speed development and maintenance, but also improve overall performance.
Dec
17
comment Is there still a need for writing SQL?
@Mr. CRT: my lack of understanding would be easily solved by simply giving an example! ;-)
Dec
17
comment Is there still a need for writing SQL?
Mr. CRT: hurts performance?!? OK, I surely can imagine such a situation - but I have never found it on real world scenarios. An optimized, ORM based application has, most of the time, better performance precisely because of first and second level caching... The DBMS is the main bottleneck for almost every kind of application (I work with web internet development btw), and to be able to avoid querying it is definitely a good thing! Besides that, yes, I can have the benefits of ORM without an ORM - but what's the point? Just stubbornly reinventing the wheel?!
Dec
17
comment Does ORM promote database de-normalisation?
And many ORMs are capable of multi-table inheritance: (N)Hibernate and RoR ActiveRecord do, for instance.
Dec
17
comment Is there still a need for writing SQL?
Leaky abstractions aside, people here seem to forget that most ORMs have many advantages over plain SQL queries: first and second level cache, lazy loading (with eager loading being an option in order to avoid the N + 1 issue) and being able to unit-test the data access layer (by switching the DBMS for a in-memory database), just to name a few...