• Home
  • About
    • About The Coder
    • Language List
  • The Rules
    • Rule #1: Clarity Trumps Everything
    • Rule #2: Source Code is for Humans
    • Rule #3: Don’t Ignore Warnings
    • Rule #4: Comment As You Go!
    • Rule #5: Always Use Parentheses
  • CS-101
  • Python-101
  • Guestbook

The Hard-Core Coder

~ I can't stop writing code!

The Hard-Core Coder

Monthly Archives: March 2014

Status

Temporary Shutdown

11 Tuesday Mar 2014

Posted by Wyrd Smythe in Blog

≈ Leave a comment

Tags

family, family matter

Due to a pressing family matter, posting is suspended until further notice.

The Universal Answer

10 Monday Mar 2014

Posted by Wyrd Smythe in Opinion

≈ 1 Comment

Tags

computer programmer, computer programmers, computer programming, computer science, it depends, software design, The Universal Answer, Universal Answer

At some point it strikes you. For some it  happens early in Computer Science class after hearing a professor say it for the umpteenth time. For others it happens when hearing it come from their own mouths for the umpteenth time. The Universal Answer to any (and all) computer (science) question(s).

“It depends.”

Continue reading →

Real Programmers

07 Friday Mar 2014

Posted by Wyrd Smythe in Fun

≈ Leave a comment

Tags

cartoons, computer programmers, Friday, humor, real programmers

A little fun for a Friday; here’s one of my favorite programmer cartoons!

RealProgrammers

Continue reading →

Too much specialization!

06 Thursday Mar 2014

Posted by Wyrd Smythe in Python, Stories

≈ Leave a comment

Tags

BOOL, code isolation, computer programming, encapsulation, software design, sub-class

To make this blog (I hope) useful, I have tips and advice and bits of advice. But the initial motivation was wanting to write about programming or software in general — topics too technical for my regular blog. In particular, I wanted a place to document past projects, ideas and personal (but sharable) thoughts about coding. I wanted a place to tell stories.

Today I have a story to tell about a programming project I’m working on.

Continue reading →

Always Use Less-Than

05 Wednesday Mar 2014

Posted by Wyrd Smythe in CS101, Opinion

≈ 4 Comments

Tags

code clarity, computer programming, greater-than, less-than, readable code

Here’s a simple tip! I can’t begin to count how many potential code bugs this has eliminated. It takes some getting used to but once you make it automatic it’s a real help in keeping code and your thinking correct.

The tip is this: when you write relational expressions, always use less-than, never use greater-than. (Less-than-or-equal is okay, too.)

Continue reading →

Naming Things

04 Tuesday Mar 2014

Posted by Wyrd Smythe in CS101

≈ 1 Comment

Tags

computer programmers, computer programming, function names, readable code, variable names

One of the things that programmers do a bazillion times during their career is come up with a name for something. Every variable, every sub-routine, every class, every method, every instance, even the program itself and all its supporting files: they all need names. In some cases the naming is obvious and easy, but in others it’s complicated. You can end up creating a big ball of mud if go about it casually.

So one thing you want to start doing is being intentional about naming things.

Continue reading →

Rule #2: Source Code is for Humans

03 Monday Mar 2014

Posted by Wyrd Smythe in CS101

≈ 1 Comment

Tags

code clarity, computer programming, readable code, variable names

When you write code, always remember Rule #2: Source code is for humans. This rule ties to Rule #1 about clarity. You’re writing for humans, so write clearly! The compiler can understand any syntactically correct ball of mud you make, but humans need all the help you can give them. Write for your human readers, not the compiler.

Continue reading →

Software Engineer

01 Saturday Mar 2014

Posted by Wyrd Smythe in Opinion

≈ 4 Comments

Tags

bit wrangler, byte wrangler, computer programmers, engineers, magnetic domains, silicon life forms, software design, software designer, software engineer, software maker

I don’t like the term Software Engineer. Real engineers have licenses and certifications and prescribed educations. No such exists (currently) for software makers. It is still a new craft in our society (it goes back only to the 1950s or so), and we haven’t caught up to how complex and demanding it really is. Anyone can use the term Software Engineer, so it doesn’t have the meaning it could.

Continue reading →

Follow The Hard-Core Coder on WordPress.com

The Posts

  • Python String Translate
  • The Last Bug
  • Regular Expressions
  • Bits Bytes Chips Clocks
  • Loving the Lambda
  • Failure Tales
  • Naming Things (redux)
  • Calculating Entropy (in Python)
  • Building a Turing Machine
  • Python Tokenize

The Topics

  • Blog (4)
  • CS101 (35)
  • Fun (27)
  • Interesting (1)
  • Opinion (12)
  • Python (24)
  • Stories (15)

The Month

March 2014
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
31  
« Feb   Apr »

The Past

Posts

RSS Feed

Comments

RSS Feed

Enter your email address to follow The Hard-Core Coder and get email when there is a new post.

The Main Blog

Visit Logos con carne

Lots of wyrds... with meat!

The Author

Wyrd Smythe

Wyrd Smythe

The canonical fool on the hill watching the sunset and the rotation of the planet and thinking what he imagines are large thoughts.

View Full Profile →

Create a website or blog at WordPress.com

  • Follow Following
    • The Hard-Core Coder
    • Already have a WordPress.com account? Log in now.
    • The Hard-Core Coder
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...
 

You must be logged in to post a comment.