background preloader

Informatique

Facebook Twitter

Javascript

JavaScript Loops - for. Understanding of loops is very important for every programmer.

JavaScript Loops - for

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. Introduction to Electrical Engineering and Computer Science I. 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.

10 Object Oriented Design principles Java programmer should know (guest post)

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. If Mark Zuckerberg and Bill Gates say so, it must be true: Understanding how to code is the new literacy.

Learn to Code for Free With These 10 Online Resources

Take Zuck and Gates' advice — learn to code. Understanding computer programming will open doors to new jobs and opportunities. But you're probably thinking, where do I even begin? Will code classes drain my money and time? Fortunately for you, there are loads of ways to learn coding online, without paying a thing. We've rounded up 10 places on the web that teach coding through video tutorials, games and quizzes.

Homepage image courtesy of iStockphoto, bmcent1.

XML

Skilly. Stack Overflow. Programming and Web Development Help. Become a Programmer, Motherfucker. If you don't know how to code, then you can learn even if you think you can't.

Become a Programmer, Motherfucker

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. Learn C The Hard Way Learn SQL The Hard Way Learn Regex 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. Bases de données.

Réseaux

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