Archive for the ‘Programmieren’ Category

Test Cases Improve Software Quality

Wednesday, May 12th, 2010
int add( int a, int b )
{
  // fix for testcases (bug#123456)
  if ( a == 3  &&  b == 4 ) return 7;
  if ( a == 2  &&  b == 3 ) return 5;

  return a * b;
}

Via: http://jdsn.de/

Post to Twitter

Software Development

Thursday, April 15th, 2010

The thing about software development
is that it is hardly about software,
or development,
at all.

Oh, I can teach you how
to file and sand and refactor your code,
turning an orange crate push car
into the ultimate software machine,

Or how to build a web of tests
that will catch you when you fall
– and you will fall –
and set you gently back on your feet.

But no. It’s about people,
the people who won’t hear what I say,
the people who just won’t make sense,
the people who make mistakes,

And the heartless ones who show me mine.

Author: Ron Jeffries

Source: http://xprogramming.com/articles/software-development/

Post to Twitter

Welche .NET Version steckt in welchem Windows?

Thursday, February 11th, 2010

version dotNET windows

Noch ausführlicher gibts das ganze auf http://blogs.msdn.com/astebner

Via: ASoft via IM
Source: http://blogs.msdn.com/pmarcu

Post to Twitter

Oracle: Anzahl Datensätze bei SELECT beschränken

Wednesday, January 6th, 2010

Wenn man bei einer Query auf einer Oracle-DB die Anzahl der zurückgelieferten Datensätze auf n beschränken möchte, geht dass mittels where rownum <= n.

Konkretes Bespiel:
select * from user_profile where rownum <= 20;

Analog gibts das auch in MySQL
select * from user_profile limit 20;

und in Microsoft SQL
select top 20 * from user_profile;

Post to Twitter

Programmiersprachen – Eine Frage des Standpunkts?

Thursday, December 24th, 2009

Post to Twitter

RTFM

Monday, November 23rd, 2009
If you want them to RTFM, write a better FM!

If you want them to RTFM, write a better FM!

Via: http://skade.soup.io

Post to Twitter

Ruby in a Nutshell

Sunday, November 22nd, 2009

This may not be very scientific, but perhaps this is why Ruby is such a wonderful language.
For those of you wondering about Python, the bookstore didn’t have it on the shelf. Based on page counts it would fall between Perl and PHP.

Via: http://soup.fin.io
Source: http://pjkh.com

Post to Twitter

.NET Version Detector 2010 Beta-1

Friday, November 13th, 2009

Die Beta-1 der 2010er Version von Asofts .NET Version Detector ist erschienen. Das wesentliche neue Feature ist, dass der Detector jetzt auch .NET 4.0 erkennt, außerdem gibt es ein paar Änderungen in der GUI und es werden die neuen .NET Logos verwendet.

ASoft .NET Version Detector 2010 Beta-1

Download: http://www.asoft-ware.com/download.php?id=11

Via: http://asoftblog.wordpress.com

Post to Twitter

Programmiererwitze

Wednesday, October 21st, 2009

["hip","hip"] //hip hip array

{cake => “chocolate”} //hash cake

Via: http://stackoverflow.com/questions/234075/what-is-your-best-programmer-joke

Post to Twitter

Software Development Cycles

Friday, October 2nd, 2009
  1. Programmer produces code he believes is bug-free.
  2. Product is tested. 20 bugs are found.
  3. Programmer fixes 10 of the bugs and explains to the testing department that the other 10 aren’t really bugs.
  4. Testing department finds that five of the fixes didn’t work and discovers 15 new bugs.
  5. Repeat three times steps 3 and 4.
  6. Due to marketing pressure and an extremely premature product announcement based on overly-optimistic programming schedule, the product is released.
  7. Users find 137 new bugs.
  8. Original programmer, having cashed his royalty check, is nowhere to be found.
  9. Newly-assembled programming team fixes almost all of the 137 bugs, but introduce 456 new ones.
  10. Original programmer sends underpaid testing department a postcard from Fiji. Entire testing department quits.
  11. Company is bought in a hostile takeover by competitor using profits from their latest release, which had 783 bugs.
  12. New CEO is brought in by board of directors. He hires a programmer to redo program from scratch.
  13. Programmer produces code he believes is bug-free…

Via: http://stackoverflow.com/

Post to Twitter

Get Adobe Flash playerPlugin by wpburn.com wordpress themes

Twitter links powered by Tweet This v1.6.1, a WordPress plugin for Twitter.