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. MauiToDo MauiToDo Public

    .NET MAUI in Action Chapter 3

    C# 1

  2. MauiCalc MauiCalc Public

    Calculator App using .NET Maui (.NET MAUI In Action - Chapter 5 - Grid basics)

    C# 1

  3. MauiMovies MauiMovies Public

    .NET MAUI in Action - Chapter 6 - Advanced Layout Concepts

    C# 1

  4. OutlookClone OutlookClone Public

    .NET MAUI in Action - Chapter 6 - Advanced Layout Concepts

    C# 1

  5. MauiStockTake MauiStockTake Public

    .NET MAUI In Action - Chapter 7 & 8

    C# 1 1

  6. AlexVDV116 AlexVDV116 Public

    Config files for my GitHub profile.