Commit Graph

209 Commits

Author SHA1 Message Date
Crista Lopes
dd0700368e Changed the name of the style to abstract things, because the most important bit here is the fact that they are abstract. Also cleaned up the code a bit 2013-12-06 08:29:14 -08:00
Crista Lopes
06d99ebbe3 Merge branch 'master' of https://github.com/crista/exercises-in-programming-style 2013-12-02 12:23:46 -08:00
Crista Lopes
015b716915 Simplified things a bit 2013-12-02 12:23:26 -08:00
crista
482ac69582 Update README.md 2013-12-02 09:11:58 -08:00
crista
9cdcef1699 Update README.md
One more constraint
2013-12-02 08:52:40 -08:00
crista
7dded55286 Update README.md
Better wording for constraints
2013-12-02 08:45:27 -08:00
crista
82ca8e540e Update README.md 2013-12-01 22:21:09 -08:00
crista
e1165d814c Update README.md 2013-12-01 22:06:58 -08:00
crista
63e45b47a8 Update README.md 2013-12-01 22:05:46 -08:00
crista
4965b156bd Update README.md 2013-12-01 22:04:33 -08:00
crista
43656f18ea Update README.md 2013-12-01 22:03:28 -08:00
crista
303e9ad89d Update README.md 2013-12-01 22:02:26 -08:00
crista
288729ce23 Update README.md 2013-12-01 22:00:33 -08:00
crista
ebff5cc0f1 Update README.md 2013-12-01 21:58:51 -08:00
crista
23ac600a82 Update README.md 2013-12-01 21:54:40 -08:00
crista
3e67840c26 Update README.md 2013-12-01 21:48:20 -08:00
crista
258b31eb1c Update README.md 2013-12-01 21:42:54 -08:00
Crista Lopes
58be802d13 In remove_stop_words, echo back the word list if the stop words file fails. 2013-12-01 10:12:33 -08:00
Crista Lopes
9398293f16 Make constructivist program be similar to the other two. 2013-12-01 10:01:44 -08:00
Crista Lopes
783c4eb65a Sorry, that was constructivist, even though this editor is flagging that word with red squiggles. 2013-12-01 09:48:18 -08:00
Crista Lopes
6338f712a2 Constructive is such a much better name for this style! 2013-12-01 09:44:13 -08:00
Crista Lopes
962e8769c2 Also deleted the word exceptions from the constraints of passive aggressive. This can be done in many ways. 2013-12-01 08:06:07 -08:00
Crista Lopes
ecac67b8df Merge branch 'master' of https://github.com/crista/exercises-in-programming-style 2013-12-01 08:01:17 -08:00
Crista Lopes
05c5aa9bc1 Tantrum is not tied to exceptions. Tantrum is the style of C programs. Remove the word exceptions out of the constraints. Make the example program exactly the same as the next. 2013-12-01 08:00:47 -08:00
crista
52208f78d8 Merge pull request #12 from aphyr/master
06-candy-factory: A straightforward Clojure solution.
2013-12-01 07:30:35 -08:00
Aphyr
a510b464c3 06-candy-factory: A straightforward Clojure solution. 2013-11-30 23:26:17 -08:00
crista
30eb880893 Update README.md
wording
2013-11-30 21:49:24 -08:00
crista
821d227705 Update README.md
Better wording on constraints
2013-11-30 21:47:21 -08:00
crista
58df511be7 Update README.md
Fixed wrong number
2013-11-30 21:43:35 -08:00
crista
b6ec4786b8 Update README.md
Better wording for constraints
2013-11-30 21:42:44 -08:00
Crista Lopes
c602dd9df3 More clean up 2013-11-30 19:20:09 -08:00
Crista Lopes
b363ea7e2f Clean up 2013-11-30 19:18:44 -08:00
Crista Lopes
9a9c525326 OK, so explaining the passive aggressive style with monadic exceptions in a language that already has exceptions does not work. Back to regular exceptions in style 23. I left the monadic version as an academically interesting variation. In the process of returning to basic exceptions, I needed to clarify the tantrum style a little better too. 2013-11-30 19:05:07 -08:00
Crista Lopes
76f7ccb1d3 Better wording for constraints 2013-11-30 16:50:25 -08:00
Crista Lopes
844dd21de2 Bring back the assertions, cos they throw and that's ok 2013-11-30 16:03:02 -08:00
Crista Lopes
cbfb524dd9 Better words for constraints of passive aggressive style 2013-11-30 11:03:52 -08:00
Crista Lopes
0b43231f64 Better passive aggressive style -- catch precondition failure too, and treat them all as annoying things that put us in a bad mood. 2013-11-30 10:54:06 -08:00
crista
4bb057128d Merge pull request #8 from krishnanraman/master
3 Scala versions for codegolf
2013-11-30 10:16:31 -08:00
Crista Lopes
3f382c9492 Added one more code golf version (actually renamed the previous one) 2013-11-30 10:14:45 -08:00
crista
768605e704 Merge pull request #11 from darius/master
Code golf rewrite and testing tweak
2013-11-30 10:12:32 -08:00
Crista Lopes
a49791750a Make the constructor take a func already 2013-11-29 20:38:35 -08:00
Darius Bacon
0ca3d85f5a Make Norvig's submission work with the test script. (It was skipped, plus it would fail without the #!.) 2013-11-29 20:59:41 -03:00
Darius Bacon
7168921e91 A shorter golfed version. 2013-11-29 20:57:17 -03:00
Crista Lopes
9e044337b0 top25_freqs wasn't IO either, so make it first class again. 2013-11-29 09:40:13 -08:00
Crista Lopes
572f4246fa Merge branch 'master' of https://github.com/crista/exercises-in-programming-style 2013-11-29 09:30:42 -08:00
Crista Lopes
aa6d965641 Better quarantine class. Allows for pure functions to be first-class [again]. 2013-11-29 09:30:25 -08:00
crista
9aceff09bd Update README.md
Gave example of command line interface
2013-11-28 21:22:42 -08:00
crista
b097639558 Update README.md
Renumbering
2013-11-28 21:12:34 -08:00
crista
13582e4dec Update README.md
Renumbering
2013-11-28 21:12:14 -08:00
Crista Lopes
86350f395c Added passive aggressive style 2013-11-28 21:11:05 -08:00