June 2014
Intermediate to advanced
492 pages
14h 35m
English
Chapter 2
![]()
Enhancing the Code
In this chapter, you’ll continue tweaking the simple sample; maybe you can make it better. There are two aspects of “better” I will discuss in this chapter: first, reducing code size and, second, protecting the code from unpleasant surprises. Let’s start with the code size.
Compacting the Code
The sample code presented in the previous chapter is compact. If you don’t believe me, carry out a simple experiment: write a similar application in your favorite high-level Microsoft .NET language, compile it to an executable (and make sure it runs!), disassemble the executable, and compare the result to the sample offered ...
Read now
Unlock full access