News for hackers. Stuff that matters.
Re:.NET 6 Released by int_19h on Monday November 08, 2021 @05:35PM (#29155177)
On the technical side, the biggest productivity gain is from having a garbage collector. Beyond that, language features: while C# 1.0 started in a spot very similar to Delphi (+GC), it evolved much faster - e.g. getting generics in 2005.

But, yes, if you looked at it in 1.x days, it really looked a lot like Delphi libraries with Java-like syntax. So if you were already using Delphi, there wasn't much point.

Re:.NET 6 Released by FpUser on Monday November 08, 2021 @07:00PM (#29155991)
>"On the technical side, the biggest productivity gain is from having a garbage collector."

1) I use leak detection tool so no productivity gain in that area. Besides it is burned into my brain to always write deallocation code first before doing any allocations. That is when my classes are not using interfaces that are reference counted. In reality I could hardly remember any instances when memory / resource leak tool showed any. Also I did not have to dance around IDisposable, Weak and object caches shenanigans.

2) Generics - this is great feature but in my opinion it is mostly geared towards libraries writers. Being more of a product / application oriented bar few exceptions I personally do not use it much neither in C++ nor in Delphi (Delphi has generics since 2009).

Re:.NET 6 Released by naasking on Tuesday November 09, 2021 @09:10AM (#29161923)
> 1) I use leak detection tool so no productivity gain in that area.

These are never as good as garbage collection. In some cases, not even close.

Re:.NET 6 Released by FpUser on Tuesday November 09, 2021 @09:18AM (#29162023)
I consider this statement false
Re:.NET 6 Released by naasking on Wednesday November 17, 2021 @12:11PM (#29255757)
Consider it false all you like, the proof is in the pudding:

https://www.forbes.com/sites/gordonkelly/2021/11/16/google-c...