News for hackers. Stuff that matters.
Re:Learning Ada by eddieh on Thursday March 28, 2019 @05:19AM (#19510545)
camelCase, snake_caske, PascalCase, kebab-case, so I think I'd call that Pascal_Snake_Case or something. Other than that this is really great, Ada is pretty neat and used in the most critical systems in the world: https://www2.seas.gwu.edu/~mfeldman/ada-project-summary.html
Re:Learning Ada by steveklabnik on Thursday March 28, 2019 @08:37AM (#19511546)
Yeah, I got hung up on exactly what to say and then was like "Steve, you're trying to learn Ada, not trying to determine what this case is called" and just wrote something. I like Pascal_Snake_Case, I'll update the post. Thanks.
Re:Learning Ada by Mikhail_Edoshin on Thursday March 28, 2019 @07:47AM (#19511227)
If you separate words with underscores and feel like pressing the Shift key now and them, you can simply write in proper case, like `Convert_vCard_to_XML` :) To me it seems the most readable way.
Re:Learning Ada by 0815test on Thursday March 28, 2019 @10:15AM (#19512379)
AIUI Ada is case-insensitive so there's nothing preventing you from using snake_case instead, even when referencing external identifiers. Pascal_Case is purely a matter of visual style.