Input checks flag bugs in your caller’s code. Output checks look for bugs in your own code. Do you really need checks on the output? I admit that check conditions can be verified via assertions in some unit tests. In that case, you don’t strictly need such checks buried in the run...
The UI could set this flag at any point, and the worker thread code would test the flag regularly during its execution to see if it should abandon its work. Given this approach, there are some decisions to make: if the UI cancels the operation, does it then wait until the worker ...
This is unlike many contemporaneous desks of today when one sitting across from the manager must twist their legs to the side to work on the paperwork on the desk. Two chairs faced the desk and behind it was a credenza with two flag poles and two pictures of the president and...
Bob gave a bit of fresh air to our stagnant hobby with his double-bubble pins, meaning one smaller button mounted on a larger button. It’s a very unique look. I was on a Guardfrog kick for a while buying several hundred of his designs. In general, prices on many pinback buttons ...
As the poet Paul Celan once said, “a poem, as a manifestation of language and thus essentially dialogue, can be a message in a bottle, sent out in the—not always greatly hopeful—belief that somewhere and sometime it could wash up on land, on heartland perhaps. Poems in this sense,...
(Keep reading for a giveaway featuring Northside USA Shoes!) Make a Mud Pie or Garden Soup The perfect kitchen may be outside! Find dirt or sand and a water source and pour batter-like mud into used measuring cups, pans, cupcake and pie tins, and pails. Decorate with leaves, petals ...
Input checks flag bugs in your caller’s code. Output checks look for bugs in your own code. Do you really need checks on the output? I admit that check conditions can be verified via assertions in some unit tests. In that case, you don’t strictly need such checks buried in the run...
public class Foo { public void CallBar() { lock (this) { Bar myBar = new Bar (); myBar.BarWork(this); } } // This will be called back on a worker thread public void FooWork() { lock (this) { // do some work ••• } } } public class Bar { public void BarWork(...
public class Foo { public void CallBar() { lock (this) { Bar myBar = new Bar (); myBar.BarWork(this); } } // This will be called back on a worker thread public void FooWork() { lock (this) { // do some work ••• } } } public class Bar { public void BarWork(...