About Melba Martis

This author has not yet filled in any details.
So far Melba Martis has created 19 blog entries.

January 2016

Java Enum (Enumerations)

By | 2016-01-16T07:47:09+00:00 January 16th, 2016|Core Java|

In this article I’ll write about Java Enumerations which are the most elegant way to define and use constants in your application. This is the basic feature every one knows but there are some more which you might don’t know. […]

December 2015

Python String Concatenation

By | 2015-12-27T04:53:15+00:00 December 27th, 2015|Python Code|

String concatenation is likely something you will need sooner or later. Python offers several possibilities to fulfill this task. Here we will present two of the most common methods. The first method is using the +-operator. The following snippet provides an example: […]

Python date comparison

By | 2015-12-27T04:49:30+00:00 December 27th, 2015|Python Code|

Comparing dates (or datetime objects) in Python is very easy. The basic comparison operators (==, !=, <>, >, <, >=, <=) are overloaded for the datetime object, so comparing dates is very intuitive and quick. […]

Dates and times with Python

By | 2015-12-20T09:21:30+00:00 December 20th, 2015|Python Tutorial|

Sometimes we have to work with dates and times. I use dates less than times because with times you can measure code execution time which is sometimes essential (for my website scraping book’s performance measurement is the core part I guess). […]

Object-Oriented Programming (OOP)

By | 2015-12-20T09:17:03+00:00 December 20th, 2015|Python Tutorial|

Now we arrived at object-oriented programming. This has (had) its hype where every language was designed around objects and Python developer Guido van Rossum thought “Why not?” and added classes to support object-oriented development. Some python evangelists think this was a bad decision, some think it was a good approach… […]

November 2015

Python function

By | 2015-11-29T18:15:36+00:00 November 29th, 2015|Python Tutorial|

Now we have learned the basics of Python programming: variables, collections and loops. If you have followed the examples and the tutorial you might feel that sometimes we use too much code and it can be leveraged a bit. But maybe you do not know how to do it. Most of the time the solution [...]