G-Node / G-Node/nix

Back-end: distinguish between creation and opening of entities

Open
#523 6 comments 0 reactions 0 assignees View on GitHub
code quality
Dominant language
C++
Stars
72
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Currently the back end classes (such as BlockHDF5) have constructors used for both, creation and opening of entities.
It would be nicer to used constructors just for opening entities and create them using a static member function `create`.

This is also related to #305

Contributor guide

Open the contributing guide

Research direction

Review the back-end classes mentioned in the issue, especially BlockHDF5, and read the discussion in issue #305 first. Map which constructors currently create or open entities; completion means the intended creation and opening paths are consistently separated across the back end.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.