Live data from Hacker News

Go fonts

blog.golang.org

131–140 of 182 posts

Re: Go fonts

#131

Earlier quoted context omitted.

> very few programming languages You mean apart from Tcl, Python, Java, Factor, just about every Smalltalk apart from GNU Smalltalk, Racket, possibly Ruby…

Python has a default cross-platform UI library?

Yes, Tkinter, a Tk wrapper.

Re: Go fonts

#132
post #14

Earlier quoted context omitted.

Why not? But seriously, it's of great benefit to Go programmers to have a font that shares the same license as Go itself. Most fonts are not so unencumbered.

I was surprised to see that you didn't add any Go-specific code ligatures (e.g. for Has there been any thought into providing a variant with some? While I could see why some might be against them I think they're rather fun and can make code more readable. [1] see for example https://github.com/tonsky/FiraCode

This is honestly where I thought this was going when I saw the title. It would be cool for a font to be invested in the language it's used to describe to the point where it supports features of that language.

I use Fira Code for JS, HTML, and CSS and it's great. Very rarely to the extra fun ligatures get in the way, and when they are printed they look absolutely gorgeous. I wish all/most code samples in tutorials and articles were set in it so they would be a pleasure to read.

But these fonts left me scratching my head.

Re: Go fonts

#133

The page itself is set in the proportional version of Go. I found it distracting to read because of the uneven character widths. The majority of the characters (like 'b', 'd', 'f', 'k', 'l', 'o', and 't') are narrow, but some common letters (mainly the 'e' and 'c') are round and wide, with generous space around them. I can't get past the impression that I'm reading paper that wrinkled when it went through the printer…

The monospaced font looks very old, I don't like the look of it.

The proportional one is ok but it can't be used for programming. In part because of the reasons you gave but especially because there is almost no gap between the two = characters in == and @ is almost superscripted, which looks wierd.

I'm going back to Sans Regular (whatever it is on Ubuntu). It has its own problems (I and l look the same) but it's still better.

Re: Go fonts

#134
post #91

Earlier quoted context omitted.

Do you mean the old Java crap, like https://netbeans.org/images_www/screenshots/platform/jmonkey... https://netbeans.org/images_www/screenshots/platform/nbAWSAd... https://netbeans.org/images_www/screenshots/platform/lg_soft... https://netbeans.org/images_www/screenshots/platform/GGSSEph... https://netbeans.org/images_www/screenshots/platform/platypu... https://netbeans.org/images_www/screenshots/platform/blueMar...…

Funny, Java, using the default UI widgets, always looks a lot closer to this on my system: https://i.stack.imgur.com/9UwJK.png

The screenshots are of the default widgets. The only question is which is the selected look-and-feel (for the "old" Swing toolkit), or the style sheet (in the new JavaFX).

Re: Go fonts

#135
post #99
post #97

> What options for native UI does IDEA provide? It's mostly a Swing app. You're right; it's typical bullshit by JetBrains shills. Eclipse has SWT with native UI widgets and IntelliJ is and will always be a sloggy Swing application.

Whoa there. I was asking a question, somewhat incredulously. Maybe the person who wrote that comment is misinformed. Maybe they know something we don't. Nowhere did I suggest they were 'JetBrains shills' and neither should you, unless you have some evidence of it.

In the UI options there's an option for GTK but I've just checked (both IDEA and PyCharm) and I think it's just a theme. I genuinely thought it was using GTK widgets.

Re: Go fonts

#136

This reminds me of Java applications that you can immediately tell are Java because of the weird font. I don't see an advantage over using native system fonts. As far as I know you don't need a license to use fonts installed on the system running the application. Why does the font need to be bundled? The wide spread adoption of this is going to make go programs stick out like a sore thumb.

I don't respect the self-imposed "x-platform native UI experience" constraint anymore. Even windows slowly rebuilt its user interface and experience over the years. It isn't a user demand, it doesn't put any pressure on support, frankly I have no idea what these people who spread all this custom drawn vs native control polemic were thinking. Also, if you are making money, who cares if you drew some of your controls o…

Were you ever forced to use something like SAP? The UI gives its users cancer because "for historic reasons" they do everything themselves instead of using normal widgets and shortcuts.

Re: Go fonts

#137
post #107
post #91

Earlier quoted context omitted.

Do you mean the old Java crap, like https://netbeans.org/images_www/screenshots/platform/jmonkey... https://netbeans.org/images_www/screenshots/platform/nbAWSAd... https://netbeans.org/images_www/screenshots/platform/lg_soft... https://netbeans.org/images_www/screenshots/platform/GGSSEph... https://netbeans.org/images_www/screenshots/platform/platypu... https://netbeans.org/images_www/screenshots/platform/blueMar...…

No need to go further, just look at jconsole bundled with latest Java. It looks like crap to me.

jconsole is a very old, discontinued program, but it looks alright to me: https://www.dropbox.com/s/ji9hahszxttpetx/jconsole.png?dl=0

The newer bundled jvisualvm also looks fine: https://www.dropbox.com/s/549exowkau3ry3t/jvisualvm.png?dl=0

Re: Go fonts

#138
post #122
post #78

Earlier quoted context omitted.

I help maintain/develop an app that allows users to draw and simulate logic circuits on a canvas. Text plays a minor but important role for labeling various components, showing bit and hex values, etc. The app uses system fonts, and it's a huge mistake. The sizes and exact layout and connectivity of various logic blocks depends on text size, and when that changes (and it does from platform to platform), it leads to l…

It seems to me that having a specific UI toolkit font would not help you in your case. If Go maintainers decide to change the font metrics you will have the same problem. Distributing your own font (as you have mentioned) is the right way to go.

If the Go maintainers change metrics, you can still distribute the old version, or even modify the new version back to the metrics you want and distribute the result. That's the advantage to friendly licensing.

Re: Go fonts

#139

I love that they actually included Bigelow's explanation of each decision made. So often (especially in the realm of programming fonts, it seems) decisions on letter forms in new fonts seem to be made "because it looks nice", but there is, in fact, a science behind it all. Indeed, Go Mono ticks every item I look for in a programming font (one of only 2 or 3 programming fonts that does): - slashed 0 - easy differentia…

Do you write OCaml or C (comments) by any chance? I've often found it hard to discover a typeface that has

    (* this is a comment *)
vertically centered. My usual choice is Fira Mono because it looks great and centers * vertically, though I would love a serif monospace font. Maybe Go Mono will be revised but I doubt it will be updated anytime soon.

When you say "6 point" do you mean it's bigger than usual?

Is there a place to obtain SF Mono without an Apple Developer account if you don't happen to have a macOS installation handy?

Re: Go fonts

#140
post #111
post #105

Earlier quoted context omitted.

Plan 9 uses Lucida Sans Unicode, which was the OS X system font (as Lucida Grande) until recently. There is a resemblance between this font and Lucida Sans Unicode, they come from the same foundry, after all, but they are significantly different. > Ironically, the Plan9 folk seem to shun TrueType in favor of bitmap fonts. It's true Plan 9 uses bitmap fonts, but that's just how the technology was implemented (so you c…

Clearly you haven't been on 9fans over Summer :)

Was there a font thread you're referring to?
Post reply on HN