Some high level programming (this doesn't apply to most scripts) require an header that do not really affect the code - in a golfing context - and are unnecessary. Should this part of the code be removed and not counted when posting answers? This is some form of "characters pollution" in the context of golfing that adds an handicap to those languages and if the answer is short can increase the code size up to 50%.
Heres an exemple in C of a main() to demonstrate what i'm talking about:
int main(){
return 0;
}
In C you start with an handicap of 21 characters. In Java, it's even worse:
public class J{
public static void main(String[] a){
}
}
It's 53 characters of handicap.
My question/suggestion is this: should we remove headers from code?
main(){}
and declare integer variables withoutint
\$\endgroup\$ – Level River St Aug 7 '14 at 23:11