Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

122 - 132, 85-92 místo stringu použij enumerátory #8

Closed
Tracked by #5
Cemonix opened this issue Nov 18, 2021 · 1 comment
Closed
Tracked by #5

122 - 132, 85-92 místo stringu použij enumerátory #8

Cemonix opened this issue Nov 18, 2021 · 1 comment

Comments

@Cemonix
Copy link
Collaborator

Cemonix commented Nov 18, 2021

Zbytečná classa a importovaná knihovna navíc, jen abych ušetřil pár uvozovek

@daviholy
Copy link
Owner

to není zbytečné, enum je ve standardní knihovně a importování je dost rzchlé, takže v tom problém není, enum ti nabízejí lepší možnosti debugování(nemůžež se upsat a mít někde například meyeru navíc) a navíc mají konstatní složitost, narozdíl od stringu, který jí má lineární

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants