« first day (1253 days earlier)      last day (3756 days later) » 
00:00 - 23:0023:00 - 00:00

user55340
11:03 PM
@RobertHarvey Before he gets to see all the pink background answers...
 
@RobertHarvey unicornvana...no.. that sounds terrible. Probably some nightmarish state you enter after reaching 50k on MSO; suddenly everyone you meet appears to have a horn sticking out of their head; at 100k it probably takes over reality completely and you find yourself in a reality where everyone is a full blown unicorn and every 3rd object is a rainbow...*shutter*
 
Exactly as you described, except it happens at 10K.
 
user55340
Btw, @RobertHarvey you do know that now that Glen is a 20k, delete votes on awful answers and fast deletes on questions will likely go through.
 
@RobertHarvey if that happens so help me god I will drop every damn cent of rep I have in bounties on @Ampt.
 
user55340
@JimmyHoffa you know, if you switch to a unicornify gravatar...
 
user55340
 
user55340
 
user55340
That'd be me.
 
@MichaelT Great, so we can bring MSO to everywhere? No thanks, even delete votes on license questions aren't worth that 12th level of hell you describe.
 
user55340
5
Q: What do you think of the Stack Exchange main meta site?

GillesThis question is intended to collect opinions from people who frequent multiple Stack Exchange sites, including Computer Science, and who are not regulars of Stack Overflow. Each Stack Exchange site has a meta site (like the one you're reading now), intended for discussions, support questions, b...

 
@MichaelT Had no idea you were so handsome.
 
user55340
11:13 PM
@RobertHarvey Its kind of a dashing one... not one of the way 'selfie' ones that some people have.
 
user55340
 
Yikes...
public class Customer {
private final FirstName firstName;
private final FamilyName familyName;
private final Age age;
private final Height height;

public Customer(FirstName firstName, FamilyName familyName, Age age, Height height) {
this.familyName = familyName;
this.firstName = firstName;
this.age = age;
this.height = height;
}
}
 
user55340
There is a school of thought of creating wrapper types around all things for "added type safety"
 
The only purpose of this is to provide a mechanism to intellisense the fields in a constructor.
 
user55340
Not only - because you can't accidentally assign a familyName to a firstName.
 
11:18 PM
But it's seriously overtaking the plumbing. Think of how you'd have to actually call the constructor. You'd have to new up a copy of each parameter object.
So now it
 
user55340
There are a multitude of other problems... but there is that school of "wrap every type so that you can't accidentally assign the wrong thing"
 
= new customer(new FirstName("Tom"), new FamilyName("Smith")
Ick.
You might as well do this:
= new Customer(new { FirstName = "Tom", FamilyName = "Smith" });
and use Reflection to get all the parameters, like they do in ASP.NET MVC. Except, of course, that it won't intellisense.
 
user55340
I'm not a fan of that style... just stateing that it does exist and some profess to use it... its not out of the blue.
 
If you're willing to forego the Constructor...
= new Customer() { FirstName = "Tom", FamilyName = "Smith" }
Which will intellisense, but won't give you constructor verification.
 
psr
11:34 PM
@RobertHarvey That's terrible. First names are constructed with a not type-safe enough string. You need a MyString class for that.
 
Honestly, I don't really get the concept. See here, but I don't feel like it is fully baked:
 
@psr No; FirstName should take a NameString (otherwise it could get non-name parameters, like a shopping list string or maybe a hard-coded SQL string) ...though obviously NameString is a subclass of MyString to ensure strings from other libraries don't get in there, that could be dangerous.
 
It's turtles all the way down...
 
00:00 - 23:0023:00 - 00:00

« first day (1253 days earlier)      last day (3756 days later) »