This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
C: | |
chdir C:\cygwin\home\Craig | |
set SHELL=/bin/bash | |
set HOME=/home/Craig | |
set HOMEDRIVE="C:" | |
C:\cygwin\bin\rxvt -fn "Lucida Console-20" --loginShell +sb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class A{} | |
public class B{} | |
A a = method(); | |
B b = method(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public int factorial(int n) | |
{ | |
if (n < 1) | |
{ | |
error("n less than 1. <" + n + ">"); | |
} | |
return n == 1 ? 1 : n * factorial(n - 1); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class A{} | |
public class B{} | |
A a = undefined(); | |
B b = undefined(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class A{} | |
public class B{} | |
A a = null; | |
B b = null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public null undefined() | |
{ | |
return null; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public A undefinedA() | |
{ | |
throw new RuntimeException(); | |
} | |
public B undefinedB() | |
{ | |
throw new RuntimeException(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A a = undefined(); | |
B b = undefined(); | |
public Nothing undefined() | |
{ | |
...; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public MyObject myMethod(MyParameter myParameter) | |
{ | |
return undefined(); | |
} | |
// vs. | |
public MyObject myMethod(MyParameter myParameter) | |
{ | |
undefined(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Nothing undefined() | |
{ | |
return undefined(); | |
} |
OlderNewer