Adding hooks directory; comment cleanup for professionalism

This commit is contained in:
DarkFeather 2019-04-15 16:21:46 -05:00
parent 151648f44f
commit af99e73ac7
7 changed files with 13 additions and 14 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/bash
# File: helloworld.bash
# File: HelloWorld.bash
#
# Description: This file exemplifies printing 'Hello world!' in bash.
#

View File

@ -1,7 +1,7 @@
#include <stdio.h>
/*
* File: helloworld.c
* File: HelloWorld.c
*
* Description: This file exemplifies printing 'Hello world!' in C.
*

View File

@ -1,7 +1,7 @@
using System;
/*
* File: helloworld.cs
* File: HelloWorld.cs
*
* Description: This file exemplifies printing 'Hello world!' in C#.
*

View File

@ -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 <darkfeather@aninix.net>
*/
/// This class is used exemplify coding standard in C#.
/// This class is used exemplify coding standard in Java
public class HelloWorld {
// String to print

View File

@ -1,6 +1,6 @@
<?php
# File: helloworld.php
# File: HelloWorld.php
#
# Description: This file exemplifies printing 'Hello world!' in PHP.
#
@ -11,14 +11,14 @@
### String to print
$helloWorld="Hello world!";
$_helloWorld="Hello world!";
### <summary>
### Prints 'Hello world!'
### </summary>
function PrintHelloWorld() {
global $helloWorld;
echo $helloWorld."\n";
global $_helloWorld;
echo $_helloWorld."\n";
}

View File

@ -1,6 +1,6 @@
#!/usr/bin/perl
# File: helloworld.pl
# File: HelloWorld.pl
#
# Description: This file exemplifies printing 'Hello world!' in perl.
#

View File

@ -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