Reputation
17,750
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
1 47 70
Newest
 Nice Answer
Impact
~286k people reached

Aug
13
awarded  Nice Answer
Aug
13
answered Why don't “multi-infinite” list comprehensions work with lazy evaluation?
Aug
13
comment What prevents others from commerciallly redistributing open source software as-is?
There's a conflict between "allow commercial use" and "don't sell as-is". It is hard to define "as-is" in a satisfactory way: It can't simply mean bit-identical because it is easy to change some really minor aspect without meeting your intent, but to define "sufficently substantial" changes in a way that will hold up in court will at least require consultation with a lawyer, if possible at all.
Aug
13
awarded  Nice Answer
Aug
12
revised Is there any practical way for a linked node structure to be immutable?
added 83 characters in body
Aug
12
revised Is there any practical way for a linked node structure to be immutable?
added 16 characters in body
Aug
12
revised Is there any practical way for a linked node structure to be immutable?
deleted 108 characters in body
Aug
12
answered Is there any practical way for a linked node structure to be immutable?
Jul
25
comment What should JITed bytecode do exactly?
The last point cannot be overstated. All of these libraries take code that's almost at the level of machine code, and turn it into actual machine code. The tricky part in compiling most languages that are called "scripting languages" is getting from the dynamically typed, late-bound, huge, complicated source language to something that is even remotely efficient.
Jul
25
comment What should JITed bytecode do exactly?
@JörgWMittag Perhaps some Forth programs are faster than a C program that you spent the same amount of time writing and optimizing, but often faster than hand-optimized C? You'll excuse me if I am massively skeptical. In fact, if I didn't associate your user name with quite a few good answers, I'd simply dismiss this as yet another instance of the flat-out wrong propaganda that plagues programming language advocacy.
Jul
25
comment What should JITed bytecode do exactly?
FYI the second is called threaded code.
Jul
23
awarded  Guru
Jul
21
comment Error handling in math library functions
If 0 is a meaningful default value, then that is independent of the specific numeric type. Conversely, if semantically zero does not make sense as fallback, the IEEE float 0.0 is not a good value to return.
Jul
20
awarded  Good Answer
Jul
20
comment rand() gives same numbers again for a small range
@Dorus You still need to generate and store the entire list though. In most cases where shuffling the entire list is prohibitive, that's already a dealbreaker.
Jul
20
awarded  Nice Answer
Jul
20
revised rand() gives same numbers again for a small range
added 12 characters in body
Jul
20
answered rand() gives same numbers again for a small range
Jul
16
answered Is async keyword an ultimate replacement for asyncio module?
Jul
13
comment Is there any programming language(s) which has mathematical number types?
@SimonB You seem to confuse cardinality with well-ordering or something related to it. A countable set has a bijection with the naturals, but there is no requirement that this mapping preserves order (or that there even is such a thing as an "order"). The rationals are countable, for example, even though there is yet another rational between any two rationals.