Coding Fonts

Please compose all posts in Emacs.

Moderators: phlip, Moderators General, Prelates

User avatar
Vault
Posts: 169
Joined: Mon Nov 10, 2008 5:00 pm UTC
Location: Just past the event horizon
Contact:

Coding Fonts

Postby Vault » Wed Jun 17, 2009 9:17 pm UTC

I did a quick search and didn't find any topic like this so I made one.

What font do you use to code in? Courier? Deja Vu Sans? Times New Roman?!?

As for myself I was a big fan of the Monaco font that ships with OS X until recently when I discovered Iconsolata, which I use in 10pt.

User avatar
headprogrammingczar
Posts: 3072
Joined: Mon Oct 22, 2007 5:28 pm UTC
Location: Beaming you up

Re: Coding Fonts

Postby headprogrammingczar » Wed Jun 17, 2009 10:27 pm UTC

Comic Sans. I am a bastard.
<quintopia> You're not crazy. you're the goddamn headprogrammingspock!
<Weeks> You're the goddamn headprogrammingspock!
<Cheese> I love you

User avatar
hotaru
Posts: 1045
Joined: Fri Apr 13, 2007 6:54 pm UTC

Re: Coding Fonts

Postby hotaru » Wed Jun 17, 2009 10:35 pm UTC

Andalé Mono.

Code: Select all

factorial product enumFromTo 1
isPrime n 
factorial (1) `mod== 1

stephentyrone
Posts: 778
Joined: Mon Aug 11, 2008 10:58 pm UTC
Location: Palo Alto, CA

Re: Coding Fonts

Postby stephentyrone » Wed Jun 17, 2009 11:26 pm UTC

hotaru wrote:Andalé Mono.


I used this for years. Recently switched to 10pt Menlo.
GENERATION -16 + 31i: The first time you see this, copy it into your sig on any forum. Square it, and then add i to the generation.

User avatar
MHD
Posts: 630
Joined: Fri Mar 20, 2009 8:21 pm UTC
Location: Denmark

Re: Coding Fonts

Postby MHD » Thu Jun 18, 2009 3:05 am UTC

Courier new. Ther is no other for me.

Further more, I like it on a black background, light red numbers, orange strings, blue keywords and light blue bultins.
EvanED wrote:be aware that when most people say "regular expression" they really mean "something that is almost, but not quite, entirely unlike a regular expression"

User avatar
poxic
Eloquently Prismatic
Posts: 4751
Joined: Sat Jun 07, 2008 3:28 am UTC
Location: Left coast of Canada

Re: Coding Fonts

Postby poxic » Thu Jun 18, 2009 3:22 am UTC

MHD is so old-school, there's an actual bell in his actual belfry.

I use whatever fixed-width font is available. Courier New if there's a choice, but only because it's easy to find in the drop-down list. Lucida Console if I want to be irritating.
A man who is 'ill-adjusted' to the world is always on the verge of finding himself. One who is adjusted to the world never finds himself, but gets to be a cabinet minister.
- Hermann Hesse, novelist, poet, Nobel laureate (2 Jul 1877-1962)

User avatar
b.i.o
Green is the loneliest number
Posts: 2519
Joined: Fri Jul 27, 2007 4:38 pm UTC
Location: Hong Kong

Re: Coding Fonts

Postby b.i.o » Thu Jun 18, 2009 5:01 am UTC

Consolas.

Inconsolata if I can't have that.

User avatar
hotaru
Posts: 1045
Joined: Fri Apr 13, 2007 6:54 pm UTC

Re: Coding Fonts

Postby hotaru » Thu Jun 18, 2009 5:04 am UTC

stephentyrone wrote:
hotaru wrote:Andalé Mono.


I used this for years. Recently switched to 10pt Menlo.

windows doesn't seem to like menlo... but it does look a bit nicer on the *nix machines that i do most of my programming on.

Code: Select all

factorial product enumFromTo 1
isPrime n 
factorial (1) `mod== 1

User avatar
Amnesiasoft
Posts: 2573
Joined: Tue May 15, 2007 4:28 am UTC
Location: Colorado
Contact:

Re: Coding Fonts

Postby Amnesiasoft » Thu Jun 18, 2009 6:02 am UTC

b.i.o wrote:Consolas.

Very much this. It's a wonderful fixed width font.

qbg
Posts: 586
Joined: Tue Dec 18, 2007 3:37 pm UTC

Re: Coding Fonts

Postby qbg » Thu Jun 18, 2009 6:07 pm UTC

Fixedsys

User avatar
You, sir, name?
Posts: 6983
Joined: Sun Apr 22, 2007 10:07 am UTC
Location: Chako Paul City
Contact:

Re: Coding Fonts

Postby You, sir, name? » Fri Jun 19, 2009 6:33 pm UTC

(linux sources)/drivers/video/console/font_8x16.c
I edit my posts a lot and sometimes the words wrong order words appear in sentences get messed up.

User avatar
Qoppa
Posts: 694
Joined: Sat Nov 24, 2007 9:32 pm UTC
Location: Yes.

Re: Coding Fonts

Postby Qoppa » Sat Jun 20, 2009 10:47 pm UTC

Terminus!

Code: Select all

_=0,w=-1,(*t)(int,int);a()??<char*p="[gd\
~/d~/\\b\x7F\177l*~/~djal{x}h!\005h";(++w
<033)?(putchar((*t)(w??(p:>,w?_:0XD)),a()
):0;%>O(x,l)??<_='['/7;{return!(x%(_-11))
?x??'l:x^(1+ ++l);}??>main(){t=&O;w=a();}

Bassoon
Posts: 476
Joined: Wed Nov 28, 2007 10:58 pm UTC
Location: Wisconsin

Re: Coding Fonts

Postby Bassoon » Sun Jun 21, 2009 7:06 pm UTC

Courier New or Lucida Console.

It must be monospace or heads will roll!

Actually, because you all suck, I just changed it to Letter Gothic STD. Streamlined FTW!

User avatar
Sizik
Posts: 1255
Joined: Wed Aug 27, 2008 3:48 am UTC

Re: Coding Fonts

Postby Sizik » Sun Jun 21, 2009 10:25 pm UTC

EXPERT PROGRAMMERS use wingdings.
she/they
gmalivuk wrote:
King Author wrote:If space (rather, distance) is an illusion, it'd be possible for one meta-me to experience both body's sensory inputs.
Yes. And if wishes were horses, wishing wells would fill up very quickly with drowned horses.

User avatar
You, sir, name?
Posts: 6983
Joined: Sun Apr 22, 2007 10:07 am UTC
Location: Chako Paul City
Contact:

Re: Coding Fonts

Postby You, sir, name? » Mon Jun 22, 2009 1:03 am UTC

Sizik wrote:EXPERT PROGRAMMERS use wingdings.


Expert programmers? Hah! What do those egg-heads know? All of the sudden you need a fancy font to write programs? My family has been working in the COBOL mines for 4 generations, and if a rusty pick-axe and a ploughman's lunch was enough to write 40 KLOCs a day for my great great great grandfather Angus Sir Name?, it is good enough for me!
I edit my posts a lot and sometimes the words wrong order words appear in sentences get messed up.

User avatar
enk
Posts: 754
Joined: Mon Sep 10, 2007 12:20 am UTC
Location: Aalborg, Denmark
Contact:

Re: Coding Fonts

Postby enk » Mon Jun 22, 2009 12:25 pm UTC

poxic wrote:Lucida Console if I want to be irritating.


Irritating? I use that in Windows and like it.

DejaVu Sans Mono in Linux (edit: or the default gnome terminal font, "Monospace").
phlip wrote:Ha HA! Recycled emacs jokes.

cathrl
Posts: 427
Joined: Tue Jan 30, 2007 9:58 am UTC

Re: Coding Fonts

Postby cathrl » Mon Jun 22, 2009 3:52 pm UTC

People pick fonts to code in?

I use whatever the default is in Visual Studio, and whatever the default is in UltraEdit. Beyond being fixed pitch, I couldn't tell you what it is.

User avatar
nyeguy
Posts: 580
Joined: Sat Aug 04, 2007 5:59 pm UTC

Re: Coding Fonts

Postby nyeguy » Tue Jun 23, 2009 4:22 am UTC

I love Monaco, because it is beautiful and readable at 9 point. The smallest readable size of most other fonts is bigger, and with Monaco I can fit 68 lines in my editor compared to the 62 or less for most others.
Image

User avatar
markfiend
Posts: 507
Joined: Fri Jul 06, 2007 9:59 am UTC
Location: UK (Leeds)

Re: Coding Fonts

Postby markfiend » Tue Jun 23, 2009 2:19 pm UTC

Bitstream Vera Sans Mono.

I1l all look different, as do 0O
advanced, forthright, signifficant
pronouns: he/him

User avatar
enk
Posts: 754
Joined: Mon Sep 10, 2007 12:20 am UTC
Location: Aalborg, Denmark
Contact:

Re: Coding Fonts

Postby enk » Tue Jun 23, 2009 4:50 pm UTC

Ok, cool. I found a comparison of Bitstream Vera Sans Mono, DejaVu Sans Mono and Apple Menlo. linky.

Also found this nice article.
phlip wrote:Ha HA! Recycled emacs jokes.

M-x shell
Posts: 20
Joined: Thu May 21, 2009 2:07 am UTC

Re: Coding Fonts

Postby M-x shell » Thu Jun 25, 2009 12:50 am UTC

Hard to say; I always set the font size down to 7. ;)

Actually, I've never thought much about programming fonts, as long as they're monospaced. So I usually just end up using Courier (New).

User avatar
Gaydar2000SE
Posts: 210
Joined: Sun Jun 21, 2009 1:43 am UTC

Re: Coding Fonts

Postby Gaydar2000SE » Thu Jun 25, 2009 1:36 am UTC

I program solely in Whitespace.

Also, what is this 'font' you speak of?
^ :/

User avatar
phlip
Restorer of Worlds
Posts: 7572
Joined: Sat Sep 23, 2006 3:56 am UTC
Location: Australia
Contact:

Re: Coding Fonts

Postby phlip » Thu Jun 25, 2009 2:41 am UTC

cathrl wrote:People pick fonts to code in?

I use whatever the default is in Visual Studio, and whatever the default is in UltraEdit. Beyond being fixed pitch, I couldn't tell you what it is.

Pretty much this. Except that there's one fixed-width font on my computer that's quite ugly... when rendered smaller than about 20pt, it's almost entirely anti-aliasing grey... which makes it all blurry and hard to read. Whenever a program ends up using that as a default, I switch it over to Courier New, being probably the only fixed-width font I know by name.

Code: Select all

enum ಠ_ಠ {°□°╰=1, °Д°╰, ಠ益ಠ╰};
void ┻━┻︵​╰(ಠ_ಠ ⚠) {exit((int)⚠);}
[he/him/his]

Main
Posts: 11
Joined: Mon Nov 26, 2007 7:27 am UTC

Re: Coding Fonts

Postby Main » Fri Jun 26, 2009 6:49 pm UTC

I use Envy Code R. It's replaced DejaVu Sans Mono.

User avatar
louiswins
Posts: 5
Joined: Fri Jan 26, 2007 7:41 pm UTC
Location: Madison, WI, USA
Contact:

Re: Coding Fonts

Postby louiswins » Fri Jun 26, 2009 8:28 pm UTC


User avatar
MHD
Posts: 630
Joined: Fri Mar 20, 2009 8:21 pm UTC
Location: Denmark

What font do you use for coding? What colour scheme?

Postby MHD » Fri Jun 26, 2009 9:04 pm UTC

I use the Consolas font (I love it sooo much), used to use Courier New and Bitsteam Vera Sans Mono.

My colour scheme is attached as a zip archive.
Attachments
Style.zip
(2.88 KiB) Downloaded 175 times
EvanED wrote:be aware that when most people say "regular expression" they really mean "something that is almost, but not quite, entirely unlike a regular expression"

stephentyrone
Posts: 778
Joined: Mon Aug 11, 2008 10:58 pm UTC
Location: Palo Alto, CA

Re: What font do you use for coding? What colour scheme?

Postby stephentyrone » Fri Jun 26, 2009 9:24 pm UTC

10pt Menlo, dark text on an off-white (tan) field. Dark blue for literals, dark green for comments, rust for preprocessor macros, and a slightly lighter blue for function names. All other text is black.
GENERATION -16 + 31i: The first time you see this, copy it into your sig on any forum. Square it, and then add i to the generation.

mrkite
Posts: 336
Joined: Tue Sep 04, 2007 8:48 pm UTC

Re: What font do you use for coding? What colour scheme?

Postby mrkite » Sat Jun 27, 2009 2:29 am UTC

Deja Vu Sans Mono 10pt. Black on white. Stock vim coloring.

User avatar
Ephphatha
Posts: 625
Joined: Sat Sep 02, 2006 9:03 am UTC
Location: Bathurst, NSW, Australia

Re: What font do you use for coding? What colour scheme?

Postby Ephphatha » Sat Jun 27, 2009 2:37 am UTC

Consolas with Notepad++'s default colour scheme.

For C++, it is:
Types
Keywords
Numerical constants
String literals
Preprocessor directives
Comments
Everything else
(more or less, there's a few extras that I don't encounter)
I'm not lazy, I'm just getting in early for Christmas is all...

User avatar
Emu*
Posts: 689
Joined: Mon Apr 28, 2008 9:47 am UTC
Location: Cardiff, UK
Contact:

Re: What font do you use for coding? What colour scheme?

Postby Emu* » Sat Jun 27, 2009 7:48 am UTC

Whatever I get from gedit, or Kate depending which desktop environment I'm using.
Cosmologicon wrote:Emu* implemented a naive east-first strategy and ran it for an hour, producing results that rivaled many sophisticated strategies, visiting 614 cells. For this, Emu* is awarded Best Deterministic Algorithm!

User avatar
OmenPigeon
Peddler of Gossamer Lies
Posts: 673
Joined: Mon Sep 25, 2006 6:08 am UTC
Contact:

Re: What font do you use for coding? What colour scheme?

Postby OmenPigeon » Sat Jun 27, 2009 3:08 pm UTC

Inconsolata. I generally use whatever default colors notepad++, emacs or visual studio give me. Except for that godawful blue notepad++ insists on highlighting some things with, and that thing where it turns all my comments into 8pt comic sans. That shit is right out.
As long as I am alive and well I will continue to feel strongly about prose style, to love the surface of the earth, and to take pleasure in scraps of useless information.
~ George Orwell

User avatar
Dropzone
Posts: 405
Joined: Sun Dec 30, 2007 10:12 pm UTC
Location: North Lincs., UK

Re: What font do you use for coding? What colour scheme?

Postby Dropzone » Sat Jun 27, 2009 5:08 pm UTC

Proggy Clean, with the default colour scheme of whatever application I'm using.
Attachments
example.png
example.png (1.28 KiB) Viewed 10801 times

mrkite
Posts: 336
Joined: Tue Sep 04, 2007 8:48 pm UTC

Re: What font do you use for coding? What colour scheme?

Postby mrkite » Sat Jun 27, 2009 10:28 pm UTC

Good idea, attaching a screenshot.
Attachments
Screenshot.png
Screenshot.png (8.03 KiB) Viewed 10759 times

User avatar
Vault
Posts: 169
Joined: Mon Nov 10, 2008 5:00 pm UTC
Location: Just past the event horizon
Contact:

Re: What font do you use for coding? What colour scheme?

Postby Vault » Sun Jun 28, 2009 2:12 am UTC

I have to have a dark background, it's much easier on the eyes than glaring white:
Attachments
Picture 1.png
Picture 1.png (19.9 KiB) Viewed 10714 times

User avatar
You, sir, name?
Posts: 6983
Joined: Sun Apr 22, 2007 10:07 am UTC
Location: Chako Paul City
Contact:

Re: What font do you use for coding? What colour scheme?

Postby You, sir, name? » Sun Jun 28, 2009 2:27 am UTC

This is how I roll...

font.png
font.png (4.35 KiB) Viewed 10717 times
I edit my posts a lot and sometimes the words wrong order words appear in sentences get messed up.

dasada122
Posts: 88
Joined: Sun Jun 14, 2009 8:41 pm UTC
Location: Wherever you aren't looking at the moment.

Re: What font do you use for coding? What colour scheme?

Postby dasada122 » Sun Jun 28, 2009 2:30 am UTC

I never thought to deviate from VS 05's default, but my teacher uses Comic Sans MS at 24 point type. It bugs me.

User avatar
Vault
Posts: 169
Joined: Mon Nov 10, 2008 5:00 pm UTC
Location: Just past the event horizon
Contact:

Re: What font do you use for coding? What colour scheme?

Postby Vault » Sun Jun 28, 2009 2:33 am UTC

Oh, I forgot to mention, my background color is slightly transparent, but you can't really see it in the picture.

dasada122
Posts: 88
Joined: Sun Jun 14, 2009 8:41 pm UTC
Location: Wherever you aren't looking at the moment.

Re: What font do you use for coding? What colour scheme?

Postby dasada122 » Sun Jun 28, 2009 2:41 am UTC

What environment does one code with in Linux?

User avatar
You, sir, name?
Posts: 6983
Joined: Sun Apr 22, 2007 10:07 am UTC
Location: Chako Paul City
Contact:

Re: What font do you use for coding? What colour scheme?

Postby You, sir, name? » Sun Jun 28, 2009 2:45 am UTC

dasada122 wrote:I never thought to deviate from VS 05's default, but my teacher uses Comic Sans MS at 24 point type. It bugs me.


Yeah, what the heck is up with that? Every CS teacher I've ever seen has used Comic Sans for their code.
I edit my posts a lot and sometimes the words wrong order words appear in sentences get messed up.

dasada122
Posts: 88
Joined: Sun Jun 14, 2009 8:41 pm UTC
Location: Wherever you aren't looking at the moment.

Re: What font do you use for coding? What colour scheme?

Postby dasada122 » Sun Jun 28, 2009 2:53 am UTC

Perhaps it's a visibility thing.
Or maybe they just think it's cute.


Return to “Religious Wars”

Who is online

Users browsing this forum: No registered users and 6 guests