Better HN
topnewbestaskshowjobs
Log inSign up

berkus

7 karma · joined Apr 20, 2015 (11y ago) · 5 submissions

Submissions

comment 6y ago · link · parent

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.

comment 8y ago · link · parent

I started porting one of rocket-based synchronous services to actix-web and so far I'm pleased with the process.

comment 9y ago · link · parent

This piece of code is crap - it's not functional, keeps implicit state.

comment 9y ago · link · parent

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++.

comment 11y ago · link · parent

Electricity... don't they have some spare Sun there?