0

Who finds this code pointless? 😀

String a,b,c,d,e,f,g,h; a = "h"; b = "e"; c = "l"; d = "o"; e = "w"; f = "r"; g = "d"; h = a+b+c+c+d+" "+e+d+f+c+g; System.out.println("hello world");

30th Jun 2017, 6:16 PM
D_Stark
D_Stark - avatar
3 Antworten
+ 3
Just don't write like that when coding, it's pointless in the practical sense of trying to write/optimize the program. Not pointless in the security sense like what @XiLDRYAD said. People can also just use programs to Obfuscate the code.
30th Jun 2017, 7:57 PM
Rrestoring faith
Rrestoring faith - avatar
+ 1
not pointless at all! code like this is widely used to make harder for other people to understand what your code does; think about a source code containing a virus or a prank = 3 this is called obfuscation; if you are interested have a nice read: https://en.m.wikipedia.org/wiki/Obfuscation_(software)
30th Jun 2017, 6:32 PM
ViLXDRYAD
ViLXDRYAD - avatar
+ 1
@ vilxdryad very intresting thanks
30th Jun 2017, 6:42 PM
D_Stark
D_Stark - avatar