Témoignage
 

Rubrique « Info »

 



Écrivez à AILES !



Retour vers les blagues
 


« Java dire une prière »


    Amis Java, ça va ?
    Avez-vous fait votre prière quotidienne aujourd'hui ?
    Non ?
    Alors pour ceux qui croient que Java est *le* langage et qui s'y adonnent telle une religion, voici de quoi aider leur spiritualité ;) et remercier un
Dieu qui parfois a connu quelques bugs ! Après vous pourrez dire "Hello World" (toujours en java!).


/** 
@author Ganesh Prasad 
*/
 
import org.religion.*; 

public class LordsPrayer 

  public void pray() 
  { 
    // Our Father, who art in heaven, 
    //
 
    God ourFather = Heaven.getGodInstance(); 

    // Hallowed be thy Name. 
    // 
    ourFather.getName().setHallowed( true ); 

    // Thy kingdom come. 
    // 
    ourFather.getKingdom().setWelcome( true ); 

    // Thy will be done in earth 
    // As it is in heaven. 
    // 
    boolean isWillDone = Heaven.isWillDone( ourFather ); 
    Earth.setWillDone( ourFather, isWillDone ); 

    // Give us this day our daily bread. 
    // 
    Bread dailyBread = ourFather.getBread( new Date() ); 

    // And forgive us our trespassess, 
    // As we forgive those who trespass against us. 
    // 
    synchronized 
    { 
      ourFather.forgive( this.getTrespasses() ); 
      this.forgive( this.getTrespassers() ); 
    } 

    // And lead us not into temptation; 
    // But deliver us from evil: 
    // 
    ourFather.removeTemptationListener( this ); 
    ourFather.deliverFrom( Evil, this ); 

    // For thine is the kingdom, and the power, 
    // and the glory, for ever. 
    // 
    for (;;
    { 
      Kingdom.setOwner( ourFather ); 
      Power.setOwner( ourFather ); 
      Glory.setOwner( ourFather ); 
    } 

    // Amen. 
    // 
    finalize(); 
  } 
}


               
 
Avertissement !
 
Décollage !  |  Présentation du site web "AILES"  | 
Infos générales  |  articles "Informatique"