5,701 reputation
12139
bio website github.com/DanielWaterworth
location United Kingdom
age 22
visits member for 3 years, 4 months
seen 5 hours ago

Jan
4
comment What do you wish language designers paid attention to?
@David, This isn't the general case; you can't write drivers in python, C isn't suited to web development.
Jan
4
comment What do you wish language designers paid attention to?
The future isn't a graphical abstraction, it's a language abstraction. In the future, compilers will be smarter and will be able to transform high-level code into efficient low-level code. Think python competing with C speed. This will allow programmers to be lazier and everyone knows that lazy programmers are best. It's been happening since people stopped writing primarily in assembly and it is continuing to happen.
Jan
4
comment What do you wish language designers paid attention to?
@Jeremy, yes, that's exactly what I'm saying, but I think it's uncommon for a language to work well in a domain it wasn't designed for.
Jan
4
comment What mistakes do language writers often make which doom their language?
-1, I find the opposite is true.
Jan
4
comment What do you wish language designers paid attention to?
+1, import this, antigravity
Jan
4
revised What do you wish language designers paid attention to?
edited body
Jan
4
answered What do you wish language designers paid attention to?
Jan
4
revised How do I figure out the minimum number of swaps to sort a list in-place?
added 327 characters in body
Jan
4
comment How do I figure out the minimum number of swaps to sort a list in-place?
There's 2 subgraphs [e, d, a, b] and [c]. so it's three. I'll update my answer to try to explain the 'enclosed subgraphs' better.
Jan
4
answered How do I figure out the minimum number of swaps to sort a list in-place?
Jan
3
comment Which self balancing binary tree would you recommend?
@Steve314, I know, trees can be fiendishly complicated in imperative language, but surprisingly, implementing them in Haskell has been a breeze. I've written a regular AVL tree and also a 1D spatial variant over the weekend and they're both only about 60 lines.
Jan
3
revised Is Haskell's type system an obstacle to understanding functional programming?
grammar correction
Jan
2
comment Is it possible to write an anti-virus like thing using C# or Python?
@Rook, I know, mine was a joke too. I said there's no known way to decrypt perl.
Jan
2
answered Is Haskell's type system an obstacle to understanding functional programming?
Jan
2
comment Is it possible to write an anti-virus like thing using C# or Python?
@Rook, They're not strict encrypted, as there's no known way to decrypted them. I think it's more likely they're the output of a hash function =P
Jan
2
comment Is it possible to write an anti-virus like thing using C# or Python?
It's impossible to say conclusively whether a file is encrypted or not.
Jan
2
answered Is it possible to write an anti-virus like thing using C# or Python?
Jan
1
comment Which self balancing binary tree would you recommend?
Thanks, I'm working on an AVL tree now.
Jan
1
accepted Which self balancing binary tree would you recommend?
Jan
1
comment What are the common revenue models for free-software companies?
ok, I'll delete my comments