cginternals / cginternals/webgl-operate
reduce re-implementation of common templates
- Dominant language
- TypeScript
- Stars
- 170
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
this issue is intended for collecting small patterns that are heavily/frequently used within webgl-operates code basis. I would like to see these "snippets" replaced by, e.g., some form of meta programming, transpiling, or something similar ...
Setter only setting when different:
```TypeScript
set object(object: Type) {
if (object === this._object) {
return;
}
this._object = object;
/* bookmark alteration or trigger some update/recomputation ... */
...
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
No files, tests, or entry points are named. First inventory the repeated setter pattern across the TypeScript codebase and determine whether a specific metaprogramming or transpiling approach is wanted; the issue is complete only when the scope and replacement strategy are defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100