Skip to content

HusainCode/HusainCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"""

Straw Hat Pirates Logo

Hi there, I'm Husain 👋

🚀 I am a Software Engineer | 🔍 Passionate about Building & Solving | 🎯 Lifelong Learner
👉 Check out my Software Engineer Roadmap

Software Engineering Badge YouTube Badge Profile Views


🌟 About Me

I'm passionate about continuous learning and growth as a Software Engineer. I enjoy working on a variety of technical challenges, from system-level programming to backend development, and I'm constantly exploring innovative technologies.

I'm not aiming to be the best this year, or the next, or even the one after that. I've got my whole life to master this craft. I'm here for the long run, dedicated to becoming one of the best in the field.

⚠️ Warning: If you didn't hire me, that decision might age poorly. I'm not just here to code. I'm here to lead, innovate, and outgrow expectations. And yes, this one's very personal.

📝 Interviewer Note

❌ Please don't ask me "How do you stay up to date with tech?" If you can't already tell from my work, my consistency, and my drive, I genuinely can't help you answer that.


💬 Quotes That Drive Me

💡 "Find a job you enjoy doing, and you will never have to work a day in your life."Mark Twain 🧠 "Once you stop learning, you start dying."Albert Einstein 🔁 "Commit yourself to lifelong learning. The most valuable asset you'll ever have is your mind and what you put into it."Albert Einstein


👨‍💻 Who Am I? (In Code)

from abc import ABC, abstractmethod
from dataclasses import dataclass
from typing import Protocol


# --- Core Interfaces & Abstractions (Interface Segregation) --- #
class Logger(Protocol):
    def log(self, message: str) -> None: ...


class Debuggable:
    """Mixin providing lightweight debug logging (Strategy pattern)."""

    def __init__(self, logger: Logger):
        self._logger = logger

    def debug(self, message: str) -> None:
        self._logger.log(f"[DEBUG] {message}")


# --- Concrete Implementation (Dependency Inversion) --- #
class ConsoleLogger:
    """Concrete logger that writes to the console."""

    def log(self, message: str) -> None:
        print(message)


# --- Domain Layer (Single Responsibility) --- #
@dataclass(frozen=True)
class Education:
    bachelors: str
    masters: str
    specialization: str


# --- Application Layer --- #
class Engineer(ABC):
    """Abstract base class for different types of engineers."""

    @abstractmethod
    def introduce(self) -> str:
        pass


class SoftwareEngineer(Debuggable, Engineer):
    """A well-structured Python representation of an engineer."""

    def __init__(
        self,
        name: str,
        passion: str,
        location: str,
        education: Education,
        logger: Logger
    ):
        super().__init__(logger)
        self._name = name
        self._passion = passion
        self._location = location
        self._education = education
        self.debug("SoftwareEngineer instance initialized.")

    def introduce(self) -> str:
        self.debug("Generating introduction...")
        return (
            f"Hi there, I'm {self._name}!\n"
            f"Passionate about {self._passion} and solving real-world problems.\n"
            f"Based in {self._location}.\n"
            f"I hold a Bachelor's in {self._education.bachelors}.\n"
            f"Currently pursuing a Master's in {self._education.masters}, "
            f"specializing in {self._education.specialization}."
        )


# --- Composition Root (Dependency Injection) --- #
def main() -> None:
    logger = ConsoleLogger()
    edu = Education(
        bachelors="Computer Science",
        masters="Data Science",
        specialization="Machine Learning & Embedded Intelligence",
    )

    husain = SoftwareEngineer(
        name="Husain",
        passion="building smart software & embedded systems",
        location="Texas",
        education=edu,
        logger=logger,
    )

    print(husain.introduce())


if __name__ == "__main__":
    main()

🖨️ Output:

[DEBUG] SoftwareEngineer instance initialized.
[DEBUG] Generating introduction...
Hi there, I'm Husain!
Passionate about building smart software & embedded systems and solving real-world problems.
Based in Texas.
I hold a Bachelor's in Computer Science.
Currently pursuing a Master's in Data Science, specializing in Machine Learning & Embedded Intelligence.

🏆 GitHub Trophies

GitHub Trophies


🏅 Certifications

Linux Essentials Certified Microsoft Certified: Azure Data Fundamentals Certified Blockchain Expert Red Hat Certified System Administrator Certified Associate Python Programmer Pending Certification Badge

🧾 Certification 🏛️ Issuer
Linux Essentials Certified Linux Professional Institute (LPI)
Microsoft Certified: Azure Data Fundamentals Microsoft
Certified Blockchain Expert Blockchain Council
Red Hat Certified System Administrator Red Hat
Certified Associate Python Programmer Python Institute
Next Certification 🔄 Pending...

📊 GitHub Stats

GitHub Stats

GitHub Streak

Top Languages


📈 Contribution Activity

Contribution Graph


🛠️ Languages & Tools

C C++ Python Java Go MySQL Linux Docker Kubernetes AWS


🐍 Contribution Snake

Snake Animation


🤝 Connect with Me

LinkedIn Profile


⭐️ From HusainCode - Building the future, one commit at a time.

"""

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages