Sie sind hier: Startseite | Wissen | Medien / Weblog
Werbung

Tweet von ManfredSteyer

,
03.01.2014 20:32:49

@davidfowl ... I see, that in informatics history (and trends) repeat. Things, main-stream ruled out 20 years ago are becoming popular again

Tweet von ManfredSteyer

,
03.01.2014 20:30:47

@davidfowl There are even successful people doing java-script ;-) I don't think, that there is a right way to design a language, but ...

Tweet von ManfredSteyer

,
03.01.2014 20:28:17

@davidfowl Yea, thats right. Nominal subtyping does not prevent from such problems. But structural subtyping dosn't either.

Tweet von ManfredSteyer

,
03.01.2014 20:24:35

@davidfowl And if I ignore that, there are side effects, like electric shocks, that aren't fun either.

Tweet von ManfredSteyer

,
03.01.2014 20:23:58

@davidfowl Yea, that is not fun but IMHO that's ok, cause ILogger A was not built to be a substitution of ILogger B ...

Tweet von ManfredSteyer

,
03.01.2014 20:18:41

@davidfowl Yes, this really is an issue. But is this really an issue of nominal subtyping?

Tweet von ManfredSteyer

,
03.01.2014 20:16:12

@davidfowl Yust one more (vivid) example: Even if my fingers perfectly fit into the power-socket, it wouldn't be a good idea to put it into.

Tweet von ManfredSteyer

,
03.01.2014 20:11:52

@davidfowl Take it this way: Does it make your app more self-descriptive that a DataProtector can be ANYTHING that fits to Tuple<Func, Func>

Tweet von ManfredSteyer

,
03.01.2014 20:10:34

@davidfowl not sure, if there really is such a hell in C# or Java. If yes, I didn't see it.

Tweet von ManfredSteyer

,
03.01.2014 20:07:55

@davidfowl for me, an interface-implementation is also a is-a relationship. A DataFormat is a IDataFormat and can therefore be used as such

Tweet von ManfredSteyer

,
03.01.2014 20:07:55

@davidfowl for me, an interface-implementation is also a is-a relationship. A DataFormat is a IDataFormat and can therefore be used as such

Tweet von ManfredSteyer

,
03.01.2014 20:05:53

@davidfowl But there has to be a reason, that main-stream OO-Languages have used nominal subtyping in the last 20 years.

Tweet von ManfredSteyer

,
03.01.2014 20:05:53

@davidfowl But there has to be a reason, that main-stream OO-Languages have used nominal subtyping in the last 20 years.

Tweet von ManfredSteyer

,
03.01.2014 20:05:46

@davidfowl I understand, that from a functional point of view, structural subtyping is a nice thing ...

Tweet von ManfredSteyer

,
03.01.2014 20:05:46

@davidfowl I understand, that from a functional point of view, structural subtyping is a nice thing ...