-
Notifications
You must be signed in to change notification settings - Fork 268
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
Documentation Injection by Reference examples are hard to follow #300
Comments
@fatuhoku Wow, that was pretty messed up. Thanks for reporting.
|
@fatuhoku Added a note on first page that each assembly method returns a |
@fatuhoku Ready for review, we can continue on this ticket or raise new issues. |
Hiya, the new wiki pages have certainly addressed the concerns I had raised so 🍻 Cheers. =] |
Cheers. We appreciate your help. Do you see other areas that remain unclear? Sent from my iPhone
|
As a relative newcomer, reading this wiki section about Injection by Reference, I read it and still have little idea of how injection by reference works, mainly because the examples are so arbitrary.
For instance, for the following code snippet:
There huge questions in my mind
[self defaultQuest]
? Where did it come from?" — after some digging I found it's actually defined from the first page... this assumes the user must read all the documentation examples in order to make any sense of the examples...?" — there's no indication that
defaultQuest
needs to return aTyphoonDefinition
. In fact, what actually happens if the user does this?_questModule
?" — I could have guessed that[self defaultQuest]
is supposed to be aQuest
, or aTyphoonDefinition
that tells us how aQuest
object should be set up. But whoa, what's aModule
(see Documentation refers to 'Modules' but there's no such concept in Typhoon code #299)? I was completely lost at this point. In hindsight, of course_questModule
is simply yet anotherTyphoonAssembly
. Can we stop calling Assemblies 'Modules' already?The text was updated successfully, but these errors were encountered: