306 reputation
410
bio website
location Europe
age
visits member for 3 years, 6 months
seen 10 hours ago

1d
comment Is there a real advantage to dynamic languages?
@MattFenwick On the other hand I often wish I could simply use an identical type from different libraries without manual runtime conversion/casting. Is this closer? Dynamic typing would kill performance same way as using something like Automapper however, so only an advantage in some scenarios.
1d
comment Is there a real advantage to dynamic languages?
@MattFenwick Maybe I just don't see it. Can you provide a small example? The closest I could think of is the problematic refactoring I faced when converting Java code to C# code that would use value type semantics instead of reference type one. However I believe that would still be a problem with e.g. Python.
1d
comment Am I wrong in thinking that needing something like AutoMapper is an indication of poor design?
@gbjbaanb I would probably just use reflection to do this validation in a generic way. Perhaps explore the possibility of extending AutoMapper to add some validation. Would definitely avoid lots of manual assignments.
1d
comment Am I wrong in thinking that needing something like AutoMapper is an indication of poor design?
[if you do trendy web dev] So if you are writing a REST web service do you tend to always check each and every property to make sure your JavaScript object model is consistent with your .NET object model?
1d
comment Is there a real advantage to dynamic languages?
@MattFenwick I guess it's a valid point but not one relevant in practice. Otherwise we can start discussing coupling to syntax, coupling to programming paradigms and coupling to patterns as well.
2d
comment Why do some functional programming languages use a space for function application?
@Doval and maybe he would be right, first languages to implement GC are still not mainstream, while *nix devs are still happily using C.
2d
comment Why do some functional programming languages use a space for function application?
@Simon I am not a big fan of XML and SQL, but both of them have/had killer features (e.g. lack of other real choice, great tooling support). XML on the other hand is very simple and I still have to google for some reasonable SQL queries (e.g. get top 10 items in each group), which means it is not intuitive for me. Default immutability, better function syntax, algebraic types etc. are just not killer features for me.
2d
comment Why do some functional programming languages use a space for function application?
@Simon Syntax of functional-first languages is the primary motivation killer for me. I have no problem using functional programming in non-academic languages.
2d
comment Why do some functional programming languages use a space for function application?
To make it more confusing, erm, I meant succinct.
2d
comment Is there a real advantage to dynamic languages?
@MattFenwick I don't understand what "coupling to a static type system" means and can only guess (no intent to be picky here, some elaboration will help understanding your answer).
2d
comment Why does C# have much more features than Java?
@WesleyWiser - upgraded to "might have in future".
Jul
7
comment Is there a real advantage to dynamic languages?
Also what do you mean by "coupling" here? How would it manifest in an e.g. micro-services architecture?
Jul
7
comment Is there a real advantage to dynamic languages?
Don't people tend to eventually re-implement a basic static type system with their unit tests (when targeting a good test coverage)?
Jul
4
comment How can I close my Open Source project and what is required from me in order to make it closed source?
What is the use case? I am not against, just curious.
Jul
4
comment How many mistakes does a good software developer make?
Using mistake-preventing technologies also helps. E.g. using a language with a strong type system like Haskell. Developers shouldn't be testing things a compiler can verify for them.
Jul
3
comment Why does C# have much more features than Java?
C# 1 had value types. Something that Java will never have. So not just a "blatant rip-off".
Jul
3
comment Why does C# have much more features than Java?
@Clockwork-Muse but C# has two runtime implementations - CLR and Mono. Also there is Xamarin. I have not heard of a single solution for building cross iOS/Android/WinPhone projects using Java.
Jul
3
comment Why does C# have much more features than Java?
More syntax sugar coming C# way: roslyn.codeplex.com/…
Jul
3
comment Is there a real advantage to dynamic languages?
@Phoshi - does "SOL" mean "not allowed to violate a contract"?
Jun
30
answered Is it safe to rely on static analysis to “reproduce” concurrency bugs reliably?