fibercrypto / fibercrypto/fibercryptowallet

Unify generics code

Open
#290 0 comments 0 reactions 2 assignees Claimed by @hsequeda View on GitHub
core
Dominant language
Go
Stars
29
Forks
15
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
The code for iterating over sequences and collections is scattered across multiple classes due to the fact that golang has no support for generics.

**Describe the solution you'd like**
Write a generic iterator code once and then wrappers to perform appropriate type coercion . Possible candidates are:

- [ ] `Iterator` and derived types
- [ ] `FiniteIterator` and derived types

**Describe alternatives you have considered**
[Golang does not support generics](https://appliedgo.net/generics/) .

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.