Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Which is better?

Name: Anonymous 2010-07-16 11:20


a = hello (&world);

Or

a = hello(&world);

Name: Anonymous 2010-07-16 11:23

[code]
Greeting *g = greetingFactory.createGreeting(Languages.ENGLISH,NULL,NULL,NULL);
g->greet(&world);

Name: Anonymous 2010-07-16 11:23

[/code]

Name: Anonymous 2010-07-16 11:31

GNU style.

Name: Anonymous 2010-07-16 11:41

The former. We're not FV.

Name: Anonymous 2010-07-16 11:44

a=hello world

Name: Anonymous 2010-07-16 11:44

>>5
Ok, and what with something like: get_something(p).foo()?
To me it seems much more beautifyl than get_something (p).foo ()

Name: Anonymous 2010-07-16 11:48

>>7
Yes, that is acceptable as part of another statement.

Name: Anonymous 2010-07-16 12:00

>>8
It seems like get_something is unrelated with (p) which has a foo method. I don't like it.

can it be done like this: get_something (p) .foo ();? ...well, still sucks!

Name: Anonymous 2010-07-16 12:08

>>9
The answer is perhaps to not use that construct.
If you only do one thing with the something you get, there's probably a better way, then you can remove the get_something() method entirely.
If you do more than one thing, it's probably better to do this:
var something = get_something (p);
something.foo(); /* No arguments = no space? Discuss. */
something.bar();

Name: Anonymous 2010-07-16 12:21

a = hello (&world);
Or
a = hello(&world);

No difference.  They'll both do the same thing.
As for style, the only true requirements is that the code is readable and the style remains consistent.

(If the multiline quote above fails, then once again I've failed to figure out how it works.)

Name: Anonymous 2010-07-16 12:22

>>11
Well, that wasn't what I intended but it's better than nothing.

Name: Anonymous 2010-07-16 12:36

>>11
> a = hello (&world);[o]
Or[o]
a = hello(&world);[/o][/o]
No difference. They'll both do the same thing.
As for style, the only true requirements is that the code is readable and the style remains consistent.


a = hello (&world);
Or
a = hello(&world);

No difference. They'll both do the same thing.
As for style, the only true requirements is that the code is readable and the style remains consistent.

Name: 13 2010-07-16 12:37

Oops I failed. Anyway I'm sure you can figure out how and why that's a failure with a little view source action.

Name: Anonymous 2010-07-16 12:48

>>14
Grazie.

Name: Anonymous 2010-07-16 13:04

This thread
is now
about quote
testing
woohoo!

Name: Anonymous 2010-07-16 13:06

Get
the
fuck
out
of
here
you
retards

Name: Anonymous 2010-07-16 14:32

>>16
I'm
all for it
bro!!!

Name: Anonymous 2010-07-16 14:40

sussman
and
abelson

Name: Anonymous 2010-07-16 14:40

sussman
and
>abelson

Name: Anonymous 2010-07-16 14:41

sussman
and
abelson

Name: Anonymous 2010-07-16 14:41

sussman
and
abelson

Name: Anonymous 2010-07-16 14:41

sussman
and > > > abelson

Name: Anonymous 2010-07-16 14:42

sussman
and
abelson

Name: Anonymous 2010-07-16 14:42

sussman
and
abelson

Name: Anonymous 2010-07-16 14:43

Xarn
and
Erika

Name: Anonymous 2010-07-16 14:44

Xarn,
Erika,
and
RMS

Name: Anonymous 2010-07-16 16:27

Please
Learn
How
To
Quote
!

Name: Anonymous 2010-07-16 17:12

>>27
Excellent
use
of
the
Oxford
comma!

Name: Anonymous 2010-07-16 17:31

>>29
You know, somewhere deep below I was hoping that someone would notice that.

Name: Anonymous 2010-07-16 18:53

As long as you don't do this
a = hello ( &world );
it's cool

Name: Anonymous 2010-07-16 18:55

>>30
I think people who don't use it should be shot. Especially people that prepare menus in restaurants.

Name: Anonymous 2010-07-16 19:56

Who gives a fuck about an oxford comma

Name: Anonymous 2010-07-16 20:00

>>33
>>27, >>32, and I do.

Name: Anonymous 2010-07-16 20:42

I've seen those english dramas too

Name: Anonymous 2010-07-17 8:35

>>35
they're cruel

Name: Anonymous 2010-07-19 18:44

saging
you're
thread
hi

Name: Anonymous 2010-07-20 5:44

>>37
Quoting failure.

Name: Anonymous 2011-02-03 0:05

Name: Anonymous 2011-02-04 17:45


Don't change these.
Name: Email:
Entire Thread Thread List