Raku / user-experience

Identifying issues in and improving the Raku user experience
Artistic License 2.0
25 stars 5 forks source link

Shall we suggest Foo::Bar::X::What::Happened exception name format? #11

Closed bbkr closed 5 years ago

bbkr commented 8 years ago

https://docs.perl6.org/type/Exception

There was discussion on IRC how exceptions should be defined in _user modules_. Current documentation suggests X::Foo::Bar::What::Happened but Foo::Bar::X::What::Happened is better because:

So what is your opinion? Shall we promote in docs Foo::Bar::X::What::Happened format (and create issues in modules that use X:: format to refactor them while ecosystem is still young) ?

quietfanatic commented 8 years ago

I agree with this and all its rationales. Things defined by a module should all be in that module's namespace.

AlexDaniel commented 5 years ago

I didn't know this ticket existed, so I filed another one: ~https://github.com/perl6/user-experience/issues/11~ perl6/problem-solving#57

This repo will likely be unified with problem-solving in the future, so I'm closing this ticket in favor of the other one.

vrurg commented 5 years ago

I think you meant perl6/problem-solving#57

AlexDaniel commented 5 years ago

Ah, yes! Thank you!