Sickness in the family, C, TDD in Haskel
Jan. 6th, 2015 06:15 pmLast night I got a bit confused by the Staten Island bus system and didn't get home until 11pm. I had collapsed on the bed, ready to pass out from exhaustion, when I got a text from my dad. "We are at ER Your mom will be getting her gallbladder out tonight"
So I didn't sleep very well.
Mom got through the surgery just fine and she'll leave the hospital tomorrow, but I still had trouble concentrating today.
I worked a little more on C. I fixed my
I'm also working still working on my text adventure game in Haskell. I've trying to use TDD with Haskell, and there's really not enough tutorials on how to do that. I guess most people just use the types as their tests? Maybe I need to look at real projects with tests. I think that's what I'll do tomorrow.
So I didn't sleep very well.
Mom got through the surgery just fine and she'll leave the hospital tomorrow, but I still had trouble concentrating today.
I worked a little more on C. I fixed my
atoi with Marin's help, and that was really cool. Now I'm trying to implement my own strcpy, which copies a string to another string. I'm not sure what that even means, which may be part of the problem. Maybe I've gone too far down the functional rabbit hole, so it's hard to remember how to do stuff imperitively. Pointers are really confusing to me as well.I'm also working still working on my text adventure game in Haskell. I've trying to use TDD with Haskell, and there's really not enough tutorials on how to do that. I guess most people just use the types as their tests? Maybe I need to look at real projects with tests. I think that's what I'll do tomorrow.