It’s amazing what is available out there now.
Just not enough time in the day.
http://lifehacker.com/201979/technophilia-get-a-free-college-education-online
Leave the first comment ▶It’s amazing what is available out there now.
Just not enough time in the day.
http://lifehacker.com/201979/technophilia-get-a-free-college-education-online
Leave the first comment ▶In Java you have to set default method values at either
1) A global level (Not safe)
2)Each time the method is called before you do any work within the method. This is preferred but involves a couple extra lines of code
In Python, you can set default values in the definition of the function itself. If a value is passed in, it overrides the default, if not, the default value is used.
def someMethod (self, var1, var2, var3=’false’):
In this example, var3 will always be set to ‘false’ (and you don’t need to pass it), but if you do pass it in, var3 will take on the passed in variables value.
In java it would be more like this:
void someMethod ( String var1, String var2, String var3){
String local_var1 = var1;
String local_var2 = var2;
String local_var3 = “false”;
local_var3 = var3;
}
You have to define the default value and then overwrite it.
Leave the first comment ▶Yea… my company does none of this: http://sites.google.com/site/steveyegge2/google-secret-weapon
Good blog though.
Leave the first comment ▶So you start to feel comfortable with your knowledge of coding and/or a particular language… and then you run into something like this:
http://www.jwz.org/doc/java.html
And you all of a sudden… feel small.
Leave the first comment ▶Inheritance vs. Interfaces
http://www.javaworld.com/javaworld/jw-08-2003/jw-0801-toolbox.html
Interfaces wins out
Leave the first comment ▶