News for hackers. Stuff that matters.
Re:A Quick Comparison of Nim vs. Rust by duaneb on Wednesday January 14, 2015 @01:40PM (#8888126)
> In what situation would a code base use fooBar and foo_bar as two different identifiers meaning two completely different things?

You don't. It's a terrible idea to mix naming conventions.

> amyAtePizza has the same meaning as amy_ate_pizza.

WHY?! What possible benefit could it have? Why would you be mixing styles in the first case? Why can't you just remember which style hopefully your entire code base uses?

Re:A Quick Comparison of Nim vs. Rust by dom96 on Wednesday January 14, 2015 @02:09PM (#8888300)
I wouldn't mix styles inside my own code base. But what if I am using somebody else's library which uses a different style? The benefit is that I can then use the style I have been using in my code base to call the functions in that library without mixing naming conventions.
Re:A Quick Comparison of Nim vs. Rust by Dylan16807 on Wednesday January 14, 2015 @02:40PM (#8888514)
I hope you never move code between different code bases, then.

Wouldn't it be a lot simpler to have a single style?