Skip to content
View AlexVDV116's full-sized avatar

Highlights

  • Pro

Block or report AlexVDV116

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

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

Report abuse
AlexVDV116/README.md
import java.time.LocalDate
import java.time.Period

/**
 * Meet Alex - Tech Enthusiast πŸš€
 * -----------------------------------
 * Hey there! I'm Alex, a passionate tech aficionado on a journey through the digital universe.
 * Here's a glimpse into my world:
 */
data class Person(
    val firstName: String,
    val birthYear: Int,
    val tech: MutableList<String>,
    val hobbies: MutableList<String>,
    val school: String,
    val study: String,
    val startYear: Int
) {
    private val currentYear = LocalDate.now().year
    private val age: Int
        get() = Period.between(LocalDate.of(birthYear, 1, 1), LocalDate.now()).years
    private val schoolYear: Int
        get() = currentYear - startYear + 1

    override fun toString(): String {
        return """
            πŸ‘‹ Hello, my name is $firstName, a perpetual learner exploring the wonders of technology!
            πŸŽ‚ I've orbited the sun $age times and counting.
            πŸ’» My interests include: ${tech.joinToString()}.
            🌟 My hobbies include: ${hobbies.joinToString()}.
            πŸŽ“ Currently pursuing a degree in $study at $school, cruising through year $schoolYear.
            🌍 Fun fact: I'm always learning something new - the journey never stops!
        """.trimIndent()
    }
}

fun main() {
    val alex = Person(
        "Alex",
        1991,
        mutableListOf("HTML", "CSS", "JavaScript", "PHP", "Python", "Kotlin", "C#", ".NET"),
        mutableListOf("Working out in the gym", "Star Wars", "Cyber security/hacking"),
        "Avans University of Applied Sciences",
        "Information Technology",
        2021
    )
    println(alex.toString())
}

πŸ‘‹ Hello, my name is Alex, a perpetual learner exploring the wonders of technology!/ πŸŽ‚ I've orbited the sun 33 times and counting.
πŸ’» My interests include: HTML, CSS, JavaScript, PHP, Python, Kotlin, C#, .NET.
🌟 My hobbies include: Working out in the gym, Star Wars, Cyber security/hacking.
πŸŽ“ Currently pursuing a degree in Information Technology at Avans University of Applied Sciences, cruising through year 4.
🌍 Fun fact: I'm always learning something new - the journey never stops!

Popular repositories Loading

  1. AlexVDV116 AlexVDV116 Public

    Config files for my GitHub profile.

  2. Alex-blog Alex-blog Public

    Blog built with Flask

    JavaScript

  3. Playm8-poc Playm8-poc Public

    PHP

  4. Playm8_mvc Playm8_mvc Public

    PHP

  5. day-81-morse-converter day-81-morse-converter Public

    Python

  6. Coffee-Machine-Kotlin Coffee-Machine-Kotlin Public

    Terminal Coffee Machine written in Kotlin

    Kotlin