fhdsl / AI_for_Efficient_Programming

DaSL's course on AI skills for efficient programming
https://hutchdatascience.org/AI_for_Efficient_Programming/
Creative Commons Attribution 4.0 International
3 stars 1 forks source link

Adding content on refactoring code for debugging and optimization / readability #27

Closed avahoffman closed 1 year ago

avahoffman commented 1 year ago

Adds to the course:

  1. Introduction to Refactoring Code
    • Also includes a conceptual image
  2. How AI can help with code refactoring
  3. Example One: Correcting Syntax (indentations in python)
  4. Example Two: Syntax Style and Convention
  5. Example Three: Dry
  6. Example Four: Keeping code alive

More in an additional PR!

github-actions[bot] commented 1 year ago

Re-rendered previews from the latest commit:

Updated at 2023-04-14 with changes from 1d38235589a8f32d76e79992cb94121955e7dd7f

github-actions[bot] commented 1 year ago

No spelling errors! :tada: Comment updated at 2023-04-14 with changes from 1d38235589a8f32d76e79992cb94121955e7dd7f

github-actions[bot] commented 1 year ago

No broken urls! :tada: Comment updated at 2023-04-14 with changes from 1d38235589a8f32d76e79992cb94121955e7dd7f

ehumph commented 1 year ago

I LOVE how you arranged the chapter. The short examples are so easy to follow! I am going to use your approach to clean up the summarizing code chapter (and create the code writing chapter as well).

avahoffman commented 1 year ago

@ehumph glad you like it! I still have quite a bit to add, but I could definitely use a review soon :)

ehumph commented 1 year ago

@avahoffman if you think you've reached a good point, I can review tomorrow morning! I don't want to interrupt your flow (:

avahoffman commented 1 year ago

@ehumph sounds good! I'll start a new PR for other stuff.

avahoffman commented 1 year ago

@ehumph I already merged some of your changes on #15 into this PR. I can wait to merge this until you're done with #15. Unless you're okay with some of the previous version of that branch ending up on main briefly? Just let me know if you prefer us not to wait.

ehumph commented 1 year ago

@avahoffman Go ahead and merge! I am restructuring the code summarization chapter to follow your formatting and style, but having the old stuff up for a bit is no problem at all.