When c like languages say so $a = 5; $b = 1; $result = $a---$b; echo $a; #=>4 echo $b; #=>1 echo $result; #=>4 public class FunMaths{ public static void main(String[] args) { int result; int a = 5, b = 1; result = a---b; System.out.println(a); System.out.println(b); System.out.println(result); } } Share and Enjoy:
Read more »
Posted in Java, PHP, Programming, WTF | 4 Comments »
I am sure you know by now that IBM was set to aquire Sun Microsystems this week. This would have been bad seeing as most of their products directly compete/overlap with eachother. Fortunately they backed off at the last minute (or at least they did not offer enough money for them). While this might...
Read more »
Posted in Computer, Eclipse, IDE, Java, Javascript, Netbeans, Open Source, PHP, Programming | 12 Comments »
First of all, why not? Everything else can run on the jvm (yes… even c#), so why not php? Well… I certainly don’t see why not… Java is a fairly robust language with a pile of different libraries and (as you saw if you clicked on any of those links) languages that can run...
Read more »
Posted in C#, COBOL, Java, Open Source, PHP, Programming, Python, Ruby | 1 Comment »
Ok… so markers are assholes. They go through the assignments with the minimal effort that they can put into it. It is evident that they do this. I got my Operating Systems assignment back and this was made very clear to me. There were comments on it such as “Needs more comments”, and then...
Read more »
Posted in Java, Programming, Trent | No Comments »