You can edit almost every page by Creating an account. Otherwise, see the FAQ.

Just Another Hack

From EverybodyWiki Bios & Wiki



JAH is a common abbreviation of "Just Another Hack".

"JAH" is commonly used among computer programmers to mark a part of the code as non-standard, illegal or as unexpected, in order to express their frustration and helplessness with a sollution. JAH is not recommended programming practice, although sometimes there is no other way - by editing a legacy code, usually by lack of knowledge, no budget for refactoring, bad defined requirements, pressure to perform code changes couple of hours before or sometimes even after a release, etc ...

public class StringDotSuperParser
{
	public string _container;
	
	public StringDotSuperParser(string container)
	{
		_container = container;
	}

	public override string ToString()
	{
		// JAH: foo string must not be separated by dots.
		if (_container.Equals("foo"))
			return _container;

		// Standard behaviour.
		return string.Join(".", _container.Split());
	}
}

References[edit]


This article "Just Another Hack" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Just Another Hack. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.