ThisIsABlogThingIThink
Friday 15 November 2013
Thursday 14 November 2013
APL
'Hello World!'
APL is a symbol based language, as so the print function only requires quotation marks and it will print anything with in the quotation marks, and so the "Hello World" program is just righting hello world in quotidian marks.
Monday 11 November 2013
丙正正
#<iostream>をを含む
std名前空間を使用して;
int型のmain()
{
COUTは"こんにちは、世界!" << << endlを;
0を返す;
}
std名前空間を使用して;
int型のmain()
{
COUTは"こんにちは、世界!" << << endlを;
0を返す;
}
This is a sample of a chinese based c++ language there is some english in there because the chinese do not have a characters and i was unable to locate the substatute that is used in the language.
Friday 25 October 2013
Python
$ vim helloworld.py
#!/usr/bin/python
# Hello world python program
print "Hello World!";
#!/usr/bin/python
# Hello world python program
print "Hello World!";
It is also important that I explain a bit about righting in the languages. This above is a sample of Python programing language, it is the simplest English based language I have come across.
In every program the first thing stated is the name of the file. In this case the name is “helloworld” the bit before it is just saying to the computer that this is the name, and the .py is just saying it is a Python script that can be executed.
Next In python you state where the reader is for the script is on your computer. This does not have to be stated in all languages because in many of the languages the script is written strait into the reader (the reader is the program on the computer that will interpret you code.)
Finaly the last two lines are the body of the code, this is what the reader will be reading and interpreting and this is the bit that makes things happen.
C#
public class HelloWorld
{
public static void Main()
{
System.Console.WriteLine("HELLO WORLD");
}
}
{
public static void Main()
{
System.Console.WriteLine("HELLO WORLD");
}
}
This is a sample of c#, and English based language. I thought I would show you it because if you’re an English reader then you may need a sample of and English language to know what you’re looking at with other languages.
Monday 21 October 2013
قلب
image from Wikapidia
This is a sample of قلب meaning heart, it is one of the worlds first programing language based around the Arabic language. This is a what i think is a sample of the Hello World script but as I can not read Arabic I could not tell you for certen.
Thursday 17 October 2013
Programing in difrent langueges
I am currently learning to program in c# javascript and python, and i have noticed that they are all very different languages.
This sparked my interest, so I googled programing languages and found out there are a lot to choose from. What I’m going to do is give you a taste of all the different languages I can. So they can be compared easily I will use each language to make a "Hello World” program.
For thoughts who don't know a "Hello World" program is usually the first thing you learn to do when you’re learning a programing langue. It is as simple as making the computer gives you a pop up saying "Hello World" but it gives you a place to start.
For an idea of where I’m getting this information and for what you might get in this blog you can check out this Wikipedia entry for the list of languages I will be showing you.
http://en.wikipedia.org/wiki/Non-English-based_programming_languages
and
http://en.wikipedia.org/wiki/Programming_language
*note i will not be doing all of them and the ones i do will be randomly picked.
This sparked my interest, so I googled programing languages and found out there are a lot to choose from. What I’m going to do is give you a taste of all the different languages I can. So they can be compared easily I will use each language to make a "Hello World” program.
For thoughts who don't know a "Hello World" program is usually the first thing you learn to do when you’re learning a programing langue. It is as simple as making the computer gives you a pop up saying "Hello World" but it gives you a place to start.
For an idea of where I’m getting this information and for what you might get in this blog you can check out this Wikipedia entry for the list of languages I will be showing you.
http://en.wikipedia.org/wiki/Non-English-based_programming_languages
and
http://en.wikipedia.org/wiki/Programming_language
*note i will not be doing all of them and the ones i do will be randomly picked.
Subscribe to:
Posts (Atom)