User:Guest-1052/coding: Difference between revisions
Jump to navigation
Jump to search
Guest-1052 (talk | contribs) (Created page with "Oh, hello there.<br> I made this page just to share my code. And document me coding in programming languages like assembly.<br> PS: Im horrible at Assembly, but i will try and learn more of it, because its really fun.<br> I also might document some newer coding news like how WebGPU is better than WebGL and how fast it is.<br> And how ChatGPT isnt the best programmer. == Code == Hmmm... <syntaxhighlight lang="java"> class Main{ public static void main(String args[]){...") |
Guest-1052 (talk | contribs) (add Milk.JS release) |
||
Line 12: | Line 12: | ||
} | } | ||
} | } | ||
</syntaxhighlight> | |||
It has been released... MILK.JS. DO BUYMILK()! | |||
<syntaxhighlight lang="js"> | |||
buymilk= function() | |||
{ | |||
milk={ | |||
drink:_=>{console.log("slurp slurp");if(milk.spoiled==true){console.log("dies")} delete milk}, | |||
throwaway: _=>{delete milk}, | |||
spoil:_=>{milk.spoiled=true}, | |||
check:_=>{if(milk.spoiled==true){console.log("Your milk isnt spoiled")} else{console.log("Your milk is spoiled :(")}}, | |||
spoiled: false | |||
}; | |||
setTimeout(_=>{milk.spoiled=true},50500) } | |||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 10:51, 10 October 2023
Oh, hello there.
I made this page just to share my code. And document me coding in programming languages like assembly.
PS: Im horrible at Assembly, but i will try and learn more of it, because its really fun.
I also might document some newer coding news like how WebGPU is better than WebGL and how fast it is.
And how ChatGPT isnt the best programmer.
Code
Hmmm...
class Main{
public static void main(String args[]){
System.out.println("Hello World!");
}
}
It has been released... MILK.JS. DO BUYMILK()!
buymilk= function()
{
milk={
drink:_=>{console.log("slurp slurp");if(milk.spoiled==true){console.log("dies")} delete milk},
throwaway: _=>{delete milk},
spoil:_=>{milk.spoiled=true},
check:_=>{if(milk.spoiled==true){console.log("Your milk isnt spoiled")} else{console.log("Your milk is spoiled :(")}},
spoiled: false
};
setTimeout(_=>{milk.spoiled=true},50500) }