Sinisterly
[Source] Remove comments - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Visual Basic & .NET Framework (https://sinister.ly/Forum-Visual-Basic-NET-Framework)
+--- Thread: [Source] Remove comments (/Thread-Source-Remove-comments)

Pages: 1 2


RE: [Source] Remove comments - w00t - 05-29-2013

Please, tell me it would take you less/about the same amount of time to understand
Code:
isValid = ( char > 31 && char < 127 ) ? : false

As it would take to read

// if char is a printable ascii character, isValid = true


RE: [Source] Remove comments - SQLi - 05-29-2013

(05-29-2013, 12:42 AM)w00t Wrote: Please, tell me it would take you less/about the same amount of time to understand
Code:
isValid = ( char > 31 && char < 127 ) ? : false

As it would take to read

// if char is a printable ascii character, isValid = true

This is getting ridiculous, you need to get over yourself.


RE: [Source] Remove comments - w00t - 05-29-2013

I'm not sure how it's ridiculous to try to teach good programming practices.