1,274 reputation
1222
bio website
location Europe
age
visits member for 4 years
seen 9 hours ago

13h
comment Does functional programming increase the 'representational gap' between problems and solutions?
@AndresF: FP: int[] func(int) - what does it do filter or sort? vs OOP: IFilter{ ... } ISorter { ... }. Safer DI.
13h
comment Does functional programming increase the 'representational gap' between problems and solutions?
@AndresF. Practically though the more language have OOP elements in it the more popular and usable it gets: Haskell < F# < Scala < C#. But it could be a simple matter of better (not "succinct") syntax so not going to insist.
13h
comment Does functional programming increase the 'representational gap' between problems and solutions?
@AndresF. - I am talking from my practical experience, rather than academic purity. I am comfortable with language allowing shooting myself in the foot if I really want to (which I don't, hence no practical problems).
16h
comment Throw exception or let code fail
Unity IoC or Unity3d engine? unity.codeplex.com
16h
comment Does functional programming increase the 'representational gap' between problems and solutions?
"In OOP, you write methods that take a student and a list of courses and return a filtered list of courses. You can group all such functions together in a class. You don't have to couple it with one class or another." - I took a liberty of replacing concepts. Still cannot see any problems. I think the distinction between OOP and FP is artificial anyway. Why not use both as in C# and Scala?
Jan
23
answered Exception messages and event logging - which tense to use?
Jan
22
comment how do i use opengl with nodejs ps i only know javascript
It seems you will need to learn a non-scripting language.
Jan
16
comment What is the best way to structure and name files which contain generic classes with the same name?
I wanted to prove you wrong, but actually you are correct: github.com/dotnet/corefx/tree/master/src/… I don't like this convention.
Jan
13
awarded  Yearling
Jan
7
comment How to let users share custom code content under the mobile app store restrictions?
Makes sense, though even asking them such a question requires some prior consideration. What would you say to something like this: "The application may download additional data files which can reconfigure it to provide extra functionality within the application's scope"? I have a suspicion they meant "imperative code that might change the application in unexpected ways" rather than Turing-complete DSLs that do not have a direct access to the underlying platform.
Jan
7
asked How to let users share custom code content under the mobile app store restrictions?
Jan
7
comment What are 4th & 5th programming language generations? Are there more of them?
@MSalters is .NET's LINQ a 4th generation language?
Jan
7
comment Does using == in JavaScript ever make sense?
@tepples There are better options out there, e.g. Xamarin. As a developer I prefer monopolies of stores to monopolies of languages.
Dec
17
comment Maintenance cost of SIMD programming code base
@DocBrown maybe, but his actual question is formulated to be more generic: "...industry consensus regarding the value of clean and simple code for SIMD code...". I doubt there is any (official) consensus at all, but I submit that higher-level languages can reduce the difference between the "usual" and SIMD code, just like C++ let's you forget about assembly, thus reducing the maintenance costs.
Dec
17
comment Maintenance cost of SIMD programming code base
@gnat I have actually read that whole paragraph, not just the top-level bullet points, and the poster is not mentioning any general-purpose SIMD libraries, just the computer vision and image processing ones. Not to mention that analysis of higher-level languages application is completely missing, despite no C++ tag and no C++-specificity reflected in the question title. This leads me to believe that while my question will not be considered primary it is likely to add value, making people aware of other options.
Dec
16
revised Maintenance cost of SIMD programming code base
edited body
Dec
16
answered Maintenance cost of SIMD programming code base
Dec
11
comment Why are self-hosting compilers considered a rite of passage for new languages?
@Qix en.wikipedia.org/wiki/Bootstrapping_%28compilers%29 But mainly there is no reason to use it. It's widely known as a poor language, browsers get away with not using it for compilation because they are in control of the situation :), while the rest of us have no choice on the web.
Dec
11
comment Design pattern for composition workflows
It's not a design pattern, it's a paradigm. Represent coarse reusable functionality as actors, decouple them by message-based communication, combine as needed. Also I am not sure what is a "workflow" for you - chain of actions or just one action.
Dec
11
comment Design pattern for composition workflows
Actor Model: Akka, NServiceBus.