Strona głównaUżytkownik

michalfranc | użytkownik

michalfranc
michalfranc
1 664,12
2039 dni, 15 godzin, 59 minut temu
9 stycznia, 2013
dotnetomaniak.pl

TDD – commit by commit String Calculator Kata (III) Posted on by Michal Franc Previous post in the series – TDD – commit by commit String Calculator Kata (II) In the previous post I did a cleanup phase and added one feature to the String Calculator. The kata is not finished yet.Step VIII – Different Delimiters String Calculator should support different delimiters. Previous solution was just a hard-coded hack, still it was good enough solution. There wasn’t any requirement that would suggest a need f...

Tagi: TDD
Źródło: www.mfranc.com
Dziel się z innymi:
[EN] TDD commit by commit String Calculator Kata III | Pragmatic Developer

Sztuka programowania 3830 dni, 3 godziny, 7 minut temu michalfranc 65 źrodło rozwiń

2nd part of the serie about applied TDD with examples on commit by commit basis, with commentary about decision making process.. String Calculator TDD Kata.

Tagi: TDD
Źródło: www.mfranc.com
Dziel się z innymi:
[EN]TDD – commit by commit String Calculator Kata (II) | Pragmatic Developer

Sztuka programowania 3879 dni, 11 godzin, 21 minut temu michalfranc 100 źrodło rozwiń

TDD – commit by commit String Calculator (I) In this series I want to share my approach to TDD. I will do a simple TDD kata, sharing with you all my decision and thoughts. It’s called commit by commit beacuse you will find here links to github with each step. There will be a commentary to each one of these. I encourage you to comment and show me the flaws in my “style” of TDD coding. I also want to learn from you. I do know that my approach has its problems and there is allways a wayt to do something b...

Tagi: codingkata, TDD
Źródło: www.mfranc.com
Dziel się z innymi:
[EN] TDD - commit by commit String Calculator (I) | Pragmatic Developer

Sztuka programowania 3903 dni, 12 godzin, 4 minuty temu michalfranc 100 źrodło rozwiń

Pragmatic Developer Coder / Ninja / Hacker / Programmer / Developer / Engineer even Rockstar. Quite a big list of names used to describe someone in our field. Why then it is really important for me feel as a “Developer” instead of a “Programmer” ? My first job. I am sitting at the desk, bashing the keyboard, creating code someone else thought about. Simple c...

Tagi: kariera
Źródło: www.mfranc.com
Dziel się z innymi:
[EN] Pragmatic Developer

Inne 3912 dni, 1 godzinę, 38 minut temu michalfranc 178 źrodło rozwiń

In the project, I am working with, there is a simple feature that imports data from external source. Import is only interested in new records. This condition is fulfilled with ‘DateTime’ comparision. Looks simple, Unfortunately I have encountered a nice ‘bug’.

Tagi: C#
Źródło: www.mfranc.com
Dziel się z innymi:
[EN] Why Something > null is false - C# and Lifted Operators | Passionate Programmer

Sztuka programowania 4119 dni, 22 godziny, 51 minut temu michalfranc 90 źrodło rozwiń

In this post, I want to write about my conversion to Vim, a complex but powerful text editor. It’s learning curve is quite step but once grasped, it can increase your productivity. You can use it almost everywhere, Linux, Windows, Mac, you name it. It is an OSS software, easily moddable and open. You can write your own plugins and change almost every aspect of it. This process is very natural and easier than Visual Studio’s extensions and configuration hell. You won’t replace Visual Studio with VIM, th...

Tagi: vim
Źródło: www.mfranc.com
Dziel się z innymi:
[EN] From Dwarf Fortress to Vim - evolution of .Net programmer | Passionate Programmer

Narzędzia 4152 dni, 4 godziny, 49 minut temu michalfranc 107 źrodło rozwiń

I have been playing with Node.js recently. Mostly doing some small hobby projects. One of them needed server side badly, some of the cool features were not possible with the client side only web app. I was thinking about using RoR, Asp.Net Mvc or NancyFX all of these frameworks suitable for the task. Then why Node ? Well, the answer is simple, FUN. There is a lot of hype around it. Community is very dynamic, lots of modules and extensions created on the daily basis. As a Passionate Developer, I also wa...

Tagi: node.js
Źródło: www.mfranc.com
Dziel się z innymi:
[EN] Node.js - simple web server with 'express' | Passionate Programmer

Inne 4179 dni, 11 godzin, 34 minuty temu michalfranc 82 źrodło rozwiń

Long long time ago in one of the posts … I briefly described CouchDB installation process on the local machine.IrisCouch If you don’t want to configure local database you can use IrisCouch hosting. You can get free database for basic tests. I am using this database hosting for one of the projects hosted in heroku. It is free for really basic usage. Now we can play with our new toy. Let’s start with some general concepts.Where are my tables ? Quick answer there are no tables. Data is stored in a form...

Tagi: CouchDB, NoSQL
Źródło: www.mfranc.com
Dziel się z innymi:
[EN] CouchDB - First Steps | Passionate Programmer

Bazy danych i XML 4214 dni, 4 godziny, 34 minuty temu michalfranc 112 źrodło rozwiń

This post will be a little note with steps needed to setup a working CouchDb instance on windows machine.NoSql RDBSM rules the world, it is still a “standard” in the industry. My first Database was used inside a simple rss client written in C. This was the weird world of C programming with weak documentation and Segmentation fault errors everywhere. Now, I am mostly using MSSQL with ORM support ( NHibernate ), but there is another world of databases on the horizon, NoSql movement. There have been a lot...

Tagi: CouchDB, NoSQL
Źródło: www.mfranc.com
Dziel się z innymi:
[EN] CouchDb - getting started on Windows | Passionate Programmer

Bazy danych i XML 4243 dni, 3 godziny, 59 minut temu michalfranc 87 źrodło rozwiń

I am a software developer. From my experience I can say, that this is one of the best jobs someone can do. It is creative, demanding and extremely rewarding plus it has an awesome community with friendly and intelligent people. When i was entering the work market in my first company i had various assumptins ans misconceptions that i learned in university. Boy i was soo wrong about a lot of things. In this post i want to dosciss some of them.You are passionate, hard working and very engaded, sorry that’s ...

Tagi: kariera
Źródło: www.mfranc.com
Dziel się z innymi:
[EN]Hard truths about software developer career | Passionate Programmer

Inne 4271 dni, 3 godziny, 55 minut temu michalfranc 139 źrodło rozwiń

In this post, I want to share some details about my Visual Studio 2012 configuration. You can find here a list of plugins, some options and various customization that I am using.Some thoughts I am not using any GIT integration tool. I don’t need it. Console and bash is all, I need. I am mostly using 2 split window setup. All the tool windows are pinned out if i need them i can use CTRL+TAB. I am trying to not use mouse at all.ExtensionsR# Tool that you can’t live without. Finally i got my personal ...

Źródło: www.mfranc.com
Dziel się z innymi:
[EN]Visual Studio - Extensions and Configuration | Passionate Programmer

Narzędzia 4278 dni, 19 godzin, 15 minut temu michalfranc 88 źrodło rozwiń

There is one nice ‘feature’ of git that i found recently : creating git custom commands. It is useful, when I want to automate some repetetive tasks.

Tagi: git
Źródło: www.mfranc.com
Dziel się z innymi:
[EN] Extending git with custom command | Passionate Programmer

Narzędzia 4314 dni, 4 godziny, 38 minut temu michalfranc 26 źrodło rozwiń

In previous post, I defined a good unit test as one that:tests single unit of workcontains only one assertis self contained Presented sample of code with one unit test, unfortunately had two asserts. Clear violation of the second rule. One of the fellow bloggers MJ pointed out this mistake. It is time to “fix” it and talk about “Only one assert per test” rule.Why only One Assert There are couple of problems with multiple asserts.Unit Test Misinformation Frameworks like NUnit do notify about failing un...

Tagi: unit-tests
Źródło: www.mfranc.com
Dziel się z innymi:
[EN]Good unit test - One Assert | Passionate Programmer

Sztuka programowania 4321 dni, 1 godzinę, 42 minuty temu michalfranc 37 źrodło rozwiń

This post is based on my answer on the Stack Overflow – “How to unit test this function?” The original question is about writing unit test for a code that uses Console methods inside its body. This problem is more general and in this post, I want to show one of the ways to unit test code with static method.Example of code with static methods This example is from the Stack Overflow quest...

Tagi: unit testing
Źródło: www.mfranc.com
Dziel się z innymi:
[EN] Unit Test code with static method Console.Write | Passionate Programmer

Sztuka programowania 4327 dni, 9 godzin, 7 minut temu michalfranc 67 źrodło rozwiń

1 2