3,294 reputation
817
bio website contexo.de
location Germany
age 53
visits member for 3 years, 3 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


May
7
comment Decimal to 17-bit 2's Complement Signed Number
Great you made it clear how the deciaml numbers are being converted. But, wouldn't it be easier to just take 2*65536/100 * -1, and since all java integers are in 2s complement, we already have the bit pattern.
May
7
revised Decimal to 17-bit 2's Complement Signed Number
added 502 characters in body
May
7
comment Decimal to 17-bit 2's Complement Signed Number
@Mark There is no such thing as 2's complement for non integers. Please take note. If you want 0.02, we need a specification how to represent it. I'll edit my post and add some comments.
May
7
answered Decimal to 17-bit 2's Complement Signed Number
May
7
comment Decimal to 17-bit 2's Complement Signed Number
You have 7-bit bytes? Still, 3 of them would make 21 bits, not 17.
May
4
answered Is there any situation when there's no alternative to instanceof?
May
2
comment Boolean Method Naming Affirmative vs Negative
I always use ìsItTheCaseThat...., this greatly enhances readability.
May
2
revised Feature boundaries in functional programming
added 749 characters in body
May
2
answered Feature boundaries in functional programming
Apr
29
comment Can an 81 digit number generator lead to copyright infringement?
@Caleb - I think totally different: once the Sudoku rules are fixed, there exist so many valid puzzles, and everyone is free to find them and write them actually down. You wouldn't argue that certain right-angeled triangles could be patented, or certain prime numbers (though, finding them gets harder and harder as the numbers grow).
Apr
25
comment Why does Haskell have built-in “if/then/else” instead of defining it as a simple library function?
@TikhonJelvis Sure, but with if/then/else you don't need a special function that must always get inlined. You don't even need an inlining pass and still you can generate decent code. Not all the world is GHC.
Apr
24
answered Why does Haskell have built-in “if/then/else” instead of defining it as a simple library function?
Apr
23
comment Why does Microsoft have such a bad reputation with the people involved in open source?
The answer is actually too simple: Open Source developers are developers. And MS didn't care to maky anything better than cmd.exe in the last 30 years. That's why.
Apr
2
comment Why didn't == operator string value comparison make it to Java?
@WillihamTotland - more general, relying on object identity is a code smell. It is like not defining a primary key on a table in a SQL database and fuddling around with ROWIDs.
Mar
21
awarded  Yearling
Mar
18
comment Is there an optimal number of lines of code per function?
Even better if the function does nothing, but just tells what the result is.
Mar
17
comment Have they missunderstood currying or have I?
Not knowing javascript, but couldn't you f2.curry(2)(3)
Mar
17
comment How do you remember where in your code you want to continue next time?
Eclipse opens all files I had open when I closed it, at the very same position. If that doesn't help, git status git diff` and git log are your friends.
Mar
16
answered Is using `continue`, `break` in non-`switch` loops and `?:` bad practice?
Mar
16
comment A string is immutable, so why are they not all constants?
I am not the downvoter - but do you consider that not all the world is Java or C#?