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 questions about optionals and state #15

Merged
merged 2 commits into from Nov 22, 2017
Merged

Add questions about optionals and state #15

merged 2 commits into from Nov 22, 2017

Conversation

diegopetrucci
Copy link
Contributor

No description provided.

questions.md Outdated
@@ -93,6 +94,8 @@ Please keep in mind that this document is in a continuous state of flux, with ne
- Why is it that, in swift, you can't have an array of, say, `Equatable`, ie, what's the reason for the compiler error "Protocol 'XXX' can only be used as a generic constraint because it has Self or associated type requirements"?
- Are you familiar with functional-programming methods such as `map`, `filter`, and `reduce`? Can you explain their similarities and differences?
- `Swift Standard Library`: What are `Generator`s, `Sequence`s and `Collection`s?
- What problem do optionals solve?
- Do you use optionals to handle state? Errors? Why?
Copy link
Contributor

Choose a reason for hiding this comment

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

I would phrase it slightly differently, maybe:

`Do you use optionals to handle state? If so, how do you model Errors in an Optional context?

@@ -44,6 +44,7 @@ Please keep in mind that this document is in a continuous state of flux, with ne
```
- What do you think are the main architectural challenges associated with developing for the iPad, compared to developing for the iPhone?
- Do you have any experience developing for the Apple Watch or tvOS? If so, what's your opinion on the differences and similarities of the various development environments in the Apple development ecosystem?
- How do you handle state in your app(s)?
Copy link
Contributor

Choose a reason for hiding this comment

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

That's a very open-ended question. How do you know if the answer is a good one or not? What kind of answers are you expecting here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think there's just one good answer, it's mostly to see how the person thinks about this stuff.

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't there's just one answer

Either you mean "I don't. There's just one answer" or "I don't (know that) there's just one answer". I can't tell which.

questions.md Outdated
@@ -93,6 +94,8 @@ Please keep in mind that this document is in a continuous state of flux, with ne
- Why is it that, in swift, you can't have an array of, say, `Equatable`, ie, what's the reason for the compiler error "Protocol 'XXX' can only be used as a generic constraint because it has Self or associated type requirements"?
- Are you familiar with functional-programming methods such as `map`, `filter`, and `reduce`? Can you explain their similarities and differences?
- `Swift Standard Library`: What are `Generator`s, `Sequence`s and `Collection`s?
- What problem do optionals solve?
Copy link
Contributor

Choose a reason for hiding this comment

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

Great question! But I'd say problems (plural)

Copy link
Contributor

@wltrup wltrup left a comment

Choose a reason for hiding this comment

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

I'm approving but I still think that the state question is far too open-ended.

@@ -44,6 +44,7 @@ Please keep in mind that this document is in a continuous state of flux, with ne
```
- What do you think are the main architectural challenges associated with developing for the iPad, compared to developing for the iPhone?
- Do you have any experience developing for the Apple Watch or tvOS? If so, what's your opinion on the differences and similarities of the various development environments in the Apple development ecosystem?
- How do you handle state in your app(s)?
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't there's just one answer

Either you mean "I don't. There's just one answer" or "I don't (know that) there's just one answer". I can't tell which.

@wltrup wltrup merged commit f138577 into master Nov 22, 2017
@wltrup wltrup deleted the optionals branch November 22, 2017 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants