Questions tagged [builder-pattern]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
35 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 ...
Martin York's user avatar
  • 93.8k
2 votes
0 answers
45 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
69 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
97 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
  • 213
3 votes
1 answer
72 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,351