r/learnjava • u/[deleted] • Dec 23 '23
Is using the help of Bard/ChatGpt for designing my SPA cheating?
Hey everyone,
I'm building a small project for me and my friends to use and I'm designing the UML right now.
I have a good grasp of the most basic classes and components but now I'm thinking of using Abstraction.
I understand abstraction but right now I can't imagine how to use it in my app. Does that mean I do not understand it properly?
Should I engage in a discussion with an LLM to fill out my knowledge gaps or should I better re-read the Abstraction section of BlueJ?
The LLMs tend to just spill out the solution and taking away my learning experience.
How do you formulate your prompts to get good results?
3
u/Unable_Request Dec 23 '23
My honest assessment: put EXACTLY what you wrote in your post into chat gpt. Ask it questions. Ask it to teach you. Ask it to ask you questions to gauge understanding. Ask it to make an example; then ask it to review an example YOU made
1
u/desrtfx Dec 23 '23
Should I engage in a discussion with an LLM to fill out my knowledge gaps or should I better re-read the Abstraction section of BlueJ?
Neither. One is hallucinating, the other is just plain crap.
Use at least decent resources.
BlueJ is absymal.
1
u/Slight-Violinist6007 Dec 24 '23
My uni course forces me to submit any Java assignment in BlueJ and it makes me wanna cry.
1
u/desrtfx Dec 24 '23
My uni course forces me to submit any Java assignment in BlueJ and it makes me wanna cry.
Perfectly understandable. I feel sorry for you.
0
2
u/adjaplx Dec 24 '23
It's not cheating if you know how to ask it right. Don't let it create solutions. Instead, use it like a tool and let it guide you without the help of code
2
u/mohmf Dec 24 '23
Well, is that different from just downloading the project from the internet and run it? In both cases, you don't understand why that line is there and why the other line is written in that way.
1
u/DakhmaDaddy Dec 24 '23
Chatgpt is a tool, one you can rely on but shouldn’t depend on it.
1
Dec 24 '23
It's not cheating if you know how to ask it right. Don't let it create solutions. Instead, use it like a tool and let it guide you without the help of code
i hope it says that way
•
u/AutoModerator Dec 23 '23
Please ensure that:
Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions
You include any and all error messages in full - best also formatted as code block
You ask clear questions
You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.
If any of the above points is not met, your post can and will be removed without further warning.
Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.
Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.
Code blocks look like this:
You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.
If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.
To potential helpers
Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.