Skip to content
View tentacode's full-sized avatar
🐙
tentacoding
🐙
tentacoding

Highlights

  • Pro

Block or report tentacode

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
tentacode/README.md

test workflow Twitter @tentacode

tentacode's github stats

tentacode's github trophy

<?php

final class Tentacode
{
    public function __construct(
        private string $fullName = "Gabriel Pillet",
        private string $twitterHandle = "@tentacode",
        private string $portfolioUrl = "https://tentacode.dev",
        private array $favoriteEmojis = ['🐙', '', '🤖', '🤗'],
    ) {}

    public function  sayHello(): void
    {
        $greetingMessage = <<<BONJOUR
            Bonjour! {$this->favoriteEmojis[array_rand($this->favoriteEmojis)]}
            My name is {$this->fullName}.

            Check my portfolio at {$this->portfolioUrl}
            Or my twitter profile at https://twitter.com/{$this->twitterHandle}
            BONJOUR;

        print $greetingMessage . PHP_EOL;
    }
}

try { 
    (new Tentacode)->sayHello();
} catch (\Throwable $e) {
    echo "Oops, nobody is perfect I guess…". PHP_EOL . $e->getMessage();
    die(42);
}

Pinned Loading

  1. tentacode tentacode Public

    🐙 My portfolio

    PHP 4

  2. mario mario Public

    Forked from web-id-fr/mario

    🆙 MacOS Ansibles Recipes : Indepotent & Omnipotent (it setups a local environment for devs @ https://web-id.fr)

    Jinja 1

  3. curriculum curriculum Public

    🏆 My curriculum vitae in French.

    HTML 4 2

  4. PhatFishes PhatFishes Public

    🐡 A party game with puffer fishes, made all by myself under 72 hours.

    C# 6

  5. lyonmoji lyonmoji Public

    🦁 Pixel art Lyon Emojis, royalty free.

    Shell 14

  6. Cubyrinth Cubyrinth Public

    🎲 An experimental VR game for Oculus where you ride a gigantic Rubik's cube, made in under 72 hours.

    C# 7 1