Subscribe to ...considered harmful        RSS Feed
- - - - -

The Programmer's Bookshelf

Icon Leave Comment
Following is a list of some titles that I've found beautiful or useful or both. I'm not gong to say much about them here, but they're all likely to give you interesting things to think about.

  • Introduction to Graph Theory (Richard Trudeau)
  • The Art of Computer Programming (Donald E. Knuth)
  • ...
- - - - -

"Write a code" considered painful

Icon 2 Comments
Pet peeve time: "code" in the software sense is a mass noun, not a collective noun. It has no plural. You don't eat "an oatmeal" or several "oatmeals", you eat oatmeal. In the same way, you don't write "a code" or "codes", you write code. If you mean a unified body of code that can be run...
- - - - -

dd considered terrifying

Icon Leave Comment
If you don't feel a little twinge of fear any time you start typing an invocation of dd, you should probably not have admin access to anything at all, including your refrigerator. dd is the primal Elder Sorcery of unix. It is absolutely terrifying in the raw power that it commands, and the utter disregard it shows for safety. Its very syntax...
* * * * *

Death Marches Considered Harmful

Icon Leave Comment
Some Lessons Learned...
- - - - -

My First Scala "Hulk Smash" moment

Icon 6 Comments
Scala has tuples. Great, I like tuples. Immutable sequences, quite handy.
Here's one:
scala> val triple = (1,2,3)triple: (Int, Int, Int) = (1,2,3)


Cool. So how do I get a value out of one of these guys? Like this:

scala> triple._1res6: Int = 1
...
- - - - -

How do you pronounce xBB?

Icon Leave Comment
I was recently reminded of this, which I originally posted in the xkcd fora some months ago, but I figured some DIC folks might enjoy it as well:

Binary, hex, and so forth are written (or coded, or otherwise nonverbal) systems for representing numeric values. Typically, if you need to express a numeric value verbally, you use decimal. If you need...
- - - - -

Murach's Java Programming, 4th Edition

Icon Leave Comment
A review of Murach's Java Programming (4th Ed.)
Joel Murach, www.murach.com
ISBN 978-1-890774-65-3


Murach's introduction to Java would make an reasonably good textbook in a lecture-driven course. The explanations of individual procedures are clear and simple. However, as a guide for self-study, it is lacking in important areas. There is...
* * * * *

"I'll get to it when..." considered harmful.

Icon 1 Comments
This was something I wrote in one of the many "which language should I learn" threads. (link)

I wrote it last night, and I still think it's good, so I'm going to put it here. This is in response to someone who said, paraphrasing, "I'll learn C++ now, and I'll come back to the C later on."

I recognize this,...
* * * - -

tl;dr Considered Inane

Icon 2 Comments
I don't know when the cool kids started saying it, but in the last two weks I've started seeing the abbreviation "tl;dr"
in various fora, standing for "too long; didn't read".
This sigil is then followed by some ill-considered comment on the subject at hand, generally addressed in the material the poster found too...
  • (3 Pages)
  • +
  • 1
  • 2
  • 3

January 2019

S M T W T F S
  12345
6789101112
1314151617 18 19
20212223242526
2728293031  

Tags

    Recent Entries

    Recent Comments

    Search My Blog

    0 user(s) viewing

    0 Guests
    0 member(s)
    0 anonymous member(s)

    Categories