- 1
- 2
- 3
- 4
- 5
-- add crafting exp
function addCExp(amount)
...
-- add cooking exp
function addCexp(amount)
Нашли или выдавили из себя код, который нельзя назвать нормальным, на который без улыбки не взглянешь? Не торопитесь его удалять или рефакторить, — запостите его на говнокод.ру, посмеёмся вместе!
+2
-- add crafting exp
function addCExp(amount)
...
-- add cooking exp
function addCexp(amount)
если петух скопипастил твой код, и сделал две такие функции, то сколько раз за час интенсивного кодинга ты их перепутаешь?
(язык изменён)
guest6 28.07.2023 10:56 # 0
guest6 28.07.2023 11:02 # 0
guest6 28.07.2023 13:23 # 0
ropuJIJIa 28.07.2023 13:47 # 0
Turning a word into a question by appending the syllable ‘P’; from the LISP convention of appending the letter ‘P’ to denote a predicate (a boolean-valued function). The question should expect a yes/no answer, though it needn't. (See T and NIL.)
At dinnertime:
Q: “Foodp?”
A: “Yeah, I'm pretty hungry.” or “T!”
At any time:
Q: “State-of-the-world-P?”
A: (Straight) “I'm about to go home.”
A: (Humorous) “Yes, the world has a state.”
On the phone to Florida:
Q: “State-p Florida?”
A: “Been reading JARGON.TXT again, eh?”
[Once, when we were at a Chinese restaurant, Bill Gosper wanted to know whether someone would like to share with him a two-person-sized bowl of soup. His inquiry was: “Split-p soup?” — GLS]
http://www.catb.org/jargon/html/p-convention.html
guest6 28.07.2023 14:03 # +1
3a_O6e_Horu 28.07.2023 17:32 # 0
зее альзо: pig latin
guest6 28.07.2023 14:42 # 0
guest6 28.07.2023 14:42 # 0
guest6 28.07.2023 14:53 # 0
ropuJIJIa 28.07.2023 15:01 # 0
ropuJIJIa 28.07.2023 15:01 # 0
Application was halted by an exception.
Debug-mode is off.
guest6 28.07.2023 15:03 # 0
guest6 28.07.2023 15:03 # 0
guest6 28.07.2023 15:03 # 0
guest6 28.07.2023 16:28 # 0
3a_O6e_Horu 28.07.2023 19:06 # 0
guest6 11.08.2024 17:30 # 0
3a_O6e_Horu 28.07.2023 17:37 # 0
guest6 11.08.2024 17:31 # 0
guest6 28.07.2023 19:08 # 0
guest6 28.07.2023 20:15 # 0
guest6 01.08.2023 00:31 # 0
KPblCA 11.08.2024 23:49 # 0
doomginho 13.08.2024 02:58 # 0
3oJIoTou_xyu 04.09.2023 13:03 # 0
guest6 17.09.2023 00:32 # 0
guest6 17.09.2023 00:34 # 0
guest6 11.08.2024 17:47 # 0