Skip to main content

Questions tagged [builder-pattern]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
1 answer
683 views

Using builder pattern and facade pattern in real project

The code below is used to upgrade the firmware of three different types of cameras. I am not good at design patterns. I wonder if it is suitable to use builder pattern and facade pattern here. Since ...
John's user avatar
  • 417
0 votes
0 answers
32 views

Thread pooled bidirectional breadth-first search in Java for graphs with slow node expansion - part II/II: fluent APIs for builders

Intro This post follows Thread pooled bidirectional breadth-first search in Java for graphs with slow node expansion - part I/II: the algorithm. Basically, these are build patterns leveraging fluent ...
coderodde's user avatar
  • 28.7k
2 votes
1 answer
46 views

Comparison of Named parameters and the Java Builder pattern in C++

OK writing a C++ wrapper on top of openSSL. Setting up the SSL_CTX* object. There are a whole bunch of extra functions to specify functionality on how this object ...
Loki Astari's user avatar
  • 95.2k
2 votes
0 answers
48 views

Print columns of text without hard coding the width (attempt 6 - pivot edition)

If you'd like to pivot this: ...
candied_orange's user avatar
4 votes
0 answers
79 views

Print columns of text without hard coding the width (attempt 5)

If you'd like to print this: ...
candied_orange's user avatar
2 votes
1 answer
150 views

Idiomatic builder pattern in Rust

I have a couple of questions regarding how builder should be implemented idiomatically in Rust when it's necessary to call its parts depending on some flags. Here's my take on three different designs ...
sukhmel's user avatar
  • 223
3 votes
1 answer
95 views

Builder Pattern for factory creation of beings with different races

Races have many distinguishing physical characteristics. But apart from appearances, different races have other distinguishing characteristcs, all of I've decided to be built using the Builder ...
prestokeys's user avatar
  • 1,371