Open brace “{” appears at the end of the same line as the declaration statement.
The opening brace should be at the end of the line that begins the compound statement; the
closing brace should begin a line and be indented to the beginning of the compound
statement.
>Like this
public class Zelda {
//statements
}
>NOT LIKE THIS
public class Zelda
{
//statements
}
Fuck people, put the opening brace on the same line as declaration statement. Is it really so hard?
>>38
Discussing the development of the following:
* Valeat Res Magis: FrozenVoid's Web Browser.
* /prog/OS: A revolutionary Common Lisp-based OS.
* Nordlige Project: A curtain fire shooting game featuring magical viking boys in the fantasy land of Asgard.
>>42
FV is worth taking just as seriously today as he had been years ago. On the other hand, he hasn't posted in years so I'm not sure what you're talking about.
Name:
Anonymous2011-10-18 1:08
class fuckOff // {
{
System.out.println("Is it really that big of a fucking deal");
>>61 yfw everything in lisp could be this clean but lisp must insist that EVERY FORM EVER be potentially variatic.
McCarthy designed Lisp as a backend for his Algol compiler. It was never intended to be used directly. So didnt cared about the amount of verbosity.
>>65 b, d and e have implicit begins.
In Scheme (but it's of course possible in CL too), (cond (e => f) ...) means (let ((x e)) (if x (f x) ...), cond's syntax permits extensions such as (cond (e => guard f) ...) -> (let ((x e)) (if (g x) (f x) ...). (cond a b c d e) can't be extended as easily as (cond (a b) (c d) (else e)) in a backwards compatible way.