Reputation
251
Top tag
Next privilege 300 Rep.
Create new tags
Badges
2 7
Newest
 Editor
Impact
~7k people reached

  • 0 posts edited
  • 0 helpful flags
  • 339 votes cast
Jan
29
comment Is there a term for splitting a function into “prep” and “do” halves?
Absolutely, its the separation of concerns that makes this split appealing. What I'm wondering is what to call it. What should I call these two methods in my code, and, is there's some conventional term (more specific than SoC) for this pattern?
Jan
29
awarded  Editor
Jan
29
revised Is there a term for splitting a function into “prep” and “do” halves?
Added a relevant tag
Jan
29
asked Is there a term for splitting a function into “prep” and “do” halves?
Jan
29
awarded  Informed
Dec
29
comment If I need to use a piece of memory throughout the lifespan of my program, is it really necessary to free it right before program termination?
Can you cite something to support the idea that paged-out memory needs to be paged in to deallocate? That's obviously inefficient, surely modern OSes are smarter than that!
Sep
15
awarded  Yearling
Apr
30
comment Is type safety worth the trade-offs?
How so? What type system do you consider superior?
Apr
9
awarded  Civic Duty
Mar
13
comment Why do schools teach arrays over List?
But an array uses a pointer to a block of memory, internally. Why start at that specific level of abstraction?
Feb
26
comment Is it premature optimization to add database indices?
@LightnessRacesinOrbit: O contraire, advertisers pay to use Stack Exchange.
Jan
8
comment How are financial organizations planning for the degradation of old programming languages such as COBOL?
What kind of code base were you working on? Millions of LOC? I'm curious about at what size it makes sense to write a translator versus doing it by hand.
Sep
11
awarded  Teacher
Sep
11
comment What is the purpose of a Code Review
@gnat: The other answers address knowledge transfer and spotting bugs. These are important, but there's more to a code review.
Sep
11
answered What is the purpose of a Code Review
Aug
27
comment Does Agile force developers to spend more time actually working?
Citation needed. That's a bold claim; I've seen a lot of busy work in "agile" environments.
Feb
20
awarded  Critic
Feb
18
comment How to manage accidental complexity in software projects
What do you mean by "gestalt"? I've found that it's much like "paradigm" - commonly misused, or used to give something an air of academia.
Jan
30
comment Why should passwords be encrypted if they are being stored in a secure database?
+1 for mentioning disgruntled employees. It's easy to overlook when you're a one-man shop or a small company, but eventually you'll have people working with the data that you haven't personally vetted.
Nov
27
asked Are there established algorithms for spacing out objects of unequal size?