• (nodebb)

    Ah, the classic "for-case" antipattern

    But it isn't for-case. It's a state machine (nMk is the state control variable) driven by a for() through the array (?) resVmrk.

    "True" for-case requires using the for-variable as the switching condition.

  • Hanzito (unregistered)

    And that, boys and girls, is how you get significant results for your paper. Tenure, here I come.

  • Hmmmm (unregistered)

    I feel like I lost some of my soul after staring at this code.

  • (nodebb)

    Yes, ugly code. But as a scientist and researcher, I strongly disagree that we "love " it. It's used widely for two reasons: 1) "Every other company uses it so we have to use it too" and occasionally 2) because MathWorks sells pretty high-quality libraries for specific industries. I'll stick with R , at least until I learn Julia better.

  • BigO (unregistered)

    If I didn’t know better I’d say Jude was trying to avoid the licensing requirements

  • (nodebb)

    generate a set of participant-specific images, store them in a database, and reference them later

    In... Matlab? Don't they know about Excel?

  • Ryan (unregistered)

    Matlab is great at what it's designed for. But like many things, it's flexible enough that it finds itself well and truly in "I know this tool, and it technically can do this, therefore this is the right tool for me to use" territory.

  • 516052 (unregistered) in reply to Ryan

    You have not lived until you've seen someone do that with assembly.

    I have lived.

    And I regret nothing.

  • (nodebb) in reply to Steve_The_Cynic

    My thoughts exactly, but you said it frist.

Leave a comment on “Back to the Lab”

Log In or post as a guest

Replying to comment #703562:

« Return to Article