Explore >> Select a destination


You are here

jamesward.com
| | gist.github.com
1.9 parsecs away

Travel
| | GitHub Gist: instantly share code, notes, and snippets.
| | connorberry.com
2.5 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);...
| | golb.hplar.ch
1.2 parsecs away

Travel
| | [AI summary] This article explains how to use regular expressions for string processing and introduces the VerbalExpressions library to make regex patterns more human-readable in Java and JavaScript.
| | enterprisecraftsmanship.com
20.4 parsecs away

Travel
| Hard coding is often considered an anti-pattern. Having values that can change over time hard-coded in the source code requires recompilation every time these values actually change. While this statement is true, I think that hard coding should be the default choice when developing an application. Hard coding vs configuration file When you work on a project or feature, there always are some magic numbers or strings that potentially can change in future.