3,359 reputation
917
bio website contexo.de
location Germany
age 54
visits member for 4 years
seen Mar 4 at 21:08

I am interested in functional programming and the java platform.

I wrote and published a programming language named "Frege" (after the great german logician) that brings together both worlds.

The language is in many respects like haskell (syntax, type system, lazy semantics) but allows to use java methods as functions.

For more information see https://github.com/Frege/frege


Mar
21
awarded  Yearling
Feb
21
comment Why languages that compile to C/C++ generate unreadable, cryptic code?
Well, ((lambda (x) (+ 1 x)) 17) has a C++ equivalent. Its 18, I guess, or at least 1+17.
Dec
7
comment Which are the cases when 'uint' and 'short' datatypes are a better fit than the standard int(32)?
@JackAidley Obviously much more, in the given context. It goes without saying that one must used unsigned only in contexts where negative numbers make no sense.
Dec
7
comment Which are the cases when 'uint' and 'short' datatypes are a better fit than the standard int(32)?
@JackAidley Exactly. For example, the meaning of 5-6 is a number that, when incremented, yields 0. (We don't conflate "meaning" and "printed representation", do we.)
Dec
6
comment Which are the cases when 'uint' and 'short' datatypes are a better fit than the standard int(32)?
@JackAidley I am quite sure what you say makes no sense, as 5-6 yields the same bit pattern, no matter if its unsigned or not.
Oct
27
comment Long Filename Extensions: Why Not
@Zack Please tell me what exactly in the sentence "There is no such thing as a file extension." you didn't understand? By the way, it should be "file name extension". But even then, in more recent operating systems, like UNIX, it is at best a convention that a file named file.c contains C source, etc. There is no place in the OS where a filename is interpreted.
Sep
27
answered Why do most programming languages have special keyword or syntax for declaring functions?
Apr
15
comment What's the point of adding Unicode identifier support to various language implementations?
Yes, but then, only a few characters look alike and then it is, as so often, a matter of style, coding guidelines and quaity assurance that'd have to make sure you don't use 3 different characters that look like A in one place. OTOH, being a freedom-lover I abhor forbidding something just because one is not sure it could possibly be abused by someone.
Apr
2
comment Zero behavior objects in OOP - my design dilemma
You can even enhance your data objects by making them immutable.
Mar
21
awarded  Yearling
Mar
12
comment Are null references really a bad thing?
null per se isn't bad. A type system that makes no difference between type T and type T+null is bad.
Mar
3
comment Is pattern-matching against types idiomatic or poor design?
How much sense does it make to view a functional language from an OOP perspective? Anyway, the real power of pattern matching comes with nested patterns. Just checking the outermost constructor is possible, but by no means the whole story.
Mar
2
comment What negative consequences can arise from this language design rule?
@yannbane And yet, you compare it with Scala ...
Mar
2
answered What negative consequences can arise from this language design rule?
Feb
28
comment What exactly is procedural programming? How exactly is it different from OOP? Is it the same as functional programming?
@JohnK Java and C# developers mostly adhere to the Single Responsibility Principle - Lip service?
Feb
28
comment What exactly is procedural programming? How exactly is it different from OOP? Is it the same as functional programming?
@JohnK I know that it is no good practice. Yet a common one. Especially among Java developers, if one can judge by what one sees everyday on SO.
Feb
28
comment What exactly is procedural programming? How exactly is it different from OOP? Is it the same as functional programming?
Imperative OOP actually is procedural programming, so it is exactly what you're doing all the time ...
Feb
28
answered What exactly is procedural programming? How exactly is it different from OOP? Is it the same as functional programming?
Feb
22
answered Are there any compilers that attempt to fix syntax errors on their own?
Feb
22
comment What's the simplest example out there to explain the difference between Parse Trees and Abstract Syntax Trees?
No @Winston, not so "... and that every useful data structure that appears in a compiler is an AST." Never said that. As for the orthography and biology, you're just nitpicking. Sorry for not being a native speaker. BTW, despite us having different opinions, I for my part did not downvote you.