Click here to Skip to main content
15,886,199 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: Beginner's Shame: Manually Draw Characters Pin
AspDotNetDev25-Aug-10 10:30
protectorAspDotNetDev25-Aug-10 10:30 
GeneralRe: Beginner's Shame: Manually Draw Characters Pin
Dave Calkins26-Aug-10 11:18
Dave Calkins26-Aug-10 11:18 
GeneralRe: Beginner's Shame: Manually Draw Characters Pin
Luc Pattyn25-Aug-10 11:34
sitebuilderLuc Pattyn25-Aug-10 11:34 
GeneralRe: Beginner's Shame: Manually Draw Characters Pin
AspDotNetDev25-Aug-10 12:52
protectorAspDotNetDev25-Aug-10 12:52 
GeneralRe: Beginner's Shame: Manually Draw Characters Pin
Luc Pattyn25-Aug-10 13:23
sitebuilderLuc Pattyn25-Aug-10 13:23 
GeneralRe: Beginner's Shame: Manually Draw Characters Pin
Baconbutty26-Aug-10 3:17
Baconbutty26-Aug-10 3:17 
GeneralRe: Beginner's Shame: Manually Draw Characters Pin
BillW3326-Aug-10 5:42
professionalBillW3326-Aug-10 5:42 
GeneralRe: Beginner's Shame: Manually Draw Characters Pin
Stefan_Lang31-Aug-10 6:42
Stefan_Lang31-Aug-10 6:42 
Hey, I don't see anything wrong with that. One of my first coding tasks at university was the other way round: a 'function plotter' that would take a function as input and 'draw' the graph on a text-only line printer using a 'resolution' of 132x66 characters (and using 'x' as pixels).

I later adapted this little gem to print out a two-dimensional representation of a four-dimensional simplex (four dimensional equivalent of a three dimensional 'cube' if you will). Ok, it was a bit hard to actually 'see' anything, but it worked Smile | :)

Now, if I still had the code (IIRC I let the stack of punch cards drop and eventually discarded them to save me the bother of sorting) I could try and combine it with yours to actually draw the 'x' characters that were meant to represent the pixels of what I wanted to draw. Big Grin | :-D
GeneralRe: Beginner's Shame: Manually Draw Characters Pin
AspDotNetDev31-Aug-10 8:19
protectorAspDotNetDev31-Aug-10 8:19 
GeneralThat may have been a mistake... PinPopular
OriginalGriff20-Aug-10 23:16
mveOriginalGriff20-Aug-10 23:16 
GeneralRe: That may have been a mistake... Pin
PIEBALDconsult21-Aug-10 4:22
mvePIEBALDconsult21-Aug-10 4:22 
GeneralRe: That may have been a mistake... Pin
OriginalGriff21-Aug-10 4:30
mveOriginalGriff21-Aug-10 4:30 
GeneralRe: That may have been a mistake... Pin
PIEBALDconsult21-Aug-10 4:39
mvePIEBALDconsult21-Aug-10 4:39 
GeneralRe: That may have been a mistake... Pin
OriginalGriff21-Aug-10 4:41
mveOriginalGriff21-Aug-10 4:41 
GeneralRe: That may have been a mistake... Pin
Jeroen De Dauw21-Aug-10 4:35
Jeroen De Dauw21-Aug-10 4:35 
GeneralRe: That may have been a mistake... Pin
OriginalGriff21-Aug-10 4:39
mveOriginalGriff21-Aug-10 4:39 
GeneralRe: That may have been a mistake... Pin
Jeroen De Dauw21-Aug-10 4:41
Jeroen De Dauw21-Aug-10 4:41 
GeneralRe: That may have been a mistake... Pin
OriginalGriff21-Aug-10 4:42
mveOriginalGriff21-Aug-10 4:42 
AnswerRe: That may have been a mistake... PinPopular
Luc Pattyn22-Aug-10 9:17
sitebuilderLuc Pattyn22-Aug-10 9:17 
GeneralRe: That may have been a mistake... Pin
OriginalGriff22-Aug-10 9:28
mveOriginalGriff22-Aug-10 9:28 
GeneralRe: That may have been a mistake... Pin
Luc Pattyn22-Aug-10 10:03
sitebuilderLuc Pattyn22-Aug-10 10:03 
GeneralRe: That may have been a mistake... Pin
OriginalGriff22-Aug-10 11:40
mveOriginalGriff22-Aug-10 11:40 
GeneralRe: That may have been a mistake... Pin
Luc Pattyn22-Aug-10 11:50
sitebuilderLuc Pattyn22-Aug-10 11:50 
GeneralRe: That may have been a mistake... Pin
OriginalGriff22-Aug-10 22:00
mveOriginalGriff22-Aug-10 22:00 
GeneralRe: That may have been a mistake... Pin
PIEBALDconsult22-Aug-10 11:55
mvePIEBALDconsult22-Aug-10 11:55 

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.