ABAP Obfuscation Riddle
Tobias Trapp wants to start an ABAP obfuscation contest.
For warming up a small riddle:
INCLUDE
NOT. IF
NOT NOT NOT NOT NOT NOT NOT NOT NOT
NOT NOT !NOT OR NOT NOT NOT NOT NOT
NOT NOT NOT NOT NOT NOT NOT NOT NOT
NOT NOT NOT=>NOT( NOT ) OR NOT NOT NOT
NOT NOT NOT NOT NOT NOT !NOT … NOT.
This program is syntactically correct (as of 7.40, SP08).
Now tell me how that?
Correct answer, that was (too) fast 😉
Oh, man, I'm just several minutes late.
It's funny that omitting variable and parameters names I came to exactly the same text =)
!NOT was the most difficult part for me, another is done in about 10 minutes.
P.S. Horst, there were not less than 4 versions of the task 🙂
Yep, a pity that I had to place the ! in front of it. Otherwise ...
BTW, In my include I have also the REPORT statement.
No, it was the only part that made me wake up 🙂
Otherwise it would be easy.
I think, REPORT is not the main point, I had it in the main program.
Not sure if I'm more impressed by the problem or by the absurdly quick solution.
Hello Horst,
somehow when looking at your source code the BF programming language came into my mind 🙂
Brainfuck - Wikipedia, the free encyclopedia
Best regards,
Dominik
BF for kiddies, Malbolge rules! 😆
I really love it 🙂
Perhaps you should start the contest - and the winner gets a price - maybe a one of your book Official ABAP Programming Guidelines. von Horst Keller, Wolf Hagen Thümmel or a meeting with the ABAP language group to discuss new features of ABAP language.
Cheers,
Tobias
Let the battle begin 🙂
great idea 😆
Nice try ...