DEV Community

Sherif m
Sherif m

Posted on

Hello World

<?php
class DeveloperIntroduction {
    public $name = "Sherif Mohsen";
    public $title = "Chief Developer and Tech Visionary Officer (CD/CTFO)";
    public $aliases = ["SwapTC", "TNNPub"];
    public $roles = ["Author", "Founder & CEO", "Veteran of Code - 17 yrs"];
    public $projects = ["FileBay Inc.", "SFLC Network", "NewsChan", "The Northern Narrative"];

    public function greet() {
        echo "Greetings Dev.to Community! I'm " . $this->name . ", also known as " . implode(' and ', $this->aliases) . ".<br>";
        echo "Donning " . count($this->roles) . " hats in the tech world, I've navigated through " . explode(' ', $this->roles[2])[3] . " years of code, innovation, and story-telling.<br>";
        echo "From pioneering projects like " . implode(', ', array_slice($this->projects, 0, -1)) . " to storytelling at " . end($this->projects) . ", my journey has been a tapestry of code, leadership, and narratives.<br>";
        echo "Join me in unraveling the layers of technology, discussing the future of the web, and perhaps, deciphering the algorithm of life itself.<br>";
    }

    public function inviteDiscussion() {
        echo "Have a tech story, a programming puzzle, or a vision for the digital future? Leave a comment, and let's explore these ideas together!";
    }
}

$devIntro = new DeveloperIntroduction();
$devIntro->greet();
$devIntro->inviteDiscussion();
?>
Enter fullscreen mode Exit fullscreen mode

P.S.: While I may not always follow the script, my life's code compiles with a few warnings and a lot of passion.

Top comments (0)