Monday, August 19, 2013

Naming Convention in Programming

Summary from wikipedia

Classes

- Name should be nouns in UpperCamelCase
- Use whole words (avoid acronyms and abbreviations)
- e.g. : class Raster; class ImageSprite

Methods

- should be verbs in lowerCamelCase
- first letters of subsequent words in uppercase
- e.g.: run(); runFast(); getBackground();

Variables

- written in lowerCamelCase
- should not start with underscore( _ ) or ($) characters
- should be used prefix all instance variables
- keep short and meaningful
- avoid one character
- e.g. : float myWidth

Constants

- should be written in uppercase characters seperated by underscores
- my contain digits if appropriate but not first character
- e.g.: final static int MAX_PARTICIPANTS

Friday, August 16, 2013

How to Remove Delta Search Malware

I got Delta Search by installing Free Movie Maker without notice, it stick to all browser. Whenever i open any browser, it will be my default search engine. According to the expert, it is not safe to use as it will track personal data like credit card information. So be alert!

If you are not lucky like me, you can follow the link. It teach you step by step how to remove the malware.


Wish you luck! =)