Quantcast
Channel: inconsequence
Viewing all articles
Browse latest Browse all 148

snake_case, camelCase, and other Misadventures in Coding Standards

$
0
0
some_programmers_like_snake_case while othersPreferCamelCase (and dont-talk-to-me-about-css-or-html) but life really becomes entertaining when different programmers — sorry “software engineers” — enforce their preferences locally. Consider a service, implemented in python (where snake_case_is_popular) that passes data to a web application, i.e. javascript (whereCamelCaseIsPopular). You might end up with a data structure like: In modern Javascript, you could write …

Viewing all articles
Browse latest Browse all 148

Trending Articles