4 ms·
Is C# nowadays friendly enough for type driven development? Using TypeScript daily, I have a great time with type driven development. (C# and TS was created by
by valand 7y ago
Is C# nowadays friendly enough for type driven development?
Using TypeScript daily, I have a great time with type driven development. (C# and TS was created by the same guy)
I was never comfortable with Java community approach of automating stuff, with their heavy use of reflections, method name parsing instead of being strict in typings, use generics, macro, templating, etc.
- charlieflowers 7y agoWell, you can "force" some of it ... make an object whose ctor can only succeed if a certain check passes, for example. You'd be using types in a way that pretty much no one in C# does (not idiomatic), except for maybe those who are explicitly trying to go for type driven development (for example, people doing things like railway oriented programming).