Oskar Gewalli's blog articles

0
comment
on 8/31/2015 1:52 AM
Before the vacation I was working with Karl Adriansson on a project as the front end programmer. I helped get a front end javascript parts back on track. While doing this, Karl and one of the testers supplied me with specifications from the requirements. Since the specifications where very detailed, It was very easy to transform them into sort of BDD style tests: test("PROJ-783", function (){ var ctx = given_a_customer_previously_bought(black_sweater()); and_I_currently_have_X_of_Y_in_stock(ctx, 3, bl[...]
>> Read the full article
.
0
comment
on 8/27/2015 3:49 AM
What criteria do I use I prefer for the build tool to work on both *nix and windows. I do some of the .net coding on os x. The build systems mentioned here are all related to working with .net (and all except psake work in *nix). If you are coding .net What package manager to use? Right now there is NuGet. There is no good reason why you should deviate from using that format. However, you can choose to use NuGet.exe, NuGet in visual studio with packages.config files or use paket with ‘paket’ files. Pa[...]
>> Read the full article
.
0
comment
on 8/23/2015 11:44 AM
Turns out that there is a simpler way of dealing with optional values in c#. Include FSharpx.Extras to your c# project and then you can do the following: optionalValue.Match( ifSome: value => ProcessValue(value), ifNone: () => NoValueToProcess() ); Thanks to extension methods in this library. There are extension methods for other common discriminated unions as well.
>> Read the full article
.
0
comment
on 8/21/2015 8:17 AM
Since I’ve been without an assingment I’ve had the time to look into f# more. Where did I find material? fsharpforfunandprofit functional programming on slack stackoverflow Why did I start looking into f# again? I share the office with Fredrik Forssen. I find his love of f# inspiring. Things I’ve found that delighted me: Less ceremony to declare classes, records, methods and functions (when you get used to how you write it) Easier to compose things (for instance if you want to create a c[...]
>> Read the full article
.
0
comment
on 8/11/2015 8:49 AM
We can only speculate as to the future of delivering content for installation purposes in a .net setting. However, we have some new information from nuget.org. The deprecation of content files and powershell in project.json makes sense. If we speculate about the next version sharepoint version, then we might think about sharepoint projects using project.json and perhaps bower. Since bower as an ecosystem has tremendous growth, it might be the package manager of choice for this specialized task. We already[...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper