blaze / datashape

Language defining a data description protocol
BSD 2-Clause "Simplified" License
183 stars 65 forks source link

Discovery on nested dtype numpy arrays and cleanup #124

Closed cpcloud closed 9 years ago

cpcloud commented 9 years ago
cpcloud commented 9 years ago

@mrocklin any comments here?

most important commits are:

cpcloud commented 9 years ago

i tried to be a bit more surgical with my commits because of the "cleanup" commits

mrocklin commented 9 years ago

Seems fine to me. My brain is mostly jello right now though.

Regarding commit practices (totally unrelated to this PR): Looking at the commits you mentioned made me wonder if its better to keep tests and code in the same commit so that future readers don't have to cross-reference.

I've recently become very lazy in my git practices though, so I'm not really in a position to make judgments.

cpcloud commented 9 years ago

if its better to keep tests and code in the same commit so that future readers don't have to cross-reference.

ah, yes. the reason i don't do it that way, is so that i can

  1. commit the test
  2. run it to make sure it fails
  3. write the code that fixes the bug
  4. test now passes

otherwise i have to stash and i've lost work that way in the past

mrocklin commented 9 years ago

Hrm, I would do the same thing, but replacing the word commit with write in the first line, I would then commit at the end. I probably don't have the same setup as you do though or something.

cpcloud commented 9 years ago

sometimes i write the code first and i don't want to lose what i've done, left that detail out :)

mrocklin commented 9 years ago

Alrighty

On Thu, Jan 8, 2015 at 1:42 PM, Phillip Cloud notifications@github.com wrote:

sometimes i write the code first, left that detail out :)

— Reply to this email directly or view it on GitHub https://github.com/ContinuumIO/datashape/pull/124#issuecomment-69254606.