Coding is a lot more than just typing a line and getting a result. What employers/clients want to see is the ability to understand computer science. they want people who can not only make the code work but can future proof it or automate a function.
I'll give an example.
A)print(10 + 20);
B) int a=10, int b=20;
print(a+b);
So both examples will produce the outcome of 30.
Example B allows you to change the values of A and B without needing to access the print() function.
Also, you are then able to use a or b in other areas of your code.
Now to make the code even better we could do this.
public class HelloWorld{
public HelloWorld(int a, int b){
int c=a+b;
System.out.println(c);
}
public static void main(String []args){
new HelloWorld(10,20);
}
}
You can see that we can go from print(10+20) to the above. Now they both can produce 30 as the result. but the longer code allows the end user to see where they need to change the numbers to get
their own result. which will by in the main class
I do find coding a fun and interesting thing to do. However, being able to perform this kind of development will be what puts you above the others. Message me if you have any questions or want tutorials