StrykerKKD | 7 years ago | on: Paralleltext: Learn languages by reading
StrykerKKD's comments
StrykerKKD | 9 years ago | on: Learn Kotlin in Y Minutes
Kotlin has a really nice and simple syntax compared to Scala, which has way to many features.
StrykerKKD | 9 years ago | on: Why ML/OCaml are good for writing compilers (1998)
I personally think that Ocaml is really good at this, because I started converting the Scheme examples from the PLAI book to Ocaml and it's just felt right(maybe because I'm not fan of the scheme syntax).
StrykerKKD | 9 years ago | on: How Python Makes Working with Data More Difficult in the Long Run
You could also use mypy(https://mypy.readthedocs.io/en/latest/index.html) which is a static type checker for Python.
StrykerKKD | 9 years ago | on: ‘Bitcoin Browser’ Brave Raises $4.5M, Readies for 1.0 Launch
StrykerKKD | 9 years ago | on: Ask HN: What is your best advice for a developer to write better code?
You are right, you can use tests to prove a function if - the function has very limited arguments and - the function is pure or does very limited amount of state change(side effect)
Generally speaking tests are not the right tool for proving program correctness.
StrykerKKD | 9 years ago | on: Ask HN: What is your best advice for a developer to write better code?
I think random testing is a good way to get almost exhaustively tests.
StrykerKKD | 9 years ago | on: Ask HN: What is your best advice for a developer to write better code?
For example proof assistants(like Coq, Agda, Idris, hol) are capable of proving correctness of a program.
StrykerKKD | 9 years ago | on: Ask HN: What is your best advice for a developer to write better code?
For example: int addOne(int input) function would need test cases for every number in the int type, which would be 2,147,483,647 * 2 + 1 test case.
StrykerKKD | 9 years ago | on: Ask HN: What is your best advice for a developer to write better code?
2) You can't prove correctness with tests. You can only state that it ran correctly for that test case(s).
StrykerKKD | 11 years ago | on: Jodd – The Unbearable Lightness of Java
StrykerKKD | 11 years ago | on: What Color Is Your Function?
For me the bad part of "red" functions is that testing is harder for it or I just suck at it.
StrykerKKD | 11 years ago | on: What Color Is Your Function?
StrykerKKD | 11 years ago | on: What is special about Nim?
StrykerKKD | 11 years ago | on: Ask HN: What are you reading right now?
Actually Eloquent Javascript and sometimes Programming -- Principles and Practice Using C++. I found the C++ book a little bit boring and maybe i wont read it trough.
StrykerKKD | 11 years ago | on: Poll: What's Your Favorite IDE for JavaScript?
StrykerKKD | 11 years ago | on: My Isometric Voxel Engine: One Year Later
StrykerKKD | 11 years ago | on: This will make some people mad (JS/Dart)
StrykerKKD | 11 years ago | on: Ask HN: What are you building?
I started doing this, because I always liked Dart better than any other programming language and because at that time Dart didn't have any HTML5 game engines.
I also developing it, because I really like doing it and because I want to make a living out of this.