Why are the Descriptions of Code Snippets in a Fixed Font?

Reply

Join Date: Apr 2004
Posts: 4,335
Reputation: Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future 
Solved Threads: 236
Team Colleague
Dave Sinkula's Avatar
Dave Sinkula Dave Sinkula is offline Offline
long time no c

Why are the Descriptions of Code Snippets in a Fixed Font?

 
0
  #1
Sep 13th, 2006
For example,
Attached Thumbnails
Snippets.jpg  
"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
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,036
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 131
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: Why are the Descriptions of Code Snippets in a Fixed Font?

 
0
  #2
Sep 13th, 2006
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.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,036
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 131
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: Why are the Descriptions of Code Snippets in a Fixed Font?

 
0
  #3
Sep 13th, 2006
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.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 4,335
Reputation: Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future 
Solved Threads: 236
Team Colleague
Dave Sinkula's Avatar
Dave Sinkula Dave Sinkula is offline Offline
long time no c

Re: Why are the Descriptions of Code Snippets in a Fixed Font?

 
0
  #4
Sep 13th, 2006
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,036
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 131
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: Why are the Descriptions of Code Snippets in a Fixed Font?

 
0
  #5
Sep 13th, 2006
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.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 4,335
Reputation: Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future 
Solved Threads: 236
Team Colleague
Dave Sinkula's Avatar
Dave Sinkula Dave Sinkula is offline Offline
long time no c

Re: Why are the Descriptions of Code Snippets in a Fixed Font?

 
0
  #6
Sep 13th, 2006
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.
If it's only two snippets like I saw, I don't think it would be that bad. But...

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.
Or worse if folks add a big banner before any actual code.

Originally Posted by cscgal
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.
Perhaps. To me it just looks a bit "not right".
"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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the DaniWeb Community Feedback Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC