HN user

NCG_Mike

12 karma
Posts0
Comments23
View on HN
No posts found.

I'd suggest that someone who thinks that UTs are over-rated are over-rating their ability. I'd also suggest that those people are the exact people that should have extra testing done on their code.

A couple of things a C++ developer can do is to put template instantiation code into a .cpp file, where possible.

"#pragma once" in the header files helps as does using a pre-compiled header file.

Obviously, removing header files that aren't needed makes a difference too.

Wow. Going back a long time. I was in the MPW Shell camp but did use ThinkC With Objects and it was so much faster than the C compiler in MPW.

The way I built MacOS applications in Obj-C was to use a dictionary with key/value pairs held inside either a NSDocument or a controller of some kind. I'd bind the views to the model, via the controller. No sub-classes of views.

It also had the benefit of been able to add undo/redo with a few lines of code. This even would undo radio button clicks as those controls were also bound to the model.

Saving the model was just a case of saving the dictionary or converting the dictionary in save and load from some other format, say ICC Color Profiles.

I'm not surprised to read that less experienced developers bung all their controller and model code in a sub-class of some view. It was a common thing to see in the MFC or PowerPlant days.

A History of Pizza 7 years ago

There's a kind of pizza that I've had at a Turkish restaurant that comes without tomatoes. Really nice.

I'd assume a common origin with the Italian variety via the Romans (ancient).

As someone who worked in the US with a H1-B, in my case it was because you'd not find someone with my particular skill at that point in time. I was also paid more than the employees at the company I was contracted to work at - because of my particular skill and I'd taken a pay cut to move to the US.

This is what the H1-B is/was supposed to be like. It does seem that it has been abused.