adaJS
adaJS is a community of women who meet periodically in Barcelona, with the goal of promoting and supporting the growth of the female sector in the field of information technology (IT) through JavaScript and web development
Elena He
Meetups técnicos Mensuales
Dojos de programación mensuales
Bajo nivel:
Scripts de sistemas
Alto nivel:
Aplicaciones web y 'lo que surja'
Tener un editor de texto decente.
Configurarlo para que traduzca los tabuladores por 4 espacios
2.7 | 3.x |
---|---|
Rendimiento aceptable | Más eficiente |
print "hola" | print("hola") |
codificacion de texto | Unicode by default |
division entera | division decimal |
xrange = lazy range | range lazy by default |
variable loop leak | no leaks |
Abrir una terminal.
Linux:
Aqui hay diferentes maneras
Mac OS:
spotlight > terminal
Windows:
ejecutar el interprete de python de vuestro directorio de instalación
Escribir 'python' y darle a enter.
Vamos a ver como es "Hello world" en diferentes lenguajes
with Text_To; use Text_To
procedure hello is
begin
put("Hello World");
end hello
console.log("Hello world!");
print("Hello World")
puts "Hello world"
#include<stdio.h>
main()
{
printf("Hello World");
}
using System;
class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Hello, world!");
}
}
(()()(()()(()()()()((()()(()(()((()((()()()((()((()()()((()((((()()(()(
)()()()()(((()(((()((()((((()(((()()(()()((()((()()()((()()(()()()()(()
()()()(()()()()(()(())))))))))))))))))))))))))))))))))))))))))))))))))
;;; HWorld.lsp
;;; ================================================== ;;;
;;; =========== HELLO WORLD SIMULATION ============== ;;;
;;; ================================================== ;;;
;;; This function simply returns the string Hello World that is in quotes.
(DEFUN HELLO ()
"HELLO WORLD"
)
S S S T S S T S S S L
T L
S S S S S T T S S T S T L
T L
S S S S S T T S T T S S L
T L
S S S S S T T S T T S S L
T L
S S S S S T T S T T T T L
T L
S S S S S T S T T S S L
T L
S S S S S T S S S S S L
T L
S S S S S T T T S T T T L
T L
S S S S S T T S T T T T L
T L
S S S S S T T T S S T S L
T L
S S S S S T T S T T S S L
T L
S S S S S T T S S T S S L
T L
S S S S S T S S S S T L
T L
S S L
L
L
By adaJS
Otra introduccion a python. By @mikanchu