Earlier quoted context omitted.
It's a shame the C/C++ standards committee(s) didn't just copy Verilog's base-n notation when they added the "0b" prefix. It's nice to be able to write large constants with optional underscores every four or eight digits, e.g. 32'hffff_0867_5309_beef, or 12'b1101_1110_1010.
You can write 1'000'000 for a million in C++14. http://en.cppreference.com/w/cpp/language/integer_literal . They didn't use underscores because _100_000 is a valid identifier in C/C++. Arbitrary bases aren't there.
Fira Code: monospaced font with programming ligatures
71–80 of 84 posts
Re: Fira Code: monospaced font with programming ligatures
#72Earlier quoted context omitted.
Let’s be realistic. You don’t have learn or retrain your brain to understand Fira Code. Symbols are all the same, they just look better.
The difference between e.g. -> and --> is a length of a small solid line. To me that's equates to a huge drop in readability, countering the easy to brain-parse argument.
Re: Fira Code: monospaced font with programming ligatures
#73Re: Fira Code: monospaced font with programming ligatures
#74Earlier quoted context omitted.
Are there any problems with installing otf on windows? I installed and used them just fine
See I knew it was a silly question :) A few minutes ago I converted the otf files to ttf using font forge. That appeared to work, but it seems the ligatures are gone. On top of that the ttf version of the font did not show up as a monospaced font in my code editor. I might have done something wrong though as I only dabble a bit with font forge. Then I just did what you suggested, install the otf instead (d'oh) Now th…
Re: Fira Code: monospaced font with programming ligatures
#75Earlier quoted context omitted.
At least for me, monospaced fonts are very helpful for looking at column specific features. == and === are row specific, so seeing the delimiters between them makes them easier to parse on a row level for me.
`===` is triple stroked in these fonts, but that is probably not enough for you. Just saying though! :)
Re: Fira Code: monospaced font with programming ligatures
#76Earlier quoted context omitted.
When it comes to my eyesight, why settle for anything but the best? Consolas is free as in beer to use. I just checked it into my dotfiles which I clone to all my machines.
I would rather put it “free as in torrents”. Microsoft https://www.microsoft.com/typography/fonts/family.aspx?FID=3... offers to buy it for €129
Re: Fira Code: monospaced font with programming ligatures
#77Earlier quoted context omitted.
See I knew it was a silly question :) A few minutes ago I converted the otf files to ttf using font forge. That appeared to work, but it seems the ligatures are gone. On top of that the ttf version of the font did not show up as a monospaced font in my code editor. I might have done something wrong though as I only dabble a bit with font forge. Then I just did what you suggested, install the otf instead (d'oh) Now th…
What editor do you use? Is it listed as supported here? https://github.com/tonsky/FiraCode#editor-support
Re: Fira Code: monospaced font with programming ligatures
#78Earlier quoted context omitted.
Vim and emacs are terminal applications, thus it's down to the terminal emulator to support the font. Some terminal emulators do (eg Konsole). However many do not. Frankly, I'm amazed at the number of programmers who have made the complaint about vim and emacs support since writing terminal applications (ie stuff that prints to STDOUT) is basically programming 101. It should be pretty obvious to any programmer where…
Emacs is a graphical application to me. That's the default behaviour, how I use it, and what I see people doing things like screencasts use.
Re: Fira Code: monospaced font with programming ligatures
#79Earlier quoted context omitted.
Vim and emacs are terminal applications, thus it's down to the terminal emulator to support the font. Some terminal emulators do (eg Konsole). However many do not. Frankly, I'm amazed at the number of programmers who have made the complaint about vim and emacs support since writing terminal applications (ie stuff that prints to STDOUT) is basically programming 101. It should be pretty obvious to any programmer where…
Emacs is a graphical application to me. That's the default behaviour, how I use it, and what I see people doing things like screencasts use.
Re: Fira Code: monospaced font with programming ligatures
#80If you use your editor for multiple languages and documentation as well, you may find things like lines in comment blocks made of '%', '#', or '-' to break from the ligatures. Also if your doc markup(-down) uses underlines of '-' or '=' for headings, they are affected.
On Windows, I found some editors where the ligatures were enabled, some where they weren't, and not many where you had any option to toggle either way.