Click here to Skip to main content
15,896,118 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: CharToInt Pin
OriginalGriff18-Apr-09 22:12
mveOriginalGriff18-Apr-09 22:12 
GeneralRe: CharToInt Pin
Paulo Zemek20-Apr-09 0:53
Paulo Zemek20-Apr-09 0:53 
GeneralRe: CharToInt Pin
riced20-Apr-09 5:05
riced20-Apr-09 5:05 
GeneralRe: CharToInt Pin
Jeroen De Dauw21-Apr-09 3:20
Jeroen De Dauw21-Apr-09 3:20 
GeneralRe: CharToInt Pin
Lutosław19-Apr-09 1:00
Lutosław19-Apr-09 1:00 
GeneralRe: CharToInt Pin
Brady Kelly24-Apr-09 9:12
Brady Kelly24-Apr-09 9:12 
GeneralRe: CharToInt Pin
Rajesh R Subramanian30-Apr-09 1:09
professionalRajesh R Subramanian30-Apr-09 1:09 
GeneralSetters and Getters evil future [modified] PinPopular
stanislav.simunec15-Apr-09 23:53
stanislav.simunec15-Apr-09 23:53 
User Class part :
Public Property SetChallengedCardList() As Integer
           Set(ByVal value As Integer)
               _challengedCardList.Add(value)
           End Set
           Get
               Return 0
           End Get
  End Property


  Public Property GetChallengedCardList() As ArrayList
          Set(ByVal value As ArrayList)
               _challengedCardList = Nothing
          End Set
          Get
               Return _challengedCardList
          End Get
  End Property


and latter usage:

Dim u As New User()
u.SetChallengedCardList = 25
u.SetChallengedCardList = 27
u.SetChallengedCardList = 31


Wink | ;) Laugh | :laugh:

sstanko78

modified on Thursday, April 16, 2009 6:07 AM

JokeRe: Setters and Getters evil future [modified] Pin
zvjerka2415-Apr-09 23:59
zvjerka2415-Apr-09 23:59 
GeneralRe: Setters and Getters evil future Pin
stanislav.simunec16-Apr-09 3:55
stanislav.simunec16-Apr-09 3:55 
GeneralRe: Setters and Getters evil future Pin
Nagy Vilmos16-Apr-09 11:24
professionalNagy Vilmos16-Apr-09 11:24 
GeneralRe: Setters and Getters evil future Pin
Jeroen De Dauw21-Apr-09 3:43
Jeroen De Dauw21-Apr-09 3:43 
GeneralRe: Setters and Getters evil future Pin
Dan Neely21-Apr-09 4:05
Dan Neely21-Apr-09 4:05 
GeneralRe: Setters and Getters evil future Pin
Nagy Vilmos21-Apr-09 5:54
professionalNagy Vilmos21-Apr-09 5:54 
GeneralRe: Setters and Getters evil future Pin
Dan Neely21-Apr-09 7:10
Dan Neely21-Apr-09 7:10 
GeneralRe: Setters and Getters evil future Pin
Nagy Vilmos21-Apr-09 10:10
professionalNagy Vilmos21-Apr-09 10:10 
GeneralRe: Setters and Getters evil future Pin
Dan Neely21-Apr-09 10:26
Dan Neely21-Apr-09 10:26 
GeneralRe: Setters and Getters evil future Pin
Jeroen De Dauw28-Apr-09 5:58
Jeroen De Dauw28-Apr-09 5:58 
GeneralNot a coding horror as such, but... Pin
OriginalGriff15-Apr-09 8:43
mveOriginalGriff15-Apr-09 8:43 
GeneralRe: Not a coding horror as such, but... Pin
PIEBALDconsult15-Apr-09 10:02
mvePIEBALDconsult15-Apr-09 10:02 
GeneralRe: Not a coding horror as such, but... Pin
Yusuf15-Apr-09 13:17
Yusuf15-Apr-09 13:17 
GeneralRe: Not a coding horror as such, but... Pin
BillW3323-Apr-09 7:18
professionalBillW3323-Apr-09 7:18 
General5 in a 1 to 10 range Pin
adgonz15-Apr-09 4:41
adgonz15-Apr-09 4:41 
JokeRe: 5 in a 1 to 10 range PinPopular
leppie15-Apr-09 4:46
leppie15-Apr-09 4:46 
GeneralRe: 5 in a 1 to 10 range Pin
Luc 64801115-Apr-09 4:50
Luc 64801115-Apr-09 4:50 

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.