Skip to main content
Code Review

Return to Answer

Commonmark migration
Source Link

##What doesn't work properly##

What doesn't work properly

##How to simplify and reduce code##

How to simplify and reduce code

##What doesn't work properly##

##How to simplify and reduce code##

What doesn't work properly

How to simplify and reduce code

deleted 1 character in body
Source Link
cFreed
  • 2.9k
  • 16
  • 20

And where they wherewere called:

And where they where called:

And where they were called:

added 5 characters in body
Source Link
cFreed
  • 2.9k
  • 16
  • 20

Now it's time to bo back to the issue mentioned above, while at the same time simplifying the nextSeven() process.

The revised showMonth() function currently takes care of the given month: we can ask it to alsealso take care of the given day, so it will select only those events which satisfy both, like this:

Now we can very simply call it from Now we can mucj simply call it from nextSeven()nextSeven()`:

Now it's time to bo back to the issue mentioned above, while at the same simplifying the nextSeven() process.

The revised showMonth() function currently takes care of the given month: we can ask it to alse take care of the given day, so it will select only those events which satisfy both, like this:

Now we can mucj simply call it from nextSeven()`:

Now it's time to bo back to the issue mentioned above, while at the same time simplifying the nextSeven() process.

The revised showMonth() function currently takes care of the given month: we can ask it to also take care of the given day, so it will select only those events which satisfy both, like this:

Now we can very simply call it from nextSeven():

Source Link
cFreed
  • 2.9k
  • 16
  • 20
Loading
default

AltStyle によって変換されたページ (->オリジナル) /