Skip to content

Completed CollectSliceIntoStringSlice implementation with unit tests - #13

Merged
synesissoftware merged 2 commits into
synesissoftware:masterfrom
Hazzoz:generic
Nov 26, 2025
Merged

synesissoftware merged 2 commits into
synesissoftware:masterfrom
Hazzoz:generic

Conversation

@Hazzoz

@Hazzoz Hazzoz commented Nov 26, 2025

Copy link
Copy Markdown
Collaborator

Completed CollectSliceIntoStringSlice implementation with unit tests

@synesissoftware synesissoftware left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change variable names. Otherwise, looks good.

Comment thread slices/collect_slice.go Outdated

result_slice := make([]string, len(input_slice))

for i, s := range input_slice {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choice of local variable names is a bit misleading. Suggest instead you replace s with t and replace a with s

Comment thread slices/collect_test.go

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@synesissoftware

Copy link
Copy Markdown
Owner

Also, please add a line into README.md

@synesissoftware synesissoftware left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@synesissoftware
synesissoftware merged commit 778914f into synesissoftware:master Nov 26, 2025
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.

2 participants