stan-dev / stan-dev/stan

Rebuild services using config objects with defaults

Open
#2,688 0 comments 0 reactions 2 assignees View on GitHub

Nobody has claimed this yet.

code cleanup i/o interface
Dominant language
C++
Stars
2.8k
Forks
388
Avg merge
2d 17h
Merged PRs (30d)
15

Description

Summary:

The service functions in stan/services are too hard to invoke because every argument must be supplied and there are over 20 of them for each service method.

Description:

Replace the existing service function design with a new design based on multiple inheritance of base configuration classes with defaults, validation and pretty printing, which may be shared among services. This keeps everything in straight C++ code, with no dynamic casts required, and allows the client to easily specify only the non-default parameters.

For design discussion and sketch, see this forum thread.

Current Version:

v2.18.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.