« first day (515 days earlier)      last day (1913 days later) » 

11:58 AM
 
1 message moved from Lounge<C++>
 
12:20 PM
1 message moved from Lounge<C++>
 
 
5 hours later…
4:56 PM
//super class:
Hyperrect(double *dimensions, unsigned int dimensionality) {
	this->dimensions = malloc(dimensionality * sizeof(*this->dimensions));
	memcpy(this->dimensions, dimensions, dimensionality * sizeof(double));
	this->dimensionality = dimensionality;
}

//sub class:
Hypercube(double dimensions, unsigned int dimensionality) {
	double dimensions[dimensionality];
	for (unsigned int i = 0; i < dimensionality; i++) {
		dimensions[i] = dimension;
	}
	Hyperrect(dimensions, dimensionality);
}
 
1 message moved from Lounge<C++>
 
 
3 hours later…
7:34 PM
What's so bad about PHP?
I've used it before, seemed OK
 
@IAmBatman It's a broken mess. Please stop using language-that-shall-not-be-named's name.
 
@IAmBatman “Now imagine you meet millions of carpenters using this toolbox who tell you “well hey what’s the problem with these tools? They’re all I’ve ever used and they work fine!” And the carpenters show you the houses they’ve built, where every room is a pentagon and the roof is upside-down. And you knock on the front door and it just collapses inwards and they all yell at you for breaking their door.”
That paragraph in the Coding Horror article.
 
@RadekSlupik But that door isn't meant to be knocked on.
 
@SamDeHaan Ha! SQL injections. Good old things.
 
7:36 PM
SQL injection, for one
 
“But the field isn't meant to contain a '.”
 
There is this one amazing PHP feature that protects you from it
"magic quotes"
 
@RadekSlupik But it wasn't broken before you knocked on it!
 
@nightcracker Arhem.
 
@SamDeHaan But it wasn't broken before you entered an apostrophe!
 
7:37 PM
@EtiennedeMartel: sarcasm, of course
 
17 messages moved from Lounge<C++>
 

« first day (515 days earlier)      last day (1913 days later) »