munch2024 / munch

2 stars 11 forks source link

Used ChatGPT to rewrite lines of code because of complexity #82

Closed noodaj closed 8 months ago

noodaj commented 8 months ago

This PR fixes #81, where the code was more complex than it had to be. The code is a little bit complex using the any and looping through all of the elements of the hashmap but it could be simplified. The desired outcome is having simpler code to read.

Code Documentation

used ChatGPT to fix complex code for 2870

The ChatGPT response: https://chat.openai.com/share/ba9f7701-ee2b-4cf2-ba2a-fc995440759b