cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Coded humor

Lukas_Weigelt
Active Contributor
0 Likes
14,260

Found this sarcastic bit of coding while debuggin today, made my day:

CL_WDR_CLIENT_ABSTRACT_HTTP
HANDLE_REQUEST

cl_wdr_client_ssr=>todo_cleanup( 'Evil hack because of missing support in RR_APPLICATION' )."#EC NOTEXT

method TODO_CLEANUP.
  " REASON
  if 1 = 1.
  endif.
endmethod.

There must be more of this kind. Contribute! For the good of the world!

cheers, Lukas

View Entire Topic
Jelena_Perfiljeva
Active Contributor
0 Likes

Found by the extended code check today. I guess the author wanted to leave his ELSEIF options open here.


IF lv_wbsta EQ 'C'.

     <bunch of code>

ELSEIF lv_wbsta NE 'C' .

     <bunch of code>

ENDIF.

kakshat
Product and Topic Expert
Product and Topic Expert
0 Likes

Or maybe he doesn't trust machines so much.