3,294 reputation
817
bio website contexo.de
location Germany
age 53
visits member for 3 years, 4 months
seen May 13 at 12:58

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


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.
Feb
21
comment What's the simplest example out there to explain the difference between Parse Trees and Abstract Syntax Trees?
But there they say exactly what I am saying, in short that "AST" is a word for useful data structures that appear in compilers. For example, there is a section about "Designing an AST". Therefore, it is nonsense to claim, that an AST contains this or that data (even if the Wiki article itself does this). It is simply a category error, like saying: "A carnivore has 32 teeths." - No! Carnivore is a family of species, which have sub-species, which have individuals, which have teeths (or not). A set of sets of Xs is not itself a set of X, this is or should be basic knowledge.
Feb
20
comment What's the simplest example out there to explain the difference between Parse Trees and Abstract Syntax Trees?
So, surely, you can name a source for your claim? Or is this just your private definition?
Feb
20
comment What's the simplest example out there to explain the difference between Parse Trees and Abstract Syntax Trees?
@WinstonEwert I claim that "parse tree" and "abstract syntax tree" are abstractions and mean nothing more than "suitable data structures". So, the answer is that the question in its generality does not make sense, unless you ask for the difference between the return type of the parser and the return type of some other pass in compiler X.Y of language L.
Feb
20
revised In functional programming how does one achieve modularity through mathematical laws?
added 21 characters in body
Feb
20
comment What's the simplest example out there to explain the difference between Parse Trees and Abstract Syntax Trees?
You forgot to mention in which compiler for what language this is implemented this way. Because, you know, you don't have to ... the parser could as well throw away the parenthesis right away.
Feb
20
answered What's the simplest example out there to explain the difference between Parse Trees and Abstract Syntax Trees?
Feb
20
answered In functional programming how does one achieve modularity through mathematical laws?