News for hackers. Stuff that matters.
Re:CamelCase vs. Underscores: Revisited by goerz on Thursday January 26, 2023 @07:24AM (#34530835)
Because `a+b` is a much better variable name than `t`? Why `t`? If anything, `a_plus_b` or `apb`
Re:CamelCase vs. Underscores: Revisited by kaba0 on Thursday January 26, 2023 @07:50AM (#34531020)
Not really better at all, but I feel this is a bit contrived example. If it really is just numeric addition that just let the compiler do its job, otherwise I’m sure there are better names for whatever you actually try to do. And, random helper variables are a thing even in math, you don’t name the thing the way you calculate that thing because then you don’t spare any character.