1,707 reputation
513
bio website inf.puc-rio.br/~hgualandi
location Brazil
age 24
visits member for 3 years, 7 months
seen 18 hours ago

Dec
13
revised Why is Python recommended as an entry level programming language?
deleted 4 characters in body
Dec
13
comment Why is Python recommended as an entry level programming language?
At you last point: people often mix up dinamic typing with weak typing. Python is dynamically typed (types associated to values instead of variables) but is also strongly typed (so programs crash instead of silently swallowing conversion errors)
Dec
13
answered Why is Python recommended as an entry level programming language?
Dec
13
awarded  Scholar
Dec
13
accepted Should I provide synonyms in an API?
Dec
12
comment Should I provide synonyms in an API?
What if a function is known by multiple names (like foldl vs reduce, I vs id, etc?)
Dec
12
asked Should I provide synonyms in an API?
Dec
12
revised What's the term for “while(true)” loop with “break” inside?
added 2 characters in body
Dec
12
answered What's the term for “while(true)” loop with “break” inside?
Dec
12
comment What are the disadvantages of unobtrusive script patterns in web applications?
I think the term "unobstrusive Javascript" was originally more for when your page can also work fine without Javascript (due to using an old browser or having it disabled). I don't know if it still as relevant now given how most people now use Javascript compatible browsers.
Dec
5
comment What hurts maintainability?
Isn't this a bit tautological? :)
Dec
1
comment Elegant ways to handle if(if else) else
I don't like implicitely passing arguments as instance variables like that. You get full of "useless" instance variables and there are many ways to botch up your state and break the invariants.
Nov
29
comment What would you do if your client required you not to use object-oriented programming?
@Marcin: its true that modern FP languages are quite powerful. I just really wanted to point out the distingction between data-structurs/ADTs and OO
Nov
29
answered What would you do if your client required you not to use object-oriented programming?
Nov
23
awarded  Nice Answer
Nov
18
answered Is it better to return NULL or empty values from functions/methods where the return value is not present?
Nov
17
revised Is it OK to use dynamic typing to reduce the amount of variables in scope?
formatting
Nov
17
suggested approved edit on Is it OK to use dynamic typing to reduce the amount of variables in scope?
Nov
12
comment Can a function be too short?
I'm talking about things identity function from the Haskell standard library - I don't think you can get more "tautological" then that :)
Nov
11
comment Is it OK to use dynamic typing to reduce the amount of variables in scope?
I can imagine it would be horribly comlicated but I don't think it would cause any runtime problems. Scoping can be determined statically by the compiler.