Appropriate codes | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Appropriate codes

I made a code called "Block Profanity" and I just about updated it to cover really every type of input that contains a bad word. The inputs the user enters gets tested against a list of bad words but all of them have been thoroughly obfuscated. Yet I get this feeling that not many people approves of this type of code. I would just like to get some input on this matter since none of the people that did like my code, gave any comments. https://code.sololearn.com/chIniR1Eu4kG/?ref=app

11th May 2017, 9:33 PM
Ghauth Christians
Ghauth Christians - avatar
5 Answers
+ 12
great work 👍
11th May 2017, 9:57 PM
NimWing Yuan
NimWing Yuan - avatar
+ 10
An idea to use for Sololearn to filter bad inputs ?
11th May 2017, 9:59 PM
NimWing Yuan
NimWing Yuan - avatar
+ 3
Thank you @NimWing Yuan ☺ Do you think it's appropriate though?
11th May 2017, 9:59 PM
Ghauth Christians
Ghauth Christians - avatar
+ 3
Lol I was actually thinking along the lines of Sololearners using it in their Java programs to filter out bad words, though that can also work. ☺
11th May 2017, 10:02 PM
Ghauth Christians
Ghauth Christians - avatar
+ 3
Thank you for your feedback @NimWing Yuan, I really appreciate it. I feed on feedback lol 😅 You can't improve your code great without feedback ☺
11th May 2017, 10:03 PM
Ghauth Christians
Ghauth Christians - avatar