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

Code metrics improvements / code optimizations / production (readability/coupling/complexity) #65

Closed
wants to merge 1 commit into from

Conversation

default-writer
Copy link

LinkedList optimizations:
-added counter variable
-added overflow/underflow exceptions
-moved counter to read-only property
-moved code to function nodeAtIndex function
-changed variables to optionals for readability
-removed overcompilcated code blocks
-removed Enumerable constraint for T
-removed print

LLNode optimizations:
-added default init and parametrized init to LLNode

Tests modifications:
-added try! code block to bypass exception handling

…ity/coupling/complexity)

LinkedList<T> optimizations:
-added counter variable
-added overflow/underflow exceptions
-moved counter to read-only property
-moved code to function nodeAtIndex function
-changed variables to optionals for readability
-removed overcompilcated code blocks
-removed Enumerable constraint for T
-removed print

LLNode<T> optimizations:
-added default init and parametrized init to LLNode<T>

Tests modifications:
-added try! code block to bypass exception handling
@default-writer
Copy link
Author

Wanted to pull into waynewbishop/develop trunk - missed that little button in GitHub, then.

@default-writer
Copy link
Author

pull request #66 is opened

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

Successfully merging this pull request may close these issues.

None yet

2 participants