News for hackers. Stuff that matters.
Re:Clear is better than clever [pdf] by fjsolwmv on Tuesday May 07, 2019 @08:31AM (#19848770)
A Supplier is when a function needs a value, and instead of providing a value as an argument, you pass in callable:

Foo(int x){return x+1} becomes Foo(Supplier x){return x() + 1}

Re:Clear is better than clever [pdf] by pojzon on Tuesday May 07, 2019 @08:59AM (#19848935)
Function that supplies value, can also encapsulate alot of data generation code. After that you can write a strategy to select which data generation algorithm (supplier) shpuld be used.

Thats my cause.

Re:Clear is better than clever [pdf] by brigandish on Wednesday May 08, 2019 @12:27AM (#19855867)
Thanks.