r/learnpython • • Sep 04 '19

Wrote my first API

I would love any feedback. The API simply returns homebrewing calculations. I know there still a lot to do. Brew Numbers API

Github Repo

425 Upvotes

44 comments sorted by

View all comments

73

u/Doormatty I get paid to write Python! Sep 04 '19

Fantastic job!

Took a quick look through the code, and it looks concise and self-explanatory!

I'd now recommend writing some tests, so you can be sure that when you refactor it (because you know you're going to want to), you can be sure it's still working correctly.

Again, awesome job!

Edit: Also love the website for it! I'm not a brewing person at all, but I could easily understand everything.

6

u/CalvinsStuffedTiger Sep 04 '19

Noob question. What does refactoring mean

3

u/jengl Sep 04 '19

Going back and reworking/improving your code.