Aatmaj-Zephyr / Aatmaj-Zephyr/Complex-numbers

Use methods in place of constructors.

Open
#16 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Use methods like Complex.fromFloatingPoint(23.0) in place of new Complex(23.0) do it by enforcing- making the corresponding constructors private.

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.