Click here to Skip to main content
15,881,248 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Pass by value and pass by reference Pin
Paul Conrad17-Jul-08 16:23
professionalPaul Conrad17-Jul-08 16:23 
GeneralRe: Pass by value and pass by reference Pin
Sherin Iranimose17-Jul-08 18:23
Sherin Iranimose17-Jul-08 18:23 
GeneralRe: Pass by value and pass by reference Pin
darkelv17-Jul-08 20:08
darkelv17-Jul-08 20:08 
GeneralRe: Pass by value and pass by reference Pin
Paul Conrad18-Jul-08 2:55
professionalPaul Conrad18-Jul-08 2:55 
GeneralRe: Pass by value and pass by reference Pin
V.17-Jul-08 22:17
professionalV.17-Jul-08 22:17 
GeneralRe: Pass by value and pass by reference Pin
CPallini17-Jul-08 23:09
mveCPallini17-Jul-08 23:09 
GeneralRe: Pass by value and pass by reference Pin
Joe Woodbury19-Jul-08 9:12
professionalJoe Woodbury19-Jul-08 9:12 
GeneralRe: Pass by value and pass by reference Pin
CPallini20-Jul-08 3:56
mveCPallini20-Jul-08 3:56 
You are wrong. Whenever you pass an object, a reference to the object's instance is passed by value.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke


[My articles]

GeneralRe: Pass by value and pass by reference Pin
Joe Woodbury19-Jul-08 9:07
professionalJoe Woodbury19-Jul-08 9:07 
GeneralRe: Pass by value and pass by reference Pin
KarstenK21-Jul-08 2:42
mveKarstenK21-Jul-08 2:42 
AnswerRe: Pass by value and pass by reference Pin
Mitendra Anand21-Jul-08 20:58
Mitendra Anand21-Jul-08 20:58 
GeneralRe: Pass by value and pass by reference Pin
jon_17523-Jul-08 12:00
jon_17523-Jul-08 12:00 
GeneralRe: Pass by value and pass by reference Pin
Mitendra Anand23-Jul-08 21:01
Mitendra Anand23-Jul-08 21:01 
GeneralPadding an ID to six digits PinPopular
ClementsDan14-Jul-08 15:57
ClementsDan14-Jul-08 15:57 
GeneralRe: Padding an ID to six digits Pin
_Damian S_14-Jul-08 17:01
professional_Damian S_14-Jul-08 17:01 
GeneralRe: Padding an ID to six digits Pin
PIEBALDconsult15-Jul-08 4:31
mvePIEBALDconsult15-Jul-08 4:31 
GeneralRe: Padding an ID to six digits Pin
Stephen Hewitt14-Jul-08 17:53
Stephen Hewitt14-Jul-08 17:53 
GeneralRe: Padding an ID to six digits Pin
leppie14-Jul-08 21:26
leppie14-Jul-08 21:26 
GeneralRe: Padding an ID to six digits Pin
ClementsDan19-Jul-08 17:49
ClementsDan19-Jul-08 17:49 
GeneralRe: Padding an ID to six digits Pin
geoffs14-Jul-08 20:50
geoffs14-Jul-08 20:50 
GeneralRe: Padding an ID to six digits Pin
BadKarma14-Jul-08 21:41
BadKarma14-Jul-08 21:41 
GeneralRe: Padding an ID to six digits Pin
PIEBALDconsult15-Jul-08 4:39
mvePIEBALDconsult15-Jul-08 4:39 
GeneralRe: Padding an ID to six digits Pin
Ri Qen-Sin17-Jul-08 3:42
Ri Qen-Sin17-Jul-08 3:42 
GeneralRe: Padding an ID to six digits Pin
PIEBALDconsult17-Jul-08 8:38
mvePIEBALDconsult17-Jul-08 8:38 
GeneralRe: Padding an ID to six digits Pin
Paul Conrad16-Jul-08 9:15
professionalPaul Conrad16-Jul-08 9:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.