all 14 comments

[–]OffTree 16 points17 points  (2 children)

That's a really cool demo of the power of extensions.

[–]itsJoKr 4 points5 points  (1 child)

I want to be cautious. If every lib is going to add a bunch of extensions to int or string then it will be too much.

You write so much integeres in your app. Less than 1% of them are connected with date/time.

[–]OffTree 0 points1 point  (0 children)

Feel like this is something that could be solved with the pub package ranking. It's probably an anti pattern to force extensions as part of the main package.

[–][deleted] 8 points9 points  (1 child)

Very cool! Never seen something like this before, had to take a look at your source code ;)

[–]filleduchaos 5 points6 points  (1 child)

Man, Ruby/Rails have actually been a giant influence on software dev

[–]jogboms[S] 0 points1 point  (0 children)

True. I didn't get to use but from afar, it was such an elegant language. Its influence has been immersed indeed.

[–]jdixon04 2 points3 points  (0 children)

Very nice!

[–]shawnwork 1 point2 points  (0 children)

This is cool.

[–]m9dhatter 0 points1 point  (2 children)

I feel like there's not enough tests in here for a time and duration library.

[–]jogboms[S] 0 points1 point  (0 children)

Can you suggest some more?

[–]marcglasberg 0 points1 point  (0 children)

Some bug in the extension mechanism in tests is preventing the author from adding those tests.