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

Add koans for working with versions #402

Open
vexx32 opened this issue Jul 10, 2020 · 0 comments
Open

Add koans for working with versions #402

vexx32 opened this issue Jul 10, 2020 · 0 comments
Labels
Category-Koans Invoking the Great Doubt Issue-Suggestion This should be added!

Comments

@vexx32
Copy link
Owner

vexx32 commented Jul 10, 2020

Describe "Koan(s) You Suggest"

Some koans for how to handle, compare, and create [version] objects in PS would be useful.

Context "The Scope of the Koans You Suggest"

A common error is something like [version]1.0.2.0 or $version -eq 1.0.2.1 both of which pass $null to the resulting comparison or conversion; 1.0 is a number of type [double], and subseqent . invoke property accessors which will throw in Strict Mode but return $null in normal circumstances, creating confusion.

Context "Additional Information"

@vexx32 vexx32 added Issue-Suggestion This should be added! Category-Koans Invoking the Great Doubt labels Jul 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category-Koans Invoking the Great Doubt Issue-Suggestion This should be added!
Projects
None yet
Development

No branches or pull requests

1 participant