{"id":1301,"date":"2022-07-20T09:43:42","date_gmt":"2022-07-20T08:43:42","guid":{"rendered":"https:\/\/www.muratyaman.co.uk\/blog\/?p=1301"},"modified":"2022-07-20T09:49:14","modified_gmt":"2022-07-20T08:49:14","slug":"naming-convention","status":"publish","type":"post","link":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/2022\/07\/naming-convention\/","title":{"rendered":"Naming Convention"},"content":{"rendered":"<p>Many years ago we used to have #character set issues between multiple #tiers of our #software #solutions. Because of inconsistencies, we had to convert data mutliple times, for example, I was using variants of Latin1:<\/p>\n<p>Web frontend <=> Backend <=> Database<\/p>\n<p>Today everyone uses UTF-8 at all tiers. Consistent, no issues, no head ache!<\/p>\n<p>Today, we have similar issue just because of &#8220;silly&#8221; disagreement on #naming #convention for our #models &#038; #properties (or #tables and #fields), etc.<\/p>\n<p>Please do NOT #twitch when you see #lower_snake_case at all tiers; #Python developers don&#8217;t! \ud83d\ude09 Leave your ego at the door, you will save lots of #processing #power and #memory, eventually saving lots of #money for your #company; trust me!<\/p>\n<p>Please also note that many years ago #UPPER_SNAKE_CASE was the norm. Today it&#8217;s called shouting!?<\/p>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Naming_convention_(programming)\">https:\/\/en.wikipedia.org\/wiki\/Naming_convention_(programming)<\/a><\/p>\n<p>Image ref <a href=\"https:\/\/unsplash.com\/photos\/7JX0-bfiuxQ\">https:\/\/unsplash.com\/photos\/7JX0-bfiuxQ<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many years ago we used to have #character set issues between multiple #tiers of our #software #solutions.<\/p>\n","protected":false},"author":2,"featured_media":1302,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-1301","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1301"}],"version-history":[{"count":2,"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1301\/revisions"}],"predecessor-version":[{"id":1304,"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1301\/revisions\/1304"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/media\/1302"}],"wp:attachment":[{"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}