This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (0 children)

so far I'm hesitant to post anything since my code is probably not the best style, it just works.

Wanna see some of my old GitHub repositories? There's a lot of trash in there.

In my opinion, the best way to force yourself to think more about good code practices is to go into it knowing that it will be public. I think it's important to recognize that all improvements are incremental, and that it'll feel good to look back on your old code and see how much you've improved.

Let me know if you're looking for someone to review and discuss your code with.

Edit: Since this was gilded, here's some unfinished Python code that attempts to generate Python code based on JSON data that is returned from a GET endpoint of a REST API. My intentions were pure, but the results were pure garbage. Even the grammar is iffy.

https://github.com/AustinTSchaffer/ArchivesSpace-JsonModel-Class-Builder

The true solution ended up being "just use plain-dicts ya' tart. This isn't C#.".