background preloader

Informatique

Facebook Twitter

Javascript

JavaScript Loops - for | CoderMania. Understanding of loops is very important for every programmer. Please pay attention to this lesson. We use loops when we want to repeat some algorithm. For example, we want to print the same text multiple times. We could help Bart to write it for him: for (var i = 0; i < 11; i++) { console.log('I will learn to code. Copy & paste to the code editor Amazing, huh? The first command is definition of variable i. The second command (i < 11) is condition. In the last command (i++), we increment value of the i variable by 1. Notice, we write semicolon after the first and the second command. Look at another example. For (var i = 0; i < 11; i++) { console.log(i); } So you can see that i is 0 in the first iteration and it increases up to 10.

Notice that loop runs 11 times and then the code after loop runs: for (var i = 0; i < 11; i++) { console.log(i); } console.log('done'); Notice, we can increment variable i by any value. For (var i = 0; i < 11; i = i + 2) { console.log(i); } Infinite loop.

OpenGL

Bakbone.js. Java EE. Software Development & Entrepreneurship Tutorials. AngularJS. State Machines | Unit 1: Software Engineering | Introduction to Electrical Engineering and Computer Science I | Electrical Engineering and Computer Science. Python. DeveloperWorks : Training : Knowledge path : Overview. Linux Command Line - Vim. 10 Object Oriented Design principles Java programmer should know (guest post) This article was originally posted by Javin Paul at Javarevisited. Object Oriented Design Principles are core of OOPS programming but I have seen most of Java programmer chasing design patterns like Singleton pattern, Decorator pattern or Observer pattern but not putting enough attention on Object oriented analysis and design or following these design principles. I have regularly seen Java programmers and developers of various experience level who either doesn’t heard about these OOPS and SOLID design principle or simply doesn’t know what benefits a particular design principle offers or how to use these design principle in coding.

Bottom line is always strive for highly cohesive and loosely couple solution, code or design and looking open source code from Apache and Sun are good examples of Java design principles or how design principles should be used in Java coding. Object oriented design principle 1 – DRY (Don’t repeat yourself) Always favour composition over inheritance if possible.

Dactylographie

Programmer 101: Teach Yourself How to Code. Learn to Code for Free With These 10 Online Resources. XML. Skilly. Programming and Web Development Help | DreamInCode.net. Become a Programmer, Motherfucker. If you don't know how to code, then you can learn even if you think you can't.

Thousands of people have learned programming from these fine books: Learn Python The Hard Way Learn Ruby The Hard Way Learn Code The Hard Way I'm also working on a whole series of programming education books at learncodethehardway.org. These are works in progress, and feedback is welcome. Learn C The Hard Way Learn SQL The Hard Way Graphics Programming Language Agnostic NerdDinner Walkthrough Assembly Language Bash Clojure Clojure Programming ColdFusion CFML In 100 Minutes Delphi / Pascal Django Djangobook.com Erlang Learn You Some Erlang For Great Good Flex Getting started with Adobe Flex (PDF) Forth Git Grails Getting Start with Grails Haskell Java JavaScript JavaScript (Node.js specific) Latex The Not So Short Introduction to LATEX (perfect for beginners) Linux Advanced Linux Programming Lisp Lua Maven Mercurial Nemerle Nemerle NoSQL Oberon Programming in Oberon (PDF) Objective-C The Objective-C Programming Language OCaml Oracle Server Oracle PL/SQL Vim.

Bases de données.

Réseaux

Algorithmique. Le Site du Zéro. Développement WEB.