Nested Break

  • ZZartin (3/17/2015)


    So was this a question on why single character variable names @i and @j-2 are terrible choices?

    No, but it is bad practice not to alias the result columns 🙂

  • This would be an excellent interview question for those situations where someone has a personal grudge against the candidate. :crazy:

    "Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho

  • ZZartin (3/17/2015)


    So was this a question on why single character variable names @i and @j-2 are terrible choices?

    Ok lets see your choice for variable names!

  • patrickmcginnis59 10839 (3/17/2015)


    ZZartin (3/17/2015)


    So was this a question on why single character variable names @i and @j-2 are terrible choices?

    Ok lets see your choice for variable names!

    given the execution of the script as-is, it wasn't the names of the variables, it was the lack of aliases. 😉

  • mwpowellhtx (3/17/2015)


    patrickmcginnis59 10839 (3/17/2015)


    ZZartin (3/17/2015)


    So was this a question on why single character variable names @i and @j-2 are terrible choices?

    Ok lets see your choice for variable names!

    given the execution of the script as-is, it wasn't the names of the variables, it was the lack of aliases. 😉

    Ok lets see the aliases too! :hehe::hehe::hehe:

  • Koen Verbeeck (3/17/2015)


    Easy one and a bit of a déjà vu as well.

    Thanks Steve for the question.

    Yes easy, and yes, very much déjà vu - it's pretty much the same question as 13 days ago, just minimal difference.

    Tom

  • nice question. Thanks for sharing

Viewing 7 posts - 16 through 21 (of 21 total)

You must be logged in to reply to this topic. Login to reply