1,220 reputation
1021
bio website
location Europe
age
visits member for 3 years, 9 months
seen 4 hours ago

4h
comment How to pick a platform for a new application
Are future career prospects for developers involved a part of the equation?
4h
comment How to pick a platform for a new application
"if you can write your app in HTML5 and CSS3, you won't have to write an app for each native platform (i.e. iOS, Android)" - I would say "might not have to" e.g. when user experience quality is not important.
1d
comment What's the advantage of auto-property initializers without primary constructors?
You removed the "Last" in your second sample thus making number of lines look similar.
Oct
17
comment Pass Event between Systems in a multi-threaded Entity-Component-System
Just make sure Actor Model is not a better fit :). Depends on project of course.
Oct
16
comment When is it NOT good to use actors in akka/erlang?
What kind of job gives an opportunity to work with Akka daily for months?
Oct
15
comment Benefits of using Unity vs. Native code for a mobile app
If what you are building is an app, then Xamarin is a much better choice: modern languages + native feel and compilation. Unity3d is mostly good for developing not very original games (simplifies component/asset re-use - e.g. Subway Surfers vs Fez) and quick prototyping.
Oct
15
comment Adding quirks from an old system to a new system because that's what people are used to - a term for this?
Lack of willpower.
Oct
14
comment Architecture for editing HTML5 application layout on runtime
Of course it is possible, in the end of the day it's just a bunch of scripts interpreted by the browser. Just google "HTML5 layout manager", e.g.: zebkit.com
Oct
10
comment Knowledge of Multiple Languages--A Hindrance or an Asset in Software Design?
It is most certainly very beneficial. If for example the only thing you had used is JavaScript you might even start believing it's actually a good language. If you expose yourself to multiple languages you will understand the weaknesses and strong points of all of them. If you are not aware of dynamic typing you might never introduce scripting and complicate integration scenarios. If you are only aware of dynamic typing, you might actually use it for business logic, increasing the number of unit testing needed etc.
Oct
3
comment Should I add an “Abstract” prefix to my abstract classes?
In C# the standard convention is to Suffix with '*Base'.
Oct
1
comment What kind of game mechanics makes sense to be handled on client side?
Today, but in future: neowin.net/news/…
Sep
30
awarded  Explainer
Sep
30
comment Is there a good reason to make pure functions non-public?
I would seal the public classes that are not meant to be extended as well.
Sep
30
comment Why is type inference useful?
C#'s inference is not "limited", it is appropriate.
Sep
24
comment I get dependency injection, but can someone help me understand the need for an IoC container?
Overall paints IoC as something without flaws, for example there is no mention of the big downside: pushing a class of errors into runtime instead of compile-time.
Sep
24
comment I get dependency injection, but can someone help me understand the need for an IoC container?
"Avoid the use of new" - also hinders the static code analysis, so you have to start using something like this: hmemcpy.github.io/AgentMulder . Other benefits you describe in this paragraph are to do with DI and not IoC. Also your classes will still be coupled if you avoid using new but will use concrete types instead of interfaces for parameters.
Sep
23
comment IOC Containers break OOP Principles
Actually, that the thing - I am using Dependency Inversion throughout from the very beginning. IoC affecting the design beyond that is my biggest worry. E.g. why would I use interfaces everywhere just to make IoC simpler? Also see the top comment on the question.
Sep
23
comment IOC Containers break OOP Principles
"Dependency Inversion - IoC containers let you do dependency inversion easily" - they don't, they are simply leveraging something that is beneficial whether you have IoC or not. Same with other principles.
Sep
23
comment IOC Containers break OOP Principles
Tried applying IoC (Autofac) to a non-trivial project recently. Realized I had to do a similar job with non-language constructs (new() vs API): specifying what should be resolved to interfaces and what should be resolved to concrete classes, specifying what should be an instance and what should be a singleton, making sure property injection works right to alleviate a circular dependency. Decided to abandon. Works well with Controllers in ASP MVC though.
Sep
23
comment IOC Containers break OOP Principles
"An IoC container can be used to make following SOLID principles much easier." - can you elaborate please? Explaining how specifically it helps with each principle would be helpful. And of course leveraging something is not same as helping something happen (e.g. DI).