ticki

Results 72 comments of ticki

@jimmycuadra I agree. Functions should be small and compact, however sometimes you want to be able to know the argument order without looking up the signature (which keyword arguments solve),...

@petrochenkov The problem you outline is a problem with macros, not a need for method variadicity.

> No, using structs instead of named arguments is a bad thing. Not true. Structs are strongly typed (hence less prone to errors) and makes it possible to efficiently reuse...

> If your functions often take fixed number of arguments, all other users should obey? I'm just saying that introducing syntactic sugar for such a small special case is not...

@KalitaAlexey I'm not exactly sure what you're asking, but I supose you mean "Is it mandatory to provide the name of the parameters to the function, if we get keyword...

I really, really like this proposal. I had some cases where I could choose to either rewrite the same piece of code a lot of times (because it's borrowing self)...

> What backtrace information? We use the symbol names or debug info, just like C and C++. > If you're compiling an executable in release mode, all you have to...

> To compile without debug info: remove -g. Cargo.toml has a way to turn it off even for debug mode, while release mode doesn't come with debug info. That'll still...

> Panics are not "backtrace information", they're file!() and line!() macros - having a way to obscure those would be useful, but you'd have to recompile the entire libstd in...