Comment

Comment by shedside

I'm curious about something. Why this:

  if shipping-method <> 'FX'
      move normal-ship-date-yyyymmdd to expected-shipping-date
  else
      move nextday-ship-date-yyyymmdd to expected-shipping-date.
And not the following?

  if shipping-method = 'FX'
      move nextday-ship-date-yyyymmdd to expected-shipping-date
  else
      move normal-ship-date-yyyymmdd to expected-shipping-date.
The latter seems clearer to me, and the line below (regarding the cust-type variable) suggests the syntax would be okay. It would also have the advantage of avoiding the column-length issue described in the post. What am I missing here?
parent shedside 9 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton