Alabhya Jindal

Week 8

My compiler can now process the following source file, computing the 10th number in the Fibonacci sequence!

fn fib(n: int) -> int {
    if n <= 0 {
        return 0;
    } else if n == 1 {
        return 1;
    } 

    let a: int = 0;
    let b: int = 1;

    for i in 1..n {
        let temp: int = a;
        a = b;
        b = temp + b;
    }

    return b;
}

println(fib(10));

This makes me extremely happy.

Added HN and Lobsters to LeechBlock. I was spending too much time and opening these sites compulsively.

Read White Nights and Notes from Underground. Great books. The latter left a bitter taste in my mouth. This is usually the case with Dostoevsky's books. I love reading it because I enjoy his writing style and dialogues. The characters are always so passionate and introspective. I find the exclamation marks and the “H’m!”s very funny!

Switched to using Iosevka font and liking it very much. Code and prose feels more information dense because of it's narrowness.

Went to the university to participate in Chris's project where he is evaluating the different methods for teaching drums including VR and video.