Like SystemiConnectFri 15 Oct 2021, 04:50
Auto Save MessagesLGforumFri 26 Feb 2021, 13:31
New tutorial questionTheCrowMon 15 Feb 2021, 08:12
Support iOS Emojis (and other platforms)LGforumSun 14 Feb 2021, 01:25
LGforum (2806)
'Coded by....' Joke Vote_lcap'Coded by....' Joke Voting_bar'Coded by....' Joke Vote_rcap 
Mr.Easybb (1587)
'Coded by....' Joke Vote_lcap'Coded by....' Joke Voting_bar'Coded by....' Joke Vote_rcap 
Bloodbath (745)
'Coded by....' Joke Vote_lcap'Coded by....' Joke Voting_bar'Coded by....' Joke Vote_rcap 
Rukiafan (533)
'Coded by....' Joke Vote_lcap'Coded by....' Joke Voting_bar'Coded by....' Joke Vote_rcap 
Dom (513)
'Coded by....' Joke Vote_lcap'Coded by....' Joke Voting_bar'Coded by....' Joke Vote_rcap 
puppycheese (446)
'Coded by....' Joke Vote_lcap'Coded by....' Joke Voting_bar'Coded by....' Joke Vote_rcap 
pedro (330)
'Coded by....' Joke Vote_lcap'Coded by....' Joke Voting_bar'Coded by....' Joke Vote_rcap 
Neymar (301)
'Coded by....' Joke Vote_lcap'Coded by....' Joke Voting_bar'Coded by....' Joke Vote_rcap 
Hitsu (281)
'Coded by....' Joke Vote_lcap'Coded by....' Joke Voting_bar'Coded by....' Joke Vote_rcap 
Flora (275)
'Coded by....' Joke Vote_lcap'Coded by....' Joke Voting_bar'Coded by....' Joke Vote_rcap 


'Coded by....' Joke

HitsuHitsu
Status : Finished on working fmAPI.

Posts : 281
Join date : 2013-09-09
Age : 25
Location : Indonesia
Sat 30 Apr 2016, 23:37
Hey there, it's Hitsu!

I'm creating this topic here because I'm inspired by the 'coded by...' joke at 9Gag that uses the C++ language, and I'd lol-ed when I see it. And based of the joke, I'd make the JavaScript version!

Note: this is just a joke, don't take it too seriously.


Coded by: lesson posts

Code:
var thisisvariable = document.getElementById('test'); // get an element with an id 'test'
if(thisisvariable === true){ // check whether thisisvariable is true
 // do something
}

Coded by: newcomer at JavaScript

Code:
var newvar;
// what to do?

Coded by: coder

Code:
function _cookie(name, value, date) {
 return {
  _cook: function(name, value) {
    // . . .
  }
}

Coded by: large company

Code:
/* Useless Function v. 1.5
* Coded by Scott Clayton, Kevin Hawton, AnonymousxZ at JSCompany.
* Please visit jscompany.com/index.php for more info
*/

function uselessFunc(a){
 document.write(a);
}

Coded by: Cat
Code:
/* Meow meow meow
* meow: meow meow
* meow meow meow
* MEOW
*/

function meowisgreat() {
 var meow = 5; // meow meow meow
 var dog = 2; // MEOW!
 var meowunited; // meow~!
 var dogleague; // MEOW!!!! #-%+
 if (dog<meow) {
  meowunited = true; // meow!
 }else{
  dogleague = true // meow...
 }
}

And yup, it ends here. Hope you like it! And, the codes in this topic were not for use, it's just a sample code after all.
avatarGuest
Sat 30 Apr 2016, 23:55
LOL! I love it. It's funny how coders can cook something up like this in their own coding language! Laughing
LGforumLGforum
Status : Working to restore AWC!

Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Sun 01 May 2016, 01:00
So true, large companies do have some silly coding with useless functions. Love it.
gillgill
Status : Syntax highlighter's colors are nice.

Posts : 78
Join date : 2014-04-05
Sun 01 May 2016, 08:03
LOL I love it. xD

I'd make mine (inspired of the topic):

Coded by: math person
Code:
[panda=js]function Calculator(one,operator,two) {
 if(!operator) return false;
 if(operator=="+") {
  return one+two;
 }elseif(operator=="-") {
  return one-two;
 }elseif(operator=="*") {
  return one*two;
 }elseif(operator=="/") {
  return one/two;
 }else{
  console.log('Error');
 }
 // bug fix by: ANOTHERMATHFANS
 if(one>two && operator=="/") {
  return one/two;
 }else if(one<two && operator=="/") {
  return two/one;
 }else{
  console.log('Error');
 }
}

Coded by: bug fixer
Code:
[panda=js](function(){
// Bug fix by: Archer
// This would append insidetest into test, fixing the insidetest that're covering test.
// The reason why I'm covering this code inside iife was because the variable name; and I'm too lazy to rename it LOL
var code = document.getElementById('test');
var test = document.getElementById('insidetest');
test.appendChild(code);
}());

Coded by: web designer
Code:
[panda=js]var ele = document.getElementsByTagName('input')[0];
ele.style.display = none;

More will be updated soon, if I get more inspirations Razz
avatarGuest
Sun 01 May 2016, 08:24
LOL that webdesigner is doing nada! Easy does it Laughing
Sponsored content