9,875 reputation
12241
bio website
location
age
visits member for 4 years, 1 month
seen 1 hour ago

9h
comment How did “Webservices” become such a buzz word?
Most things that become buzzwords aren't very magical, but people latch onto them anyay: structured programming, computer-aided software engineering, web services, the cloud, Internet of things and a long list of others.
Apr
22
comment provability of while loop vs for loop
A for-only language can produce while-equivalent behavior by decrementing the loop variable (assuming the language allows it) during iterations which aren't supposed to result in a termination. (E.g., for n in 1 to 2 { if condition then n := n-1 })
Apr
20
comment Why was the AT&T assembly syntax designed this way?
"Load" could work both ways: "Load 123 into register A" or "load register A with 123." The sigils call out immediate values ($) and registers (%), making it easier for the assembler to distinguish them from other symbols. This is particularly important in data movement instructions which on some processors have a very large number of variants.
Apr
17
comment Why was the Itanium processor difficult to write a compiler for?
More succinctly, Intel vastly underestimated the inertia from those wearing the yoke of backward compatibility. AMD beat Intel at its own game by taking the same evolutionary step from the x86 family that the x86 family did from the 8086/8088 family.
Apr
16
answered Does grouping threads by task improve performance?
Apr
11
awarded  Nice Answer
Apr
11
comment Is this code Clean, Effective and SOLID?
You may want to read my answer to this question for some advice on the way you have a couple of your constants named.
Apr
10
comment Is directly using Make considered obsolete?
POSIX make is also cross-platform.
Apr
10
answered Should I validate API output?
Apr
9
comment Is it conventional to name final/constant local variables in UPPER_SNAKE_CASE?
@MichaelT: That case dips its toe into a gray area. Even if it is static, not declaring the variable final means it's mutable and should be named following the convention for variables. I understand the intent, but all that would keep FOO_BAR a constant conceptually is good discipline on the coder's part. (Edit: Doval kinda beat me to it.)
Apr
9
answered Is it conventional to name final/constant local variables in UPPER_SNAKE_CASE?
Apr
6
comment Calculating uncompressed file size without uncompressing file in zlib
Read it more carefully. Just about every structure that describes a file has its uncompressed size.
Mar
30
comment NoSQL within SQL Server
I had a slightly more diplomatic answer that tried to find a (sane) reason why the architect might be doing this. On sober reflection, I'm getting on board with this answer instead.
Mar
29
comment Agile Use Of Dedicated Teams
Scrum's not in the Manifesto, either, and plenty of people think that's required to be "agile."
Mar
26
comment Is Erlang really an actor model language?
Erlang was also designed by people with a problem to solve, and when you're in that position, conceptual purity is often sacrificed at the altar of practicality.
Mar
25
comment Is it possible to layer filesystems on top of each other?
This is more of a system administration question than one about programming.
Mar
24
comment Alternative to goto-statement in this case?
@RemcoGerlich: You're looking for static to make the function invisible to the outside. A good compiler would take care of inlining it, which would result in the same code as a goto without the overhead of a function call.
Mar
24
comment Alternative to goto-statement in this case?
There was a study (pre-print, not peer-reviewed) on the use of goto in C that concluded that this is the case where they're being used and that applications which cause spaghetti are relatively rare.
Mar
23
comment What to call an HTTP API that is not RESTful?
Something RESTful would fit that definition, too.
Mar
22
comment Function naming design in a C Library
@reader: The additional burden separate functions puts on the user is outlined in the answer I just posted.