base-knowledge Thread: The makers of Programs

Thread: The makers of Programs

On a previous post, we talked about Processes. In this post, we will talk about ‘their offspring’, the Thread! What are threads? Threads are squiggly lines: But to be more realistic we can interpret the name Threads coming from: an analogy to the Thread of fabrics: they work together to span a piece of a …

Read Article Read More

base-knowledge Sequence Diagram – What, when and who

Sequence Diagram – What, when and who

Hello my dear Softects, It is me again: Archie! Today we are going to discuss another tool in our UML box, the Sequence Diagram! So let’s jump right in it! Why use a Sequence Diagram? The sequence diagram it is used to show the interaction of different agents (or objects) during a task. It shows …

Read Article Read More

base-knowledge JDK vs JRE

JDK vs JRE

I often see new programmers and regular computer users trying to get java on their machines because “that website said so” or for some programming, getting confused on what they should download. I admit there are too many acronyms in the computing world and sometimes they are not completely necessary, or at least could be simplified …

Read Article Read More

base-knowledge Class Diagrams – Part 2

Class Diagrams – Part 2

My dear Softects, this is the segue from Part 1. If you haven’t checked it out I recommend you to go and do it… now would be good…   The Class Diagram – Where we left off On part 1 we talked about associations and the contents of the class diagram component. This time we …

Read Article Read More

base-knowledge Class Diagrams – Part 1

Class Diagrams – Part 1

Hello my esteemed fellow Softects (Software + Architects… maybe it will stick). Today I would like to discuss Class Diagrams. If you want to talk software architecture it is good to have a common way of express ideas. Now UML is really extensive and somewhat flexible and thus I am a believer that the Pareto …

Read Article Read More

base-knowledge Start() vs Run()

Start() vs Run()

There is a small detail that often goes by unnoticed (well it did for me!) that does make a huge difference when you want to do some multi-threading work. As you know (if you don’t check this post), you can create a Runnable which contains a run() method in which, in turn, is where you …

Read Article Read More

base-knowledge IS-A

IS-A

This IS-A post about the IS-A concept/test. No worries it should be a short one 😉 What is the IS-A? In object oriented design (and programming) the IS-A concept is a “test” to see if an abstraction is a sub-type of another. So if we have something like: We could ask: IS BMW3 A Car? Well …

Read Article Read More

base-knowledge Process – let’s start concurrency

Process – let’s start concurrency

Ahhh a process… the stuff I need. THE thing to run on! Hey guys, here I am, the master of concurrency! In this post I briefly want to discuss what processes are, what are they for, and answer all the necessary questions to serve as a base from our further explorations of the Concurrency world. What …

Read Article Read More