Skip to content

Instantly share code, notes, and snippets.

Some info about Rust

RUST came out from Firefox to solve problem related to: performance and security.

Why Rust is "faster" compared to C++, C or other compiled language?

  • Similar to these languages
  • Strong Type System
  • Rust compiler uses LLVM suite: Rust compiles to LLVM bytecode and then to assembly language
  • You can write less code compared to other programming language
interface GameRulesInputBoundary
void moveSouth()
end
interface GameRulesOutputBoundary
void moveSouthSucceed()
end
class GameRules implements GameRulesInputBoundary
def init(GameRulesOutputBoundary outputBoundary)

Takeaways from TDD and Software Design

video

  • TDD by its own CANNOT leads to good design, obviously
  • TDD as a mechanism to help us to learn more about good design
  • Software is "Soft" just because it can be changed, it is not meant to be settled in the stone
  • Test-first programming can help the team to reduce defects but it will not lead to good design

Code qualities

@joebew42
joebew42 / elixir-tdd-outside-in-material.md
Last active February 15, 2020 20:37
Some of the material for the tdd outside in hands-on session in Elixir

Materials for the TDD Outside-in hands-on session in Elixir

Writing a failing test first encourages the programmer to articulate clearly what they intend to build before building it. This extra awareness gives the programmer more opportunities to notice going in the wrong direction.

Source: Sooner, Not Faster Revisited

Where is my business?