Skip to content
Mikux

A blog of my programming experience

Tag: java

Java DOES have pointers!

Posted on 2013-11-142016-10-31

Java has pointers. People who say that Java does not have pointers are lying. The most confusing point is that, pointers in Java are not called pointers, but called “references” instead. However, a reference is completely different from a pointer. Although Java…

Posted in Programming Tagged java Leave a Comment on Java DOES have pointers!

Polymorphism within constructors

Posted on 2013-10-222016-10-31

In C++, polymorphism does not take place within constructors: #include <iostream> using namespace std; struct Base { Base() { foo(); } virtual ~Base() {} virtual void foo() { cout << “Base::foo()\n”; } }; struct Derived : Base { void foo() { cout…

Posted in Programming Tagged c++, java Leave a Comment on Polymorphism within constructors

Garbage Collection is evil

Posted on 2010-06-022010-11-18

Programming languages with built-in garbage collection (GC) is often praised as no memory leaks, less error-prone, etc but I don’t disagree with this. This article brings you some facts of GC that is never mentioned by advertisements. GC automatically frees resources that…

Posted in Programming Tagged c++, java Leave a Comment on Garbage Collection is evil

Java is NOT my favourite programming language

Posted on 2010-02-192016-06-14

I dislike Java very much, mainly due to its lack of features: Object model Objects and values In C++, a primitive variable is an object, a class variable is an object, a pointer variable is an object, everything that has an address,…

Posted in Programming Tagged java Leave a Comment on Java is NOT my favourite programming language

Categories

  • Applications
  • Network
  • OSes
  • Programming
  • Uncategorized

Archives

  • December 2022 (1)
  • November 2022 (1)
  • May 2022 (1)
  • April 2022 (1)
  • March 2022 (1)
  • November 2021 (1)
  • April 2021 (1)
  • April 2020 (2)
  • February 2020 (1)
  • March 2019 (1)
  • November 2018 (1)
  • April 2018 (1)
  • April 2017 (1)
  • February 2017 (1)
  • December 2016 (1)
  • April 2016 (1)
  • August 2015 (1)
  • February 2015 (1)
  • November 2014 (1)
  • November 2013 (1)
  • October 2013 (1)
  • July 2013 (1)
  • December 2012 (1)
  • December 2011 (1)
  • November 2011 (1)
  • September 2011 (1)
  • November 2010 (1)
  • October 2010 (1)
  • June 2010 (1)
  • April 2010 (1)
  • March 2010 (1)
  • February 2010 (3)
  • January 2010 (3)
  • December 2009 (1)

Blogroll

  • Development Blog
  • Documentation
  • MÄ«Kl
  • Plugins
  • Suggest Ideas
  • Support Forum
  • Themes
  • WordPress Planet

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
All rights reserved © Mikux Theme by Seos Themes