Fork me on GitHub
#community-development
<
2016-03-23
>
crocket01:03:10

Man, I thought http://lobste.rs was a mature place until I found a typeclass dilettante. https://lobste.rs/s/syierz/inheritance_is_terrible/comments/farton#c_farton

crocket01:03:05

The man claims to know what typeclass is and conflate typeclass with typeclass instances.

crocket01:03:39

I was talking about haskell typeclass, and it turned out the the guy used typeclass in scala

crocket01:03:42

The guy is incredulous in that he thinks rich usage of class subtyping in 400k LOC java codebase can add a lot of value. Of course, one can add a lot of value with GOTO if one uses it appropriately. But, GOTO should be used rarely and sparingly if it's ever used. GOTO can easily go wrong and make it difficult to reason about code. I see the same with class subtyping.

crocket01:03:54

Anyone who learned haskell typeclass would know that typeclass doesn't mix functions with data in the way class does.

crocket01:03:40

A typeclass contains only an interface contract. A typeclass doesn't inherit other typeclasses but requires them. The guy is wrong in many claims.

crocket01:03:15

It seems I made a mistake by engaging a low-quality guy.

crocket01:03:12

I want steady online access to high-quality (technical) people. Where do I get the access? It seems a large group of random people who don't know each other doesn't work.

crocket01:03:17

The reddit-type comment interface of http://lobste.rs doesn't deliver much value, either.