DEV Community

Discussion on: Why Safe Programming Matters and Why a Language Like Rust Matters

Collapse
 
lexlohr profile image
Alex Lohr

When you start rust, it feels like you're battling the borrow checker and the type system and your only allies are all those really helpful APIs and macros that make it at least partially bearable, until you finally get the concept of borrowing and now the borrow checker becomes your pair programmer buddy who points out those parts where your code could become unsafe.

Collapse
 
deepu105 profile image
Deepu K Sasidharan

So true

Collapse
 
viiik profile image
Eduard

Exactly, that's the point where you realize all the code you had written in C or C++ was actually unsound or not easily proven to be sound.