Jj

Jj


• Lj

Controlling the code:


This chapter was about the control structures, which is the most important part of the programming in small. And as the author said in the last chapter, that these concepts (programming in small) is the building blocks of the next level programming, which is about making classes and subroutines.

For me, there were a lot of information which i fimilar with, like if statement and while loop, because there were no differences between using them in Java and using them in Python. I can say that the new concepts, after migration from Python are:

For loop.

Do, while loop.

Switch statement.

Exceptionas catching is another useful method, that can be used instead of if statements in some situations.


Conceptual models:


Like any programming beginner tutorial, the conceptual modelling is an essential method for solving problems. The most interesting thing is the method that used by the author: refinement stepwise. By writing an outline for each step in your solution (your program), then you describe each step gradually until you describe the step in programming logic, not in human logic. Such a simple and genius idea!


Chains of data:


In Java, arrays has a static size, not dynamic like lists in Python. I th


Report Page