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

Everything Is References

Name: Anonymous 2010-08-20 16:29

Is there a language in which variables, function arguments, etc, are always references by default?

For example:

int x = 5;
int y = x;
y++;  // x and y are both 6


If you really did want a copy of something, you'd have to use a keyword:

int x = 5;
int y = copy(x);


And pass-by-value would also have to be done explicitly:

void func(int z)
{
   int w = copy(z); // now w is effectively "local"
}


It would force programmers to at least be aware of the fact that they're making a copy.

Name: Anonymous 2010-08-27 6:07

>>99
I'll admit that I'm from the imageboards, but I'm curious -- what sort of content do you want to see on this board, if it isn't "talk about programming?"

JACKSON FIVE GETs?  They seem to be popular.  Nike spam?  There appear to be a couple of running jokes about SICP and Lisp, but the board would be pretty sparse if discussion was limited only to those.

Also, just to affirm that I'm from the imageboards, check these doubles

Name: Anonymous 2010-08-27 6:16

>>101
So what is it about, then, if not "talk about programming?"  Come at me, bro.

Name: Anonymous 2010-08-27 15:46

>>105
Anyway, the thing is, >>99,104 is full of shit. The kind of "talk about programming"ing that goes on in meetings isn't ever the discussion of programming techniques, paradigms, language/tool discussion or anything else like that. It's mind-numbing "THESE ARE OUR GOALS" "WHAT TURKEY STRATEGIES SHOULD WE COME UP WITH" "I HAVE ANOTHER BRILLIANT FEATURE IDEA YOU SHOULD INCORPORATE INTO OUR FLAGSHIP PROGRAM" that nobody wants to discuss out of the office (i.e. here).
And reddit and stackoverflow aren't all that dissimilar to /prog/, bar content (inane article linkage, stupid questions with rated answers as opposed to... Well, you know what it's like here) and presentation (onymity, karma).
Ultimately all three discuss programming, whether you like it or not.

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