HackerTrans
TopNewTrendsCommentsPastAskShowJobs

cbrogrammer

no profile record

comments

cbrogrammer
·4 年前·discuss
TDD helps close to 0 % with fragility and only exists to help development
cbrogrammer
·4 年前·discuss
> const createUser = (

> attributes: UserAttributes,

> onCreate: (user: User) => void

> ): User => {

> user = User.create(attributes);

> onCreate(user);

This stood out to me, in an otherwise tame article, as probably the most terrible overthought interface possible. A literal callback function passed as a function reference to something that does three lines of code? Good luck with that, I much prefer even a slightly procedual implementation.
cbrogrammer
·4 年前·discuss
Well that is just objectively false. The man was never "sentenced to 13 federal crimes, 50 years of imprisonment and one million dollars in fines". It is blatantly false.
cbrogrammer
·4 年前·discuss
Saying anyone is "responsible" for a suicide is disingenuous
cbrogrammer
·4 年前·discuss
> Goal: Distribution of labor and resources based upon the needs of society > Proxy: Capitalism > Strong version of Goodhart's law leads to: Massive wealth disparities (with incomes ranging from hundreds of dollars per year to hundreds of dollars per second), with more than a billion people living in poverty

Nothing as annoying as online communists inserting their horrible political opinions everywhere. Try moving to a communist country. See how capitalism has raied billions out of poverty in only 30 years
cbrogrammer
·4 年前·discuss
We could start by considering not writing stuff like

> /*

> * Truncate to 8 chars if standard DES since not all crypt()'s do this.

> * If this turns out not to be safe we will have to use OS #ifdef's (sigh).

> */

> sav = pass[8];
cbrogrammer
·4 年前·discuss
there is no copy-on-write in the C language
cbrogrammer
·4 年前·discuss
Gnome and making bad choices, name a better combo