Skip to content

{ Category Archives } Tips & Tricks

Java Tip: Labelled Breaks & Continues

One of the design decisions made during the development of Java was the exclusion of the goto statement. The pros and cons of goto have been debated for countless ages, so I won’t go into that here. Without the goto, one would think that there would be no use for labels in Java. But that’s […]

C Tip: Forward Declaring Structs

Forward declarations in C allow you to declare an object type before actually defining it (you can also do this in C++, but the process is not exactly the same - this tip focuses on C). The most common use of this technique in C is to declare pointers to a type to be used […]