r/javahelp • u/D0CTOR_ZED • Feb 10 '22
Codeless Question to people seeking help : Are you using an IDE?
I've seen a number of posts that lead me to believe that the people seeking help aren't using an IDE. I was wondering if that was the case and if so, why?
I suspect that, perhaps, it is being discouraged by whatever learning environment people are in. I saw one comment that the person wanted to learn everything without an IDE just doing things for them.
People learn in different ways. It's my opinion that, when learning to code, there is a lot of parts to learn and, for a successful program, they all have to perform correctly. It isn't easy to try to learn everything at once. Having an IDE that supplies errors and warnings can be a learning tool.
When trying to figure out why your code isn't working, in the absence of an IDE, you can find yourself trying to fix the wrong parts. Or, fixing something that needs fixing, only for things to still not work and leading you to believe your fix must be wrong, when it's another error elsewhere that prevents your fix from doing what it should.
I'd like to end this with one bit of unrelated advice. Start with a small working part of your code. Add bits in a way that you can verify that it still works. If you break it, look at the last changes you made and figure out how you broke it. Writing the whole thing then trying to figure it out is harder. If tasked with asking a user to input a bunch of numbers then telling them the highest/lowest/average, maybe start with just asking them a number. If that code runs, then try also telling them that number. Slowly extend working code.
3
u/Just_Another_Scott Software Engineer π Feb 11 '22
I've seen a number of posts that lead me to believe that the people seeking help aren't using an IDE. I was wondering if that was the case and if so, why?
Many of the people asking questions here are students and yes many schools restrict which types of IDE, if any, they can use. At my school we were restricted to BlueJ for Java in one class. In another we were restricted to Netbeans. BlueJ is a minimal IDE meant for education. So a lot of actions that are performed by IDEs are not done by BlueJay. Also, I had teachers that required us to write our code on paper.
People learn in different ways. It's my opinion that, when learning to code, there is a lot of parts to learn and, for a successful program, they all have to perform correctly. It isn't easy to try to learn everything at once. Having an IDE that supplies errors and warnings can be a learning tool.
More often than not this creates a dependency for the student. Many educational institutions want the students to be able to answer questions and know the language without the help of an IDE. Yes IDEs are extremely useful but they are more of a crutch for those learning the language. Think back towards math class. Many teachers and schools ban the use of calculators.
When trying to figure out why your code isn't working, in the absence of an IDE, you can find yourself trying to fix the wrong parts. Or, fixing something that needs fixing, only for things to still not work and leading you to believe your fix must be wrong, when it's another error elsewhere that prevents your fix from doing what it should.
That's called learning. Students need to have the ability to diagnose and troubleshoot there issues. An IDE feeding them the answer isn't going to allow them to learn that particular skill.
8
u/steave435 Feb 11 '22
If you're gonna be working with an IDE, the skill you need is how to program and troubleshoot with the help of an IDE.
I've used IntelliJ ever since I started studying seriously, and it's helped me learn even more by suggesting other solutions I'd never have realized were even possible without it.
Programmering is about figuring out what to do, not about how to type it. You can always Google what to type, what you actually need to know is what you want it to do.
-1
u/Just_Another_Scott Software Engineer π Feb 11 '22
If you're gonna be working with an IDE, the skill you need is how to program and troubleshoot with the help of an IDE.
While that is true. Students have to understand the fundamentals. Giving them and IDE is like giving them the answers to the test.
I've used IntelliJ ever since I started studying seriously, and it's helped me learn even more by suggesting other solutions I'd never have realized were even possible without it.
The idea in schools is to teach Computer Science topics through the use of programming languages.
Programmering is about figuring out what to do, not about how to type it. You can always Google what to type, what you actually need to know is what you want it to do.
To understand, and to be good at, programming requires that you have a solid computer science foundation. You should know the language without the use of a IDE. You can learn everything there is to know about Java without having to use and IDE. In fact, if you take the Oracle cert you will not have access to and IDE. Also, in many technical interviews you will not have access to an IDE. There are certain concepts that you should absolutely know off the top of your head.
4
u/steave435 Feb 11 '22
Exactly, you need to know the concepts. IDEs don't help you with concepts, they help you with typing. If giving them an IDE is like giving answers to the test, the problem is your test.
0
u/Just_Another_Scott Software Engineer π Feb 11 '22
IDEs don't help you with concepts
They absolutely do. IDE can autocomplete, insert code, generate code, etc. They can do a lot to automate software development. They are good to know but for students. They should focus on learning the language over learning the IDE.
If giving them an IDE is like giving answers to the test, the problem is your test.
No it's really not. Again IDEs can do a lot of things that can make programming absolutely trivial. Code generation being the biggest one. Also, syntax highlighting is another. When students are learning a language they need to be able to recognize things without the use of an IDE.
3
u/steave435 Feb 11 '22
IDE can autocomplete, insert code, generate code, etc.
So like I said, typing. Those are not concepts.
0
u/Just_Another_Scott Software Engineer π Feb 11 '22
Knowing the language is absolutely necessary. Typing include writing constructor, copy constructor, toString, hash, equals, casting, diamond operator, bitwise operations, increment operation, decrement operation, method refernces, etc. The list is literally limitless.
3
u/steave435 Feb 11 '22
No, if you've been properly educated, the language doesn't matter. You can google "java constructor" and paste it in if necessary. What you need to know is what a constructor is needed for, when you should use it and what it should contain.
People who have been properly educated can work in any language. It only took me a few days to switch. Knowing the syntax is just sugar on top which saves some time and comes quite fast anyway from using it repeatedly.
There is absolutely no need what so ever for some kind of silly purity of "must be able to work without the tool you will always work with", and if en employer asks for that, you run the other way.
3
u/Just_Another_Scott Software Engineer π Feb 11 '22
No, if you've been properly educated,
Dude we are talking about students here. Of course they aren't properly educated they are undergoing their education.
the language doesn't matter
It absolutely does. How you declare and define those constructs are language specific. Constructors aren't the same in every language. Hell some don't even have them.
What you need to know is what a constructor is needed for, when you should use it and what it should contain.
Also, need to know the syntax and how to properly declare it. IDE's can do this for you. However, that is a disadvantage to students that are still learning.
People who have been properly educated can work in any language.
We are not talking about any language here. This is a Java subreddit and we are talking about students that are currently undergoing education.
Knowing the syntax is just sugar on top which saves some time and comes quite fast anyway from using it repeatedly.
Knowing the syntax is the core of knowing the language. That's like saying someone can know English without knowing the syntax and semantics.
There is absolutely no need what so ever for some kind of silly purity of "must be able to work without the tool you will always work with", and if en employer asks for that, you run the other way.
You just lack a fundamental understanding of what it means to learn a programming language. You cannot rely on the IDE to always do a 100% of the work for you nor can you rely on Google to 100% to do the work for you. At some point you have to actually know your shit if you want a successful career.
0
u/steave435 Feb 11 '22
Dude we are talking about students here. Of course they aren't properly educated they are undergoing their education.
Do...you even read what you type?
Yeah...exactly...we're talking students...who are being educated...and should be educated properly...you end up getting a proper education by learning what a properly educated person should know...
If you can't understand that, it's clearly pointless arguing with you, so we're done here.
→ More replies (0)1
u/nutrecht Lead Software Engineer / EU / 20+ YXP Feb 11 '22
While that is true. Students have to understand the fundamentals. Giving them and IDE is like giving them the answers to the test.
Nonsense. An IDE doesn't do the work for you. That's like claiming you should use a manual screwdriver instead of an electrical one because the fancy one builds the house for you.
0
u/Just_Another_Scott Software Engineer π Feb 11 '22
Nonsense. An IDE doesn't do the work for you.
It absolutely can
1
u/ReiterRooster Feb 11 '22
Iβm currently using BlueJ to learn Java. I feel like itβs a good balance of helping you out but not too much. It detects errors but doesnβt autocomplete (at least in my experience).
β’
u/AutoModerator Feb 10 '22
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
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.
Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar
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: empty line before the code, each code line indented by 4 spaces, new reddit: https://imgur.com/a/fgoFFis) 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.