Code: Select all
If GetSystemMetrics_(#SM_SWAPBUTTON)=#False
mousebutton=#VK_LBUTTON
Else
mousebutton=#VK_RBUTTON
EndIf
What sort of things like this do you have from your past that make you cringe?
Code: Select all
If GetSystemMetrics_(#SM_SWAPBUTTON)=#False
mousebutton=#VK_LBUTTON
Else
mousebutton=#VK_RBUTTON
EndIf
I once spent two months as a student coding a database and text-based gui on a mainframe. I did it for the challenge alone but when it was finished the college offered to buy it from me. This was very flattering and I sold it to them along with full source. Five years later I hired a new employee who had just graduated from the school. When she heard my name she said, "you're famous" and went on to tell me that every computer science student knew my name because of the project the college had bought from me. I basked in the glow of this revelation for about 3 seconds and then she went on to add, "The computer science department gives your code to all second-year students to rewrite and change from its hopeless spaghetti-code logic into something that is properly structured and maintainable. It's listed in the course material under the heading, 'Avoiding common coding mistakes'."What sort of things like this do you have from your past that make you cringe?
Ah yes, this is the reason vaporware is unassailable while published work is subject to critique. The world operates on the latter.netmaestro wrote:I once spent two months as a student coding a database and text-based gui on a mainframe. I did it for the challenge alone but when it was finished the college offered to buy it from me. This was very flattering and I sold it to them along with full source. Five years later I hired a new employee who had just graduated from the school. When she heard my name she said, "you're famous" and went on to tell me that every computer science student knew my name because of the project the college had bought from me. I basked in the glow of this revelation for about 3 seconds and then she went on to add, "The computer science department gives your code to all second-year students to rewrite and change from its hopeless spaghetti-code logic into something that is properly structured and maintainable. It's listed in the course material under the heading, 'Avoiding common coding mistakes'."What sort of things like this do you have from your past that make you cringe?