Just to add my two cents to this discussion, think back to the original question. The original poster wanted a list of characters and their binary representation. Several solutions were presented, including a list on the web and using the Windows calculator. Someone posted a small app which would output that list to the screen. The poster was looking for a list, the program provided a list. He was not looking for a lesson on how to write a program to output characters and their binary values. Therefore, I think the rough code posted was appropriate for the task. Yes, it WAS rough, and it should have been better. We should always practice good programming, but in this case I can let it pass because of the intention of the program. Just my thoughts.
- Varlock ----- Original Message ----- From: "Dynerman David M" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 16, 2001 11:38 AM Subject: RE: [hlcoders] Binary (wtf?) (Updated) Well what you're saying defeats your own point. If the code was intended as a teaching tool, shouldn't extra care be taken to make sure its readable and implemented well? david -----Original Message----- From: Florian Zschocke [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 16, 2001 5:36 AM To: [EMAIL PROTECTED] Subject: Re: [hlcoders] Binary (wtf?) (Updated) Dynerman David M wrote: > > Not if you need to go back in 3 months and change something :) All he asked about was list of the binary representation of characters. That list is pretty easy to come by with a small piece of code. Since he didn't know how to do it I quickly wrote it up for him and provided the list. I just added the code for it so he could check it and see how the list was generated. That's all. That code was in no way meant to be integrated into any other app and has served it's purpose. As skyork said, one should actually understand the number system before trying to manipulate things in a real app. Florian. _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders