| | |
Why are the Descriptions of Code Snippets in a Fixed Font?
![]() |
Because I thought it looked cool. And hopefully it serves as a subconscious reminder for the DaniWeb newcomer that they're browsing code snippets as opposed to tutorials or blogs or the forums.
Plus on pages like this:
http://www.daniweb.com/techtalkforums/forum17.html
By having either the code snippets, tutorials, or links with a slightly different look, it reinforces the idea that they are different things, and makes the user take a second glance, instead of dismissing the entire second half of the page as one long list.
http://www.daniweb.com/techtalkforums/forum17.html
By having either the code snippets, tutorials, or links with a slightly different look, it reinforces the idea that they are different things, and makes the user take a second glance, instead of dismissing the entire second half of the page as one long list.
It it possible to have part of the description "normal" plus a part of the code in the code box? To me text looks out of place in code tags much like code looks out of place as normal text.
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
I will have to think about that. It would be way too bulky to include both a description and a teaser of some of the atual code. Additionally, a teaser of the actual code would probably just get so far as to display a couple of the includes or header files, which wouldn't be very useful at all.
I'm also hesitant because I really like it
It breaks up the look of the different elements on the category page I showed you before, to emphasize that it isn't just one long list, and also reinforces the fact that someone is browsing actual code, for all those people who come into the site through the search engines and are disoriented as to what on the site they're just looking at. Besides, it's just good ole Courier New. That font face is used in non-programming and non-code things quite often.
I'm also hesitant because I really like it
It breaks up the look of the different elements on the category page I showed you before, to emphasize that it isn't just one long list, and also reinforces the fact that someone is browsing actual code, for all those people who come into the site through the search engines and are disoriented as to what on the site they're just looking at. Besides, it's just good ole Courier New. That font face is used in non-programming and non-code things quite often. •
•
•
•
Originally Posted by cscgal
I will have to think about that. It would be way too bulky to include both a description and a teaser of some of the atual code.
•
•
•
•
Originally Posted by cscgal
Additionally, a teaser of the actual code would probably just get so far as to display a couple of the includes or header files, which wouldn't be very useful at all.
•
•
•
•
Originally Posted by cscgal
I'm also hesitant because I really like itIt breaks up the look of the different elements on the category page I showed you before, to emphasize that it isn't just one long list, and also reinforces the fact that someone is browsing actual code, for all those people who come into the site through the search engines and are disoriented as to what on the site they're just looking at. Besides, it's just good ole Courier New. That font face is used in non-programming and non-code things quite often.
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
![]() |
Similar Threads
- Code Snippets for whom? (DaniWeb Community Feedback)
Other Threads in the DaniWeb Community Feedback Forum
- Previous Thread: Bug?
- Next Thread: c code snippets
| Thread Tools | Search this Thread |
+ abuse beginners bookmark bored box bug bugs calamity code codebox codesnippets codetags code_snippet comments cpuintensive daniweb design editcodesnippet end-of-the-world favouriteforums feedback ff3 flamewar glitch ie6 itsatag! kids layout login lulz negative newfeature poll post preview privatemessaging problem profanitytest profile quality quick rashakil-fol reply reputation reputation-power sandwich score search snippet socialgroups solvedthreads sub-forum suggestion tagcloud tagging tags theactualrulerofthetag-cloud:3 therulerofthetag-cloud:[ thread threadtagging today's-posts unansweredposts upgrade user voting whining






