The following code shows the Ximp language output for some specific input, showing some of the benefits from using such a nice language.
an Account
is positive? { @amount >= 0 }
// Copyright 2011 The Go Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style | |
// license that can be found in the LICENSE file. | |
// HTTP reverse proxy handler | |
package goengine | |
import ( | |
"io" |
import java.time.DayOfWeek; | |
import java.time.LocalDate; | |
import java.time.Month; | |
import java.time.YearMonth; | |
import java.util.Arrays; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.function.Function; | |
import java.util.function.Predicate; | |
import java.util.stream.Collectors; |
True = lambda { |a,b| a } | |
False = lambda { |a,b| b } | |
display = lambda { |boolean| boolean['true','false']} | |
display[True] # => "true" | |
display[False] # => "false" | |
And = lambda{ |b1,b2| b1[b2,b1] } | |
Or = lambda{ |b1,b2| b1[b1,b2] } |
#lang racket | |
(define (pontos x) | |
(define (soma-lista x) (apply + x)) | |
(define (strike? x) (= (length x) 1)) | |
(define (spare? x) (= (soma-lista x) 10)) | |
(define (pontos2 jogada-anterior jogadas) | |
;; devolve a proxima jogada, que pode ter um ou dois lances | |
(define (proxima-jogada) | |
(if (= (first jogadas) 10) |
Sete Atitudes para Hackear a Indústria de Software | |
By Klaus Wuestefeld | |
1) Torne-se excelente. | |
Seja realmente bom em alguma coisa. Não fique só choramingando ou | |
querendo progredir às custas dos outros. Não pense q pq vc sentou 4 | |
anos numa faculdade ouvindo um professor falar sobre software q vc | |
sabe alguma coisa. Jogador de futebol não aprende a jogar bola tendo |