exercism / vimscript

Exercism exercises in Vim script.
https://exercism.org/tracks/vimscript
MIT License
20 stars 24 forks source link

Add raindrops approaches #262

Open BNAndras opened 8 months ago

BNAndras commented 8 months ago

@kotp, here are the two approaches I'm thinking of highlighting. Before I fill out the approach documents, do you think these approaches will be useful for students? Are there additional approaches I should highlight?

kotp commented 8 months ago

I see an if..else approach listed, but I do not see an if..else approach. These are both "string builder" approaches, but none use an else statement, except for the ternary use, and that is not used to build the result.

Am I missing something?

BNAndras commented 8 months ago

Oops, I’m so used to calling it if…else colloquially that I didn’t notice that I wasn’t even using an else.