Kids Programming Language

From Wikipedia, the free encyclopedia

Tic Tac Toe
Enlarge
Tic Tac Toe

Kid's Programming Language is a programming language designed to be understandable and appealing to children. Version 1 was released in August 2005, and Version 2, is now released.

Contents

[edit] Technical Overview

KPL is a procedural programming language bearing some similarities to Visual Basic, and KPL source can be automatically ported to VB.NET or C# source with the packaged IDE. The language supports a number of scalar and complex data types, including structures, but the present version does not support the definition of objects.

KPL is tightly integrated with and only available for Microsoft Windows operating systems. It is thus not usable to teach programming on other operating systems or teach the concept of portable programming.

A KPL program is a collection of nested code blocks. On the highest level is a Program block, and within this Method blocks and Function blocks are defined. Functions and Methods in KPL are both chunks of reusable code, available in the Program scope; Functions return values, while Methods may not. Data structures are defined within the Program scope. Variables must be declared and typed at the time of declaration.

The language is closely tied to the Microsoft .NET Framework and provides many runtime functions and methods for interacting with the platform. The easy portability between KPL and other .NET languages has led Microsoft to promote KPL as a successor teaching language to Visual BASIC.[dubious ] The language is promoted on Channel 9 and MSDN, and the company that presently distributes the language, Morrison-Schwartz, is part-owned by Jon Schwartz, a former program manager for Microsoft.

One anonymous user has said, "KPL is perfect, and is not very different from it's sequel, Phrogram(c),which is only slightly perfecter. KPL does have a couple shortcomings, so I would recommend the slightly perfect-er Phrogram for younger children." This user is between the ages ten and fifteen, but would like her identity kept a secret.

[edit] Hello, World! in KPL

Program HelloWorld
    Method Main()
        PrintLine ("Hello, World!")
    End Method
End Program

[edit] Philosophy

Spinning Orbs
Enlarge
Spinning Orbs

Jonah Stagner started development on KPL when he started to teach his own children how to program and found that the currently available choices of tools and technology were simply not as beginner-friendly as they needed to be. Since then Jonah, Jon Schwartz and Walt Morrison, have taken KPL from those early stages to a globally successful product in less than a year.[citation needed] Their primary goal is to produce a programming language that makes learning to program easy and fun. KPL immediately captures a novice's interest by the ease with which one can write attractive multi-media programs with eye-catching graphics, music, sound effects, and animations.

A secondary goal for KPL is to provide a modern language with several of the features of languages such as C++, Java, Visual Basic and C#, and Visual Basic syntax, to make the transition into those languages as easy as possible. The current version of KPL does not support object-oriented programming (OOP), KPL version 2 will allow for definition of classes and their associated properties and methods, which provides beginning programmers with an introduction to OOP programming.

To accomplish their goals, KPL's developers are building Version 2 upon the recent .NET Framework Version 2 which was itself released in November 2005. KPL version 2 intends to be fully compatible with other languages that use the .NET Framework, so that runtime libraries can be shared in either direction.

[edit] Other Information

KPL is freeware that has now (as of April 25, 2006 ) been downloaded over 80,000 times. KPL’s user interface is available in 18 languages: English, Spanish, Russian, Chinese, German, French, Italian, Dutch, Swedish, Thai, Greek, Polish, Romanian, Norwegian, Portuguese, Danish, Czech and Catalan. KPL’s website is currently available in English, Spanish, French, Portuguese, Russian, Norwegian and Swedish. All non-English translations have been provided by a global community of volunteers, and the company encourages users to translate it.

Random Rectangles
Enlarge
Random Rectangles

Although KPL was originally designed with 10- to 14-year-old kids in mind (hence the name “Kids Programming Language”), it is appropriate for beginning programmers of any age. It is currently in use by many older people who have downloaded it for themselves, rather than for their children or their students.[citation needed] KPL is suitable for a first programming course at any level of education, and is being used by primary and secondary schools and in universities in many countries, including the US, Britain, Canada, Mexico, Columbia, Russia, Iceland, Sweden, Czech Republic, Slovakia, Portugal, Brazil, China, Guam, the Philippines and New Zealand.[citation needed]

[edit] External links