Why the claim that c# people don't get object-oriented programming? (vs class-oriented)

前端 未结 14 1887
有刺的猬
有刺的猬 2021-02-07 12:15

This caught my attention last night.

On the latest ALT.NET Podcast Scott Bellware discusses how as opposed to Ruby, languages like c#, java et al. are not truly object o

14条回答
  •  伪装坚强ぢ
    2021-02-07 13:06

    You asked: "Can someone show me an example of a wonderous thing I could do with ruby that I cannot do with c# and that exemplifies this different oop approach?"

    One good example is active record, the ORM built into rails. The model classes are dynamically built at runtime, based on the database schema.

提交回复
热议问题