Terse Code

tosh1 pts0 comments

Terse Code | iabdb

According to this nature article additive solutions are preferred to subtractive solutions. This heuristic may encode a form of Chesterton’s fence, but it blinds people to finding solutions that are better by taking for granted what is. The article says people don’t dismiss the subtractive solutions, rather they never consider them in the first place. The idea behind terse code, may simply reverse this heuristic thus opening the mind to novel connections that would be hidden by a strictly additive approach. This might explain why constraints are so often a boon to creativity. They take the place of the mind’s general purpose heuristics in narrowing the search space, but leave open areas pertinent to the problem. So for example, trying to fit a piece of code into n chars, forces the user to rethink complicated methodologies and solve just the core problem. Other constraints that work similarly are constraints on performance, usually solutions that achieve 80% or more of the result can be achieved by simplifying the objective. Such bouts of creativity only come from constraining the resources that can be marshaled at a given task. A great example of this is the SVM technique used early to recognize hand written addresses by the US post office. The computing power and training sets available were a small fraction of what we have today. Neural networks are a counter example, they seem to work better as they get larger. Perhaps that explains our own bias, or we might discover that some constraint on the networks yields vast improvements, only time will tell. My sympathies lie with occam.

Share this:

Share on X (Opens in new window)

Share on Facebook (Opens in new window)<br>Facebook

Like Loading...

Related

Leave a comment Cancel reply

Search for:

Recent Posts

Maybe Don’t Toast Your Spices

An argument for the direct approach

Vector thinking for Max Profit

Idempotent + Moving Window is simply a reduction

Terse Code

Recent Comments

pt.instafollowfast.c… on Backtracking In Q/ word l…Alex on The Is-Ought DistinctionFred Mleczko on How the Mighty have Fallen, or…pindash91 on A Better Way To Load Data into…Andrew Stanton (@and… on A Better Way To Load Data into…<br>Archives

January 2024

August 2023

January 2022

May 2021

April 2021

January 2021

June 2020

January 2020

June 2019

December 2018

November 2018

October 2018

July 2018

June 2018

April 2018

March 2018

October 2017

September 2017

August 2017

May 2017

March 2017

December 2016

November 2016

September 2016

July 2016

May 2016

September 2015

Categories

KDB

Messaging Queues

Philosophical

Puzzles

Uncategorized

Meta

Create account<br>Log in

Entries feed

Comments feed

WordPress.com

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.

To find out more, including how to control cookies, see here:

Cookie Policy

Comment

Reblog

Subscribe

Subscribed

iabdb

Sign me up

Already have a WordPress.com account? Log in now.

iabdb

Subscribe

Subscribed

Sign up

Log in

Copy shortlink

Report this content

View post in Reader

Manage subscriptions

Collapse this bar

%d

code solutions terse better january iabdb

Related Articles