pull down to refresh

21 sats \ 5 replies \ @rblb 5 Jan
my way of saying that i don't use functional programming 🤣
reply
reply
21 sats \ 3 replies \ @rblb 5 Jan
pls delete
reply
never lol
reply
(defun print-palindrome-function () (println "public boolean isPalindrome(int x) {") (println " String s = \"\" + x;") (println " int l = s.length();") (println " for (int i = 0; i < l; i++) {") (println " int j = l - 1 - i;") (println " if (s.charAt(i) != s.charAt(j)) return false;") (println " }") (println " return true;") (println "}")) (print-palindrome-function)
reply
0 sats \ 0 replies \ @rblb 6 Jan
world peace is achievable
reply