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/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/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
.
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