In C/C++, method names should be capitalized and use CamelCase. (source)
…and…
In JavaScript, functions should use camelCase but should not capitalize the first letter. (source)
I will only use lower case and the underscore for word boundaries. And 4 stop tabs. For all code. JavaScript, PHP, MySQL, HTML, CSS, whatever. Consistency, folks.
In other news…
if ($view_data['icd_code_1_86001'] == '') {
$view_data['icd_code_1_86001'] = '';
}
if ($view_data['icd_code_2_86001'] == '') {
$view_data['icd_code_2_86001'] = '';
}
if ($view_data['icd_code_3_86001'] == '') {
$view_data['icd_code_3_86001'] = '';
}
if ($view_data['icd_code_1_86003'] == '') {
$view_data['icd_code_1_86003'] = '';
}
if ($view_data['icd_code_2_86003'] == '') {
$view_data['icd_code_2_86003'] = '';
}
if ($view_data['icd_code_3_86003'] == '') {
$view_data['icd_code_3_86003'] = '';
}
Good thing that all the icd_code variables are checked for empty and then set to empty. If they’re empty.
YES! I will be sure to mention that if it ever comes up.
In related news, I went to edit their page to correct the JavaScript spelling (similar to how I correct articles on Wikipedia) but I was stopped at the front door. 🙄
One time my brother ate a whole bag of walnuts. And my mom was furious. She still talks about it to this day even though said feeding happened sometime in the 80s. Apparently the walnuts were a gift to my mom from my grandpa during one of his nation-wide adventures. I think they came from out west but nobody knows for sure since he was known to disappear for weeks on end during his “fishing trips.”
One time grandpa bought a whole everglade forest or something in Florida. On a whim. I had always hoped to see it someday, to see if the elusive feathered-bigfoot-alligator was a real thing. But that never happened because the older I got, the less swamp sounded like fun.
Lo and behold the sun made an appearance over the Fox Valley just moments ago. The gas giant[1] the earth orbits is indeed, ladies and gentlemen. A Real Thing.
Geneva’s Mayor Kevin Burns told[2] local reporters that all city employees could embrace the morning sunshine for up to ten minutes before heading into work.
The crowd went wild and local town folk took to the streets to feast on the Boy Scout popcorn they had bought at the Walgreens on E. Main St. in St. Charles only days before.
One Geneva photographer snapped the attached photo on his daily commute. Being self-deprecating he only commented, “Sorry this was the best picture I could take driving over the Prairie Street bridge. I’m a man not a machine.”
By their own rules, should it not be spelled javaScript?
Reply
Post
YES! I will be sure to mention that if it ever comes up.
In related news, I went to edit their page to correct the JavaScript spelling (similar to how I correct articles on Wikipedia) but I was stopped at the front door. 🙄
Reply
Post
Aww. I was also gonna make a case for gitHub, wikiPedia and faceBook.
Reply
Post
How about moZilla, too?
Reply
Post
Yes! moZilla fireFox.
Reply
Post
Perfect! 😁👍
Reply
Post