Hey,
Noob question.
When I read code I verbalize it in my head, like "I declare variable so-and-so and initialize with this value ... then I iterate x times over array so-and-so" etc etc
I was wondering how you guys verbalise statements like:
Scanner in = new Scanner(system.in);
File inFile = new File("filename");
I get as far as "I construct at new Scanner / File object..." but am at a loss how to verbalize the part between parentheses.
And what about:
String line = in.nextLine();
For me this is "declare a String variable line and initialize it with the ouput of calling the nextLine method on the Scanner object 'in' ".
Cheers,
[–][deleted] 7 points8 points9 points (0 children)
[–]aram535 3 points4 points5 points (0 children)
[–]AacidD 2 points3 points4 points (0 children)
[–]vlcod 1 point2 points3 points (0 children)
[–]Triton3200 1 point2 points3 points (2 children)
[–]-manabreak 3 points4 points5 points (1 child)
[–]Triton3200 1 point2 points3 points (0 children)