| bio | website | tech.turbu-rpg.com |
|---|---|---|
| location | Seattle, WA | |
| age | 30 | |
| visits | member for | 2 years, 8 months |
| seen | 3 hours ago | |
| stats | profile views | 1,776 |
A lifelong programmer who's been coding in Delphi since its initial release and currently makes a living at it.
|
9h |
comment |
Why are nested loops considered bad practice? @user958624: Obviously this is a very high-level overview of a general algorithm. Like the "matches" operator, the "<" must be defined in a way that is correct in the context of the data being compared. If this is done correctly, the results will be correct. |
|
10h |
answered | What's the difference between a stream and a queue? |
|
10h |
reviewed | Reject suggested edit on What is the most profitable program ever written? |
|
10h |
comment |
Why are nested loops considered bad practice? @RobertHarvey: Of course. But that's still far less than O(n^2) for non-tiny values of N. |
|
12h |
answered | Why are nested loops considered bad practice? |
|
1d |
reviewed | Approve suggested edit on Effective team meetings |
|
1d |
awarded | Nice Answer |
|
1d |
comment |
What can you specifically do with Basic? @Steve314: You're still thinking in terms of abstractions. You assume an interpreter. You assume an OS. You assume a virtual memory manager. You're taking all sorts of abstractions that exist in the current implementation and arbitrarily deciding that they make it impossible. Throw all of that away, reimplement everything without them, from the ground up, with no C, and it would be possible. |
|
1d |
reviewed | Approve suggested edit on Include exceptions in the first letter capitalization with jQuery |
|
1d |
comment |
What can you specifically do with Basic? @Steve314: You're thinking in terms of abstractions, and not in terms of what's actually going on. At the lowest level, device I/O is implemented simply by reading from or writing to a specific memory address. :) |
|
2d |
comment |
What can you specifically do with Basic? @JonPurdy: Yes, when the language lacks specific interfaces, you can't utilize them. But it's still (theoretically) possible to recreate all of the OS functionality without it, so you wouldn't need those bindings. That's what Turing completeness means. The language can (theoretically) do anything, but it won't necessarily be practical or even sane to try. I certainly wouldn't take you up on your challenge. I'm actually a contributor to SDL, and it's tough enough to get things right in C! :P |
|
2d |
comment |
What can you specifically do with Basic? @JonPurdy: Sure, it can't communicate with a C library, but it could implement the same functionality that that library provides. Turing completeness means you can create any program. It does not mean that you can do so efficiently or conveniently. |
|
2d |
answered | What can you specifically do with Basic? |
|
2d |
answered | May I keep my program closed source if I link it against a static library of which the source is GNU GPLv2? |
|
2d |
comment |
Subranges in Pascal @veryfoolish: FPC is a Delphi clone. It probably follows Delphi's example on this point. Try looking for an option for bounds checking in the project properties, and make sure to enable it. |
|
2d |
comment |
How to write readable Clojure Code? Writing readable Lisp code is difficult in general. They invented the backronym "Lost In Superfluous Parenthesis" for a reason. |
|
2d |
comment |
Subranges in Pascal @veryfoolish: What Pascal compiler are you using to test this? Does it support bounds checking? If so, is the support guaranteed or optional? If optional, do you have bounds checking on or off? |
|
2d |
answered | Subranges in Pascal |
|
2d |
comment |
Subranges in Pascaldecr(k)? What flavor of Pascal is this? I'm familiar with dec(), but not decr()... |
|
May 20 |
reviewed | Reject suggested edit on Beginner webdeveloper. How to make development right? |