background preloader

Try ruby! (in your browser)

Try ruby! (in your browser)

Qcodo - PHP Development Framework JavaScript Kit- Comprehensive JavaScript, DHTML, CSS tutorials and over 400+ free JavaScripts! SecureProgramming.com Learn Python in 10 minutes | Poromenos' Stuff NOTE: If you would like some Python development done, my company, Stochastic Technologies, is available for consulting. This tutorial is available as a short ebook. The e-book features extra content from follow-up posts on various Python best practices, all in a convenient, self-contained format. Preliminary fluff So, you want to learn the Python programming language but can’t find a concise and yet full-featured tutorial. We will focus on Python 3, as that is the version you should use. Properties Python is strongly typed (i.e. types are enforced), dynamically, implicitly typed (i.e. you don’t have to declare variables), case sensitive (i.e. var and VAR are two different variables) and object-oriented (i.e. everything is an object). Getting help Help in Python is always available right in the interpreter. >>> help(5)Help on int object:(etc etc) >>> dir(5)['__abs__', '__add__', ...] >>> abs. Syntax Data types The data structures available in python are lists, tuples and dictionaries. Strings

Whitespace Contributions Several whitespace users have sent in their contributions as examples of use of the language. Please get in touch if you have a program that you'd like to be added to this list. Multi language Written by Jeremy James, this program is both valid whitespace and valid C, and does approximately the same no matter which language you choose to execute it in. A practical use for whitespace might be to embed this in a rot13ed text file. Quine Every language needs to have a quine, which is a program that outputs its own source code. Another Quine This is a second, shorter, quine, also written by Benjamin Lerman. Yet Another Quine A third quine, again by Benjamin Lerman, which includes a copyright notice, and is probably the largest piece of whitespace code written so far... It's possibly also motivation for me to improve the interpreter so that it runs in a sensible time...

EclEmma - Java Code Coverage for Eclipse Lesson: Object-Oriented Programming Concepts (The Java™ Tutorials > Learning the Java Language) If you've never used an object-oriented programming language before, you'll need to learn a few basic concepts before you can begin writing any code. This lesson will introduce you to objects, classes, inheritance, interfaces, and packages. Each discussion focuses on how these concepts relate to the real world, while simultaneously providing an introduction to the syntax of the Java programming language. What Is an Object? An object is a software bundle of related state and behavior. What Is a Class? A class is a blueprint or prototype from which objects are created. What Is Inheritance? Inheritance provides a powerful and natural mechanism for organizing and structuring your software. What Is an Interface? An interface is a contract between a class and the outside world. What Is a Package? A package is a namespace for organizing classes and interfaces in a logical manner. Questions and Exercises: Object-Oriented Programming Concepts

15 Exercises for Learning a new Programming Language by: Prashant N Mhatre I’ve working knowledge of a bunch of programming languages but job demands to learn a new language frequently in a short time. Instead of reading hundreds manual/book pages, I quickly read 10-15 pages of tutorial or primer. First of all, get familiar with Compiler, compiler option, editor shortcuts or integrated development environment (IDE). To grasp basics of a new language quickly, here are the exercises I use. (1) Display series of numbers (1,2,3,4, 5....etc) in an infinite loop. (2) Fibonacci series, swapping two variables, finding maximum/minimum among a list of numbers. (3) Accepting series of numbers, strings from keyboard and sorting them ascending, descending order. (4) Reynolds number is calculated using formula (D*v*rho)/mu Where D = Diameter, V= velocity, rho = density mu = viscosity Write a program that will accept all values in appropriate units (Don’t worry about unit conversion) If number is While running the program give value mu = 0.

The Java™ Tutorials The Java Tutorials have been written for JDK 8. Examples and practices described in this page don't take advantage of improvements introduced in later releases. The Java Tutorials are practical guides for programmers who want to use the Java programming language to create applications. Trails Covering the Basics These trails are available in book form as The Java Tutorial, Sixth Edition. Creating Graphical User Interfaces Creating a GUI with Swing — A comprehensive introduction to GUI creation on the Java platform.Creating a JavaFX GUI — A collection of JavaFX tutorials. Specialized Trails and Lessons These trails and lessons are only available as web pages.

Java tutorial for beginners | freejavaguide.com These tutorials will introduce you to Java programming Language. You'll compile and run your very own Java application, using Sun's JDK. It is extremely easy to learn java programming skills, and in these parts, you'll learn how to write, compile, and run Java applications. Before you can develop corejava applications, you'll need to download the Java Development Kit (JDK). How to Install Java These instructions are to help you download and install Java on your personal computer. Downloading and Installing Java On Windows: Prevent Errors like --> 'javac' is not recognized as an internal or external command 1. 2. 4. For Windows 98 or ME, open the file AUTOEXEC.BAT in Notepad. 5. 6.

Java 5 för nybörjare - Programmering & spelutveckling Tillbaka till artikelarkivet Detta är en enkel nybörjarguide i Java. Guiden kommer att inrikta sig på att skapa sk Applets så att vi snabbt kan komma till de lite roligare bitarna av programmeringen. Navigation: Språket Nu har vi lekt runt lite med applets och ritat lite enkla saker. Klasser Nu har jag nämnt ordet klasser ganska många gånger, och du har troligtvis inte så bra koll på vad det är ändå. Metoder Vi har även skrivit ett par metoder. Datatyper En datatyp är en typ utav data. Returvärden Nu ska vi tillbaka till metoderna en liten stund. Konkreta tillämpningar Nu har jag svammlat massor om datatyper, variabler, objekt och så vidare. Så kan en mycket enkel klass se ut. Nu ska jag visa hur man gör ett objekt utav en klass. public class HuvudKlass { public void HuvudKlass() { NyKlass Objekt = new NyKlass();}}public class NyKlass {} Nu uppstår ju en annan intressant fråga. Okej då, detta kanske var lite svårt. int tal;tal = 5;[/source=java]Inte så knepigt va? import java.applet. Till toppen

Related: