Explore >> Select a destination


You are here

viniciusluisr.wordpress.com
| | connorberry.com
12.8 parsecs away

Travel
| | Language Comparison Perl: while (<>) { print "$. : $_" } Perl: while (<>) { print "$. : $_" } CSharp: using System; using System.IO; class App { public static void Main(string[] args) { int line_number = 1; foreach (string arg in args) { foreach (string line in File.ReadLines(arg)) { Console.WriteLine(line_number + ":" + line);...
| | componenthouse.com
11.5 parsecs away

Travel
| | I wanted tocompare how Java, C++ and C perform whenreading a text file line by line and printing the output. I've implemented some possibilities and, at the end, we can compare the speed of each execution. Java 7 version (BufferedReader) import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; public class Main7 { private static final...
| | codingcraftsman.wordpress.com
13.8 parsecs away

Travel
| | One of my more popular posts on this site is on how to use Mockito to mock logging. Testing that the logged output is as expected seems to be on the cusp of a good/bad idea. Is the logged output the intended behaviour of the application? or is it an implementation detail that you're just...
| | michaelscodingspot.com
86.5 parsecs away

Travel
| Michael Shpilt's Blog on .NET software development, C#, performance, debugging, and programming productivity