| bio | website | |
|---|---|---|
| location | ||
| age | 22 | |
| visits | member for | 2 years |
| seen | Apr 7 at 2:40 | |
| stats | profile views | 49 |
|
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 25 |
comment |
Should I teach my students alloca? @AlexWebr: I was trying to refer to the function == stack frame concept that is so ingrained in C. If you program in assembly language you don't need to use "The Stack" if you don't want to. |
|
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 | suggested edit on Is it OK to use dynamic typing to reduce the amount of variables in scope? |
|
Nov 12 |
comment |
Is it OK to use dynamic typing to reduce the amount of variables in scope? I can also name ALGOL as a language that provides scopes. I was whining about how its not easy to "terminate" a variable's lifetime in a non nesting manner. And "reusing" a variable is not totally incompatible w/ single assignment - creating a new variable with the same name, shadowing the old one does basically the same thing (and is one of the reasons I am sad that Haskell doesn't support let, only let-rec ) |
|
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 :) |