From 2bc2eee05f9984a7d87ea307d9dbabf019babf08 Mon Sep 17 00:00:00 2001 From: Suling Xu Date: Tue, 15 Dec 2020 23:48:13 +0100 Subject: [PATCH] Added new joke --- DadJokes/JokeStore.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DadJokes/JokeStore.swift b/DadJokes/JokeStore.swift index 3bc8c51..a8d9aad 100644 --- a/DadJokes/JokeStore.swift +++ b/DadJokes/JokeStore.swift @@ -30,12 +30,13 @@ struct JokeStore { /// we NEED more jokes here!!! private var storage: [Joke] = [ + Joke(description: "You should be careful with functions that return a value...", punchline: "In fact, I would just a void them."), Joke(description: "Why don't programmers like being outside?", punchline: "Because there's too many bugs"), Joke(description: "Why don't bachelors like Git?", punchline: "Because they are afraid to commit."), Joke(description: "What does the father play with his son?", punchline: "Try Catch"), Joke(description: "You should be careful with functions that return a value...", punchline: "In fact, I would just a void them."), - Joke(description: "Why do developers do Java?", punchline: "Because they don't C#") + Joke(description: "Why do developers do Java?", punchline: "Because they don't C#"), Joke(description: "Why did the programmer cross the road?", punchline: "To Git to the other side"), Joke(description: "What did the atom say to the angry mass?", punchline: "What's the matter with you!") ]