Name your new restaurant!

Caporegime
Joined
29 Aug 2007
Posts
28,673
Location
Auckland
Hello beautifuls!

You're young* and on fire** and the new darling*** of the restaurant industry**** but something***** isn't clicking. What could it be?******

Hit me up with your best restaurant names and be in to win a big******* prize******** !

* debatable
** unlikely
*** hmm
**** yeppers
***** it is you
****** the point
******* not big
******** lol


Your restaurant name below, in caps (:mad:) is:

10 PRINT "PUT YOUR STUPID NAME HERE PLEASE AND THANK YOU";
20 INPUT A$
30 PRINT "Hello ";A$
 
BASIC be damned.


JavaScript:
const type = ['Delicious', 'Pretentious', 'Dirtbox', 'Slap up'];
const food = ['Chicken', 'Duck', 'BBQ', 'Pizza'];

const restaurantName = `${type[Math.floor(Math.random() * type.length)]} ${food[Math.floor(Math.random() * food.length)]}`;

console.log(restaurantName.toUpperCase());

edit - forgot the uppercase requirement, QA failed.

 
Last edited:
BASIC be damned.


JavaScript:
const type = ['Delicious', 'Pretentious', 'Dirtbox', 'Slap up'];
const food = ['Chicken', 'Duck', 'BBQ', 'Pizza'];

const restaurantName = `${type[Math.floor(Math.random() * type.length)]} ${food[Math.floor(Math.random() * food.length)]}`;

console.log(restaurantName);

make me a modern restaurant name generator in the most obscure programming language


Sure! Let's use **PicoLisp** for this task — it's an extremely minimalistic Lisp dialect, and its obscurity makes it fun for this kind of quirky project. Here's how you can create a restaurant name generator using PicoLisp:

### PicoLisp Restaurant Name Generator

```lisp
# A list of food-related adjectives
(de *adjectives* '("Spicy" "Golden" "Velvety" "Smoky" "Crispy" "Sizzling" "Savory" "Lush"))

# A list of food-related nouns
(de *nouns* '("Bistro" "Grill" "Tavern" "Cafe" "Kitchen" "Bar" "Palace" "Room"))

# Randomly select an item from a list
(de randItem (lst)
(car (rand (length lst) lst))
)

# Generate a random restaurant name by combining an adjective and noun
(de generateName ()
(concat (randItem *adjectives*) " " (randItem *nouns*))
)

# Print a random restaurant name
(print (generateName))
```

### Explanation:
1. **Adjective & Noun Lists**: We define two lists, `*adjectives*` and `*nouns*`, which contain food-related adjectives and restaurant-style nouns.
2. **randItem Function**: This function picks a random element from a list.
3. **generateName Function**: Combines a random adjective with a random noun to generate a restaurant name.
4. **print**: Finally, we output the generated name.

### How to Run the Code
1. Install PicoLisp on your system (it’s a very small and portable language).
2. Paste the code into the PicoLisp REPL.
3. Each time you call `generateName()`, you'll get a new, modern restaurant name!

### Sample Output
- **Golden Kitchen**
- **Savory Tavern**
- **Crispy Room**
- **Smoky Bistro**

This is just a basic example, but you could add more sophisticated features, like generating themed names based on different cuisines, adding randomness to letter combinations, or even blending the two lists more creatively.
 
Last edited:
make me a modern restaurant name generator in the most obscure programming language


Sure! Let's use **PicoLisp** for this task

LOL, that's terrible yet amazing. I'm going to start using PicoLisp at work.

Also (there's enough) brackets to please Angus [lots].
 
Last edited:
Back
Top Bottom