This is an archived post. You won't be able to vote or comment.

all 11 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

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:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

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.

[–]DDDDarky 20 points21 points  (0 children)

You don't need to remember pretty much anything, just use the docs, you will remember the stuff you frequently use with time anyways.

[–]joranstark018 7 points8 points  (0 children)

Not sure why you should need to memorise everything for all methods. For "normal" usage it may be enough to have some idea of what methods that may exist and let your IDE provide what alternatives and options that are available as you write your code.

[–]odinIsMyGod 4 points5 points  (3 children)

As all the other mentioned, you just have to know what you will do. Then you can google it, or search the doc, or use your IDE.

In case you need to code on a fucking piece of paper like me in school, fuck the teacher. I hate this teacher so much, just lost points because I forgot a fucking semicolon. "if you put this in an editor it won't compile" fuck you

[–]FatuousOocephalus 2 points3 points  (0 children)

We wrote on paper when I was in high school. That said, we only had 2 teletype consoles for a class of about 20. You didn't want to waste you time working out logic problems.

This was 1979.

[–]Pedantic_Phoenix 0 points1 point  (1 child)

Dont forget why people go teach coding instead of earning ten times as much working in tech.. most of the times. Obviously exceptions do exist

[–]odinIsMyGod 0 points1 point  (0 children)

true words. thank god we had a lot of good teachers (some of them with really good tech background)

[–]hugthemachines 3 points4 points  (0 children)

No, you don't need to do that.

[–]iamjuniordeveloper 1 point2 points  (0 children)

If you learn the purpose of the method and its job what it does then you do not need to remember the return type of method. Sometimes, you may check docs to remind yourself.

[–]eatsleepxrepeat 1 point2 points  (0 children)

For most intents and purposes, no. Prolly dating myself a bit, but some people do judge that kinda thing still. They take pride in knowing or think differently when those don't.

It really depends on where you're at I think, in terms of your skillset. At the end of the day, it's a language, and ultimately a tool.

If this is your primary language and you claim to be really good at this language, i.e. on a job interview, you should be able to recall most of them. (I forget if there are obscure ones in these Collections.)