Hacker Newsnew | past | comments | ask | show | jobs | submit | frou_dh's commentslogin

Obj-C++ was used for some hall-of-fame OS X apps, e.g. TextMate

I have my suspicion that it is still used heavily inside Apple. It especially caters to programmers that are control freaks like me -- you are a little closer to the metal (pun intended).

It's not difficult to determine where different languages are used – you can run `symbols -noDemangling BINARY | grep _Z`, where BINARY is a path to any binary, and see how many symbols use Itanium C++ name mangling. You'll see it sprinkled in enough places to get an idea of which parts of the system use it more than others.

Of course, parts of the Objective-C runtime are written in Objective-C++, so someone more pedantic than I might claim that fact alone counts as it being "used heavily."


> sometimes, I allow myself to lean back in my chair and just scroll

WHAT??! This cannot be allowed!! /s

It's clear from reading programmer geek thoughts on peripherals over the years that autistic types love the "Use keyboard 100% of the time!" dogma because it is black-and-white thinking. The idea of someone knowing how to do things in a multitude of ways and changing it up based on mood is displeasing.


It's tiring to discuss because it's never that they could ever sympathise with my usage, it's that they are physically (yes, physically!) incapable of imagining anything other than their own usage.

See also: Linux users who insist all you need is a terminal and vim. Exact same thing.


>> sometimes, I allow myself to lean back in my chair and just scroll

> WHAT??! This cannot be allowed!! /s

We just lean back with the keyboard and scroll with the Space key. Also using cwm, I move my windows with Super+{h,j,k,l} and resize them with Super+Shift+{h,j,k,l}.


On the off-chance I ever do reply to some of the months/years old things that I've never replied to, then I will surely include an apology, because it's definitely rude what I've done.

I don't think many people in the real world worship the sanctity of the "Asynchronous Communication" principle above all else. Maybe the author is the 1/1000 that does.


One of Reddit's cutesy error pages (presumably for Internal Server Error is similar) is an illustration that says "You broke reddit". I know it's a joke, but have wondered what effect that might have on a particularly anxiety-prone person who takes it literally and thinks they've done something that's taken the site down and inconvenienced millions of other people. Seems a bit dodgy for a mainstream site to assume all of its users have the dev knowledge to identify a joking accusation.


In 3D games, something that's key for roads to look/feel realistic is to have small amounts of banking here and there all over the place - as opposed to just having a crude categorisation where there are flat roads on one hand and ramps on the other.

If you don't do that then large parts of the game world end up seeming like ice rinks with roads painted on them.


Is that so? Sounds like this commandment has a lot of authority, I'd better start following it.


You’re free to program in language with only one data type all you want!


Tcl is great


Unironically, tcl is great as an upgrade from shell.


Used in space but NOT cleared for attaching the Space Shuttle to the fuel tank.


The whole GitHub paradigm has muddied the meaning of the term "forking". It used to imply a serious intention to diverge. Now to a lot of people it just means doing any development on a copy of a repo. The "Fork" button on GitHub is really "Clone (to my account)".


That's the holy Unix justification for self-flagellation via deficient tooling and you're sticking to it.


In my experience, it's a superior approach for code you wrote yourself in a repeatable crash. You have the whole programming language at your disposal for building a condition corresponding to your bug, and any kind of data dumping.

I fall back on debuggers when the environment is hostile: Half understood code from someone else, unreliable hardware (like embedded), or debugging memory dumps.

But before both, the initial approach is thinking deep and hard, and reviewing all available evidence like logs. If this is not enough, I try to add better troubleshooting abilities for the future.


When drawing outlines, tables, etc, I hope the new approach (vui) uses real Unicode box-drawing characters and not - | + etc. It's high time TUI people raise their standards a bit and consider unbroken line drawing (no gaps between repeated characters) a requirement rather than a luxury!


vui-table supports three :border variants at the moment - :ascii, :unicode and nil (i.e. none)

:ascii

  +---------+--------+
  | Summary |        |
  +---------+--------+
  | RMS     | 4.1620 |
  | AVG     | 3.9558 |
  +---------+--------+
:unicode

  ┌─────────┬────────┐
  │ Summary │        │
  ├─────────┼────────┤
  │ RMS     │ 4.1620 │
  │ AVG     │ 3.9558 │
  └─────────┴────────┘
I think there is room for improvement (like use thicker lines for headers in unicode) and I also need to provide a way to override these.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: