Reputation
703
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
5 14
Newest
 Quorum
Impact
~13k people reached

Aug
1
awarded  Quorum
Jul
19
accepted Origin of “a method should return a value or have side-effects, but not both”
Jul
16
comment Origin of “a method should return a value or have side-effects, but not both”
@gnat I ask about the benefit claimed by the author (again, fearing closure), but I sure don't mind the pile-on reasons--they're answering the question I actually wanted to ask. If I were to remove "claimed" from my question, making the pile-on answers on-topic, would that push the question too far into the subjective?
Jul
16
revised Origin of “a method should return a value or have side-effects, but not both”
edited tags
Jul
16
comment Origin of “a method should return a value or have side-effects, but not both”
@gnat Yes, it is primarily about history. I feared that the extra credit part was too subjective to stand on its own, and that history stood a better chance of escaping closure. I'll add the tag.
Jul
16
comment Origin of “a method should return a value or have side-effects, but not both”
@gnat My question came in two parts: The main question ("who"), and the extra credit ("why). Doesn't this address the extra credit part?
Jul
16
revised Origin of “a method should return a value or have side-effects, but not both”
More better English in title
Jul
16
asked Origin of “a method should return a value or have side-effects, but not both”
Sep
24
awarded  Autobiographer
Feb
23
accepted Is this mini-DSL for hiding URI passwords compatible with the URI spec?
Feb
20
comment Is this mini-DSL for hiding URI passwords compatible with the URI spec?
@Pete I understand your incredulity. It is a crazy scheme, and not a well-advised one. Due to the crazy, labyrinthian system, it will cost more time to do it the right way, time that is a rare resource for me, but I think I may need to abandon this scheme even at the cost of more time. I tried this scheme today, and it is awful. The URIs are a monster to read and work with, and converting the existing URIs to this scheme would be quite a bit of work in itself.
Feb
20
comment Is this mini-DSL for hiding URI passwords compatible with the URI spec?
@Pete In this system there is, with few exceptions, a one-to-on mapping between URIs and passwords, so the lookup is generally per-URI.
Feb
20
comment Is this mini-DSL for hiding URI passwords compatible with the URI spec?
@Aaronaught - You're right. I plead "legacy code" and throw myself on the mercy of the court. The ability to transfer files by FTP &c. was grafted onto a system that thinks it is only sending email. At one time, these URIs were only email addresses.
Feb
20
asked Is this mini-DSL for hiding URI passwords compatible with the URI spec?
Feb
20
awarded  Scholar
Feb
20
accepted How does BASIC locate an out-of-order NEXT statement when the loop body is skipped
Feb
20
answered How does BASIC locate an out-of-order NEXT statement when the loop body is skipped
Feb
18
comment How does BASIC locate an out-of-order NEXT statement when the loop body is skipped
Thank you for taking a stab at this odd question. I have now confirmed that the BASIC used in the book, when encountering the second FOR statement having the same counter variable, forgets about the first FOR statement and restarts the loop from the second one. This contradicts your stab in the dark. It's an odious way to write loops, but BASIC is smelly stuff anyway.
Feb
17
revised How does BASIC locate an out-of-order NEXT statement when the loop body is skipped
basic tag first. typo.
Feb
17
comment How does BASIC locate an out-of-order NEXT statement when the loop body is skipped
This is very helpful, thank you. The book has a DEC version, a TRS-80 version, and a microcomputer version. The programs in the microcomputer version are in Microsoft 8080 basic (MITS Altair Basic Rev 4.0); that is my interpreter's target.