Editing Talk:1513: Code Quality

Jump to: navigation, search
Ambox notice.png Please sign your posts with ~~~~

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
On the bright side, I now have a new array of phrases to keep me sane while doing code reviews... [[Special:Contributions/108.162.249.162|108.162.249.162]] 05:47, 17 April 2015 (UTC)
 
On the bright side, I now have a new array of phrases to keep me sane while doing code reviews... [[Special:Contributions/108.162.249.162|108.162.249.162]] 05:47, 17 April 2015 (UTC)
  
I think the emojis were referring to swift where you can use emojis as variables.{{unsigned ip|108.162.250.168|05:53, 17 April 2015‎}}
+
I think the emojis were referring to swift where you can use emojis as variables.{{unsigned-ip|108.162.250.168|05:53, 17 April 2015‎}}
  
 
Could we get a link for the Apple language? [[Special:Contributions/108.162.249.162|108.162.249.162]] 06:09, 17 April 2015 (UTC)
 
Could we get a link for the Apple language? [[Special:Contributions/108.162.249.162|108.162.249.162]] 06:09, 17 April 2015 (UTC)
Line 7: Line 7:
 
This is going on our OneNote at work. It totally made my day [[User:Jdluk|Jdluk]] ([[User talk:Jdluk|talk]]) 08:06, 17 April 2015 (UTC)
 
This is going on our OneNote at work. It totally made my day [[User:Jdluk|Jdluk]] ([[User talk:Jdluk|talk]]) 08:06, 17 April 2015 (UTC)
  
Yet another reason I'm glad I'm not a coder anymore (went back to  hardware design . . . with NO style guidelines ;^){{unsigned ip|173.245.56.182}}
+
Yet another reason I'm glad I'm not a coder anymore (went back to  hardware design . . . with NO style guidelines ;^)
  
 
The description reads as if camelCase is part of every style. There are styles containing camelCase, but not all of them do. Also, different styles contain different rules, so following one specific style guide will be in conflict with others, therefore it's not necessary good idea: unless you program in team which agreed upon which style to use, it may be better if you don't worry to much to follow style exactly. On the other hand, if  Ponytail's similes are accurate, Cueball is likely to discover lot of basic rules which will make the program easier to read even for him.
 
The description reads as if camelCase is part of every style. There are styles containing camelCase, but not all of them do. Also, different styles contain different rules, so following one specific style guide will be in conflict with others, therefore it's not necessary good idea: unless you program in team which agreed upon which style to use, it may be better if you don't worry to much to follow style exactly. On the other hand, if  Ponytail's similes are accurate, Cueball is likely to discover lot of basic rules which will make the program easier to read even for him.
Line 16: Line 16:
  
 
I really wish I knew anything about coding so I could contribute, but my 8th grade HTML class didn't help me that much. [[User:YourLifeisaLie|The Goyim speaks]] ([[User talk:YourLifeisaLie|talk]]) 12:50, 17 April 2015 (UTC)
 
I really wish I knew anything about coding so I could contribute, but my 8th grade HTML class didn't help me that much. [[User:YourLifeisaLie|The Goyim speaks]] ([[User talk:YourLifeisaLie|talk]]) 12:50, 17 April 2015 (UTC)
:The cruel person might point out that HTML isn't even 'coding'.  (It's markup, for the most part, unless you're dabbling in DHTML or some of the latest bastardisations that have crept into HTML5.)  But you will of course know the bit where you get "Hang on, why is that table element on the wrong line/off the end of the line/short of the end/outside the table, even?" and how it makes it easier to use a new-line and indentation scheme at appropriate places (and a logical policy of which lines ''not'' to split) so that errors like unaccounted-for COLSPANs and bad tag-pairing can be tracked down easily.
 
:So it is with code.  Liken it to obfuscation of HTML formatting (including using non-sensical, albeit consistent in themselves, id and name tags for the CSS to hang off of) can be employed deliberately (to prevent easy human readability/backformation) or incidentally (because it's created by a server-side/CMS generating script that hasn't been told to try to add useful whitespace).  Moreso when it comes to <script> insertions (often deliberately obfuscated to single-letter variables, minimal whitespace and no line-feeds, perhaps in an misplaced attempt to enact 'security through obscurity', but of course that then ''is'' code.  Arguably.
 
:One of the aims could be to reduce the size of the 'code' (even when that's Markup), which is laudible given how much over-padded stuff you can get (I don't know if Microsoft Word's "Save as HTML"/whatever is currently as bad as it was in the early days, but even a web-page with just "Hello World" was chockablock full of formatting information that it never even bothered to ask if were necessary), but unless you absolutely do not need (or do not want!) people to read the code, both people and auto-generation scripts should attempt to impart visual elegance.  IMO! [[Special:Contributions/141.101.98.192|141.101.98.192]] 16:52, 17 April 2015 (UTC)
 
 
Does the second paragraph of the explanation, beginning "A common technique," add anything to explain the comic?  I don't see it, but then I am from the era of COBOL.  [[User:Miamiclay|Miamiclay]] ([[User talk:Miamiclay|talk]]) 19:54, 18 April 2015 (UTC)
 
:I would propose a rewrite to something along the lines of "A common pattern in self-taught programmers...". As for the need of the paragraph, I feel it helps to explain where some programmers with bad (or a total lack of) employed standards come from. It's the kind of programmers that are used to copy and paste code examples and edit them until it does what they want, unknowingly introducing a horrible level of disparity to the code as well as disregarding any sensible coding standards and design patterns. I can speak from experience that such behavior exists, but that most such people either drop programming quickly or learn to adapt proper standards over time. I'm glad to say I'm in the latter group. — Erim Secla [[Special:Contributions/141.101.79.67|141.101.79.67]] 08:02, 19 April 2015 (UTC)
 
 
How do we know that Agile and SaaS are relevant to this? [[Special:Contributions/173.245.50.84|173.245.50.84]] 17:38, 19 April 2015 (UTC)
 
: It has no relation, and futhermore whoever added software-as-a-service probably think it means something else than what it does [[User:Spongebog|Spongebog]] ([[User talk:Spongebog|talk]]) 19:30, 19 April 2015 (UTC)
 
::It may even have been spam or a self promotion link. [[User:Spongebog|Spongebog]] ([[User talk:Spongebog|talk]]) 19:32, 19 April 2015 (UTC)
 
;Emoji
 
IMHO the discussion on emoji is a bit off. Emoji are specifically the graphical representations (😢), not text-based smileys (T_T). And the sentences about language support use double negatives which is very confusing, and should probably mention that Javascript doesn't appear to allow it. (In my testing anyway.) [[User:Stevage|Stevage]] ([[User talk:Stevage|talk]]) 14:17, 20 April 2015 (UTC)
 
:I agree. {{w|Emoticons}} and {{w|Emoji}} are two different things.--[[User:17jiangz1|17jiangz1]] ([[User talk:17jiangz1|talk]]) 14:56, 20 April 2015 (UTC)
 
::Can we distinguish between graphical emoji and character-based unicode emoji?  The difference being that one is swapped in to normal text via some form of markup code (client-side or server-side, either when it thinks it has an explicit emoticon/etc string like ":)" or encounters a coded statement like ":lol:") while the other one is there already with no extra image bytes necessary.  Except for perhaps font-file downloading, of course.
 
::I assume the above (😢) is the latter, although that's an unrenderable character for me, as with most examples given on this page, and I assume I need some fancy new font installed to see it on any of the browsers I've tried it with.  However, I ''do'' have ☺ and ☻ available to me.  So I can at least emote in the manner of Dwarf Fortress (which, ironically, uses images ''of'' the original characters). [[Special:Contributions/141.101.99.69|141.101.99.69]] 17:51, 21 April 2015 (UTC)
 
 
Ew non-Emoji code. This is the 21st century, get updated: https://github.com/emj-lang Natural languages ftw! No more this_is_a_variable_that_contains_the_number_of_xkcds_ever_posted! [[Special:Contributions/108.162.210.246|108.162.210.246]] 21:18, 5 June 2015 (UTC)
 
 
On a tangential note, I once tried to install a decompiler into IntelliJ by copying and pasting a folder (not realizing it was the same decompiler IntelliJ already shipped with) and run it on Minecraft. It named all the variables and functions ☃. [[User:Promethean|Promethean]] ([[User talk:Promethean|talk]]) 22:28, 17 June 2015 (UTC)
 
 
Added info on code quality 3 [[Special:Contributions/141.101.104.215|141.101.104.215]] 03:43, 7 May 2017 (UTC)
 
 
I think that this series has to do with 1790: Sad. {{unsigned ip|108.162.221.70}}
 
 
hexascii.com is dead ( maybe from plagiarism complain by Get Kaomoji https://getkaomoji.com/best-of-japanese-emoticons/ ) {{unsigned ip|162.158.179.40}}
 
 
seems a bit like chatgpt sometimes [[Special:Contributions/172.70.162.171|172.70.162.171]]
 

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)

Templates used on this page: