Most common or vicious mistakes in C# development for experienced C++ programmers

后端 未结 13 1477
没有蜡笔的小新
没有蜡笔的小新 2020-12-23 19:10

What are the most common or vicious mistakes when experienced C++ programmers develop in C#?

相关标签:
13条回答
  • 2020-12-23 20:01

    One that got me, and I believe a lot of non C++ people too, was leaking memory due to registered events keeping an object alive.

    IDisposable grated to begin with (and still does if I'm honest) but was pretty obviously going to be a difference when going from native to managed code so it is not something I'd expect C++ developers to actually fall foul of, they just won't like it.

    0 讨论(0)
提交回复
热议问题