Optional Method Parameters in Ruby

May 12th, 2011 No comments
Ruby allows programmers to specify optional method parameters through the use of default parameter values. For example: def some_method( a = ‘testing’, b = ‘optional’, c = ‘params’ ) ... end You can call the above method in any of the following ways: some_method some_method ( ‘hello’ Read More...

iOS Memory Management Made Easy

April 3rd, 2011 No comments
Programming languages, such as Java, provide automatic garbage collection. On the other hand, developing applications for iOS platform requires that programmers explicitly handle memory management. Many programmers who are new to iOS development or whose primary programming experience is in Java or similar Read More...