From af99e73ac77ed9d0f5926372ad8bd71b512d79b6 Mon Sep 17 00:00:00 2001 From: DarkFeather Date: Mon, 15 Apr 2019 16:21:46 -0500 Subject: [PATCH] Adding hooks directory; comment cleanup for professionalism --- HelloWorld.bash | 2 +- HelloWorld.c | 2 +- HelloWorld.cs | 2 +- HelloWorld.java | 7 +++---- HelloWorld.php | 8 ++++---- HelloWorld.pl | 2 +- HelloWorld.py | 4 ++-- 7 files changed, 13 insertions(+), 14 deletions(-) diff --git a/HelloWorld.bash b/HelloWorld.bash index 6f42232..c6954ab 100755 --- a/HelloWorld.bash +++ b/HelloWorld.bash @@ -1,6 +1,6 @@ #!/usr/bin/bash -# File: helloworld.bash +# File: HelloWorld.bash # # Description: This file exemplifies printing 'Hello world!' in bash. # diff --git a/HelloWorld.c b/HelloWorld.c index da9f16e..8c5ceb8 100644 --- a/HelloWorld.c +++ b/HelloWorld.c @@ -1,7 +1,7 @@ #include /* - * File: helloworld.c + * File: HelloWorld.c * * Description: This file exemplifies printing 'Hello world!' in C. * diff --git a/HelloWorld.cs b/HelloWorld.cs index 208504b..ef92c36 100644 --- a/HelloWorld.cs +++ b/HelloWorld.cs @@ -1,7 +1,7 @@ using System; /* - * File: helloworld.cs + * File: HelloWorld.cs * * Description: This file exemplifies printing 'Hello world!' in C#. * diff --git a/HelloWorld.java b/HelloWorld.java index 90dbe8a..3bf429d 100644 --- a/HelloWorld.java +++ b/HelloWorld.java @@ -1,9 +1,9 @@ import java.lang.System; /* - * File: helloworld.cs + * File: HelloWorld.java * - * Description: This file exemplifies printing 'Hello world!' in C#. + * Description: This file exemplifies printing 'Hello world!' in Java. * * Package: AniNIX::Foundation/HelloWorld * Copyright: WTFPL @@ -11,8 +11,7 @@ import java.lang.System; * Author: DarkFeather */ - -/// This class is used exemplify coding standard in C#. +/// This class is used exemplify coding standard in Java public class HelloWorld { // String to print diff --git a/HelloWorld.php b/HelloWorld.php index 90f1fc5..31a2ea0 100644 --- a/HelloWorld.php +++ b/HelloWorld.php @@ -1,6 +1,6 @@ ### Prints 'Hello world!' ### function PrintHelloWorld() { - global $helloWorld; - echo $helloWorld."\n"; + global $_helloWorld; + echo $_helloWorld."\n"; } diff --git a/HelloWorld.pl b/HelloWorld.pl index 18ef3d7..67cfa02 100755 --- a/HelloWorld.pl +++ b/HelloWorld.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl -# File: helloworld.pl +# File: HelloWorld.pl # # Description: This file exemplifies printing 'Hello world!' in perl. # diff --git a/HelloWorld.py b/HelloWorld.py index 9481bf1..276d8b1 100755 --- a/HelloWorld.py +++ b/HelloWorld.py @@ -1,8 +1,8 @@ #!/usr/bin/env python3 -# File: helloworld.bash +# File: HelloWorld.py # -# Description: This file exemplifies printing 'Hello world!' in bash. +# Description: This file exemplifies printing 'Hello world!' in python. # # Package: AniNIX::Foundation/HelloWorld # Copyright: WTFPL