940 reputation
47
bio website
location
age
visits member for 3 years, 3 months
seen 9 hours ago

Nov
16
answered Git and merge commits
Nov
10
revised Can objects constructed from the same class have unique method definitions?
added 27 characters in body
Nov
10
answered Can objects constructed from the same class have unique method definitions?
Nov
9
comment Are there any actual drawbacks to self-referential method chaining?
BUT, what if your are the only one finding method chaining more readable? If this is a matter of sytilistic issue, then you'll have stick to a set of coding conventions: this means, writing in the same fashion as existing code, for consistency.
Nov
2
comment Generics in low level languages
As an inspiration, have a look at Ada implementations. Ada can produce low-level code and has quite capable generics. Second, note that compiling to C from another language might complicate static type checking (you will probably have to know how C deals with types in your language).
Oct
23
comment Python Coding standards vs. productivity
I would add that the deadline will be missed, almost certainly. This is a death march and someone will try to blame you. Just be sure you document everything: keep track of how much time you spend on each task, archive all mails and/or chat logs so that you can defend yourself.
Sep
29
answered Are there programming languages that allow you to do set arithmetic on types?
Sep
26
answered C++: Metaprogramming with a compiler API rather than with C++ features
Sep
23
revised Is it okay to use exceptions as tools to “catch” errors early?
added 1 character in body
Sep
15
answered Is it okay to use exceptions as tools to “catch” errors early?
Aug
22
comment Is there any practical use for the empty type in Common Lisp?
@PauloMadeira The answer is now edited, for the better I hope. Thanks for your comments.
Aug
22
revised Is there any practical use for the empty type in Common Lisp?
added 996 characters in body
Aug
21
revised Is there any practical use for the empty type in Common Lisp?
added 335 characters in body
Aug
21
comment Is there any practical use for the empty type in Common Lisp?
@PauloMadeira Thanks for the detailed explanations, I wasn't aware of this. (1) Does it mean for SBCL that some declarations, like error, will eventually be changed to use (values &optional)? (2) You said that "there is no portable way", yet values is "the only reliable way"; I am little lost here, isn't it portable? (3) you say that since it is impossible to have a value of type nil, the function definition with nil is necessarly wrong: but functions are allowed to not return values; wouldn't signaling an error/warning for the declaration be incorrect, by over-approximation?
Aug
21
revised Is there any practical use for the empty type in Common Lisp?
added 21 characters in body
Aug
21
revised Is there any practical use for the empty type in Common Lisp?
added 700 characters in body
Aug
21
comment Is there any practical use for the empty type in Common Lisp?
@PauloMadeira (i) You might be confusing the NULL type with the NIL type (aka. "empty type"); (ii) It is true that this is an undefined behaviour. I'll edit to make it clear, thanks.
Aug
2
awarded  Yearling
Jul
30
revised Filtering a List
Change to match original question format
Jul
30
revised Filtering a List
added 2 characters in body