Skip to main content
10 events
when toggle format what by license comment
Feb 19, 2012 at 16:47 comment added Gordon Bailey Totally unrelated, but I never knew you could use <<< for input to commands, that's pretty cool.
Apr 2, 2011 at 12:40 vote accept ChristopheD
Jan 14, 2012 at 12:09
Mar 20, 2011 at 14:46 comment added user503 @ninjalj OK, I meant that it doesn't take 2, but maybe the discussion above already says that.
Mar 20, 2011 at 11:06 comment added ninjalj @barrycarter: you can replace them, but all of them take 1 character.
Mar 20, 2011 at 4:19 comment added user503 Can't you almost always replace newlines w/ semicolons or spaces?
Feb 5, 2011 at 15:28 comment added Joey @Nyuszika7H: If you can use it, then by all means you should in a code golf. If your language has two equivalent ways of doing something and one is shorter, do you use the longer because some people might not know the shorter one? As for line breaks, if you have a languages that requires CRLF, then you're out of luck, but I'm not aware of any such language.
Feb 4, 2011 at 19:22 comment added user344 @ninjalj: Yeah, but keep in your mind that not everyone uses the Unix line break format. We have to be fair. meta.codegolf.stackexchange.com/questions/167/…
Feb 4, 2011 at 18:34 comment added ninjalj @Nyuszika7H: including 21 \r chars, isn't it? This is for Unix, where a newline is a single linefeed char.
Feb 4, 2011 at 17:13 comment added user344 No cheating! It's 371 chars according to Notepad++.
Feb 4, 2011 at 1:40 history answered ninjalj CC BY-SA 2.5