Showing posts with label Ruby. Show all posts
Showing posts with label Ruby. Show all posts

Wednesday, March 9, 2011

Required And Optional Function Parameters

I love using different programming languages. Whether it's C#, PHP, Python or Ruby on Rails, they each have their strengths, which makes finishing projects faster. Choose the best tool for the problem.Today a project I'm working on required an additional parameter to a  Javascript method that was already called in several files. In C# I could write an overload methodUse Overloading in C# versions below 4[csharp]public void MyFunctionA (int par1, int par2){ //some code}public void MyFunctionA (int par1, int par2, string...
read more...
 
Copyright © 2003 - 2014 Thom Allen Weblog • All Rights Reserved.