News for hackers. Stuff that matters.

berkus

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.

Re:Actix: a small, pragmatic, and fast Rust web framework on Wednesday May 30, 2018 @03:13PM (#17190732)
I started porting one of rocket-based synchronous services to actix-web and so far I'm pleased with the process.
Re:Learn C Programming with Open-Source Books on Monday February 06, 2017 @01:57PM (#13582709)
This piece of code is crap - it's not functional, keeps implicit state.
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++.

Re:Turning Ethiopia's desert green on Monday April 20, 2015 @01:57PM (#9409727)
Electricity... don't they have some spare Sun there?