0
Better way to reference course learnings when coding on side projects
1. Has anyone out there built an API to Sololearn such that while I’m coding in cursor, I can plug-in an LLM then ping Sololearn to the data from the lessons from the courses that I just took give me feedback in real time with my code? 2. If anyone would want to build this together, I would be happy to get involved.
2 Réponses
0
SoloLearn probably isn't the best way to do that. There are coding AI's that can assist you. I use Github Copilot. When your code doesn't work properly, you just ask it for help. It integrates into Visual Studio as well and all the major IDEs.
A typical case for me would be:
1. Why does my code error on line 14?
2. I need a for loop to go through my list of objects and print the first name and last name for that list.
3. Can you write me a function that automatically generates a unique ID for each object when it's instantiated?
4. Can you refactor my code to optimize it and add comments for each function so I can see what each function does?
5. Can you explain the code fragment from lines 14 - 25 so I can learn why it's written the way it's written?
You don't really want to tell it to write your entire program as you won't learn anything that way, but it is possible to have the AI write everything for you.
It is amazing what an AI can do to save you time. Just remember, if you are trying to learn or working on homework, it's much better to write your own code and just let AI help you with the smaller parts you are stuck on.
0
Jerry Hobby Yeah, and free AI aren't as smart as paid versions, so it's best to not let them do too much at once, and expect complex code they generate to need fixing. The basic suggestions are generally useful though.