HNHacker News
TopNewBestAskShowJobs

berkus

7 karma · joined April 20, 2015

submissionscomments
berkus··on Getting started with Rust by building a tiny Markdown compiler
Hmm, I see the author liberally using _filename as a variable name saying "I just use names with underscores as functions arguments names".

However: In Rust, variables starting with underscores are usually indicating unused ids and if you actually forget to use it - you will not get a warning. As a tutorial material this sets very wrong mindset for the beginners. ONLY start variable with an underscore if you mean to not use it.

@jesselawson - please update this.

berkus··on Actix: a small, pragmatic, and fast Rust web framework
I started porting one of rocket-based synchronous services to actix-web and so far I'm pleased with the process.
berkus··on Learn C Programming with Open-Source Books
This piece of code is crap - it's not functional, keeps implicit state.
berkus··on Short intro to C++ for Rust developers: Ownership and Borrowing
Well, they're not.

It's a major pita when MSVC cannot understand a pefectly standard C++ construction.

And Microsoft is well aware of that, they made jumps and leaps recently to bring their level of C++ compiler support to the actual standard level, finally you can say MSVC actually understands standard C++.

berkus··on Turning Ethiopia's desert green
Electricity... don't they have some spare Sun there?