• [^] # Re: c'est moi ou bien...

    Posté par . En réponse à la dépêche Quelques nouvelles rapides du langage Go. Évalué à -2.

    Super, retour en 1973, les chaines sont des tableaux.

    Depuis cette epoque, on a invente les objets.
    Ca donne par exemple:
    [string substringFromIndex: 2];
    [string substringtoIndex: 8];

    Et attention, tres tres fort:
    [string substringWithRange: NSMakeRange(2,8)];

    (Note: l'api utilisee dans cet exemple a environ 20 ans, et tourne a peu pres aussi vite que l'equivalent en c).

    If you can find a host for me that has a friendly parrot, I will be very very glad. If you can find someone who has a friendly parrot I can visit with, that will be nice too.