Asking AI what it thinks programming languages look like!
GrahamTheDev

GrahamTheDev @grahamthedev

About: Accessibility Specialist. I focus on ensuring content created, events held and company assets are as accessible as possible, for as many people as possible.

Location:
United Kingdown
Joined:
Jan 2, 2021

Asking AI what it thinks programming languages look like!

Publish Date: Feb 15 '23
57 24

Hey all, long time no see!

Just a random fun post for you today, am I back, am I not? Who knows, but I just wanted to share this!

Oh and if you are wondering who the hell I am and why you are getting notifications for my stuff...I was known as InHuOfficial...hope that helps! 🤣💗

AI and programming languages

So I have been playing with AI art generation lately, mainly through MidJourney AI.

One thing that is always interesting is when you try and generate an image on a specific thing and it is very evident the AI has no idea what that thing is.

So I wondered, does AI have any awareness of programming languages? Even more interestingly, when it doesn't have any knowledge of something, what does it generate instead?

So that is the idea, I generated images for 17 different programming related languages and now it is up to you to try and guess which image is what language!

Have fun!

The languages

I generated images for 17 different languages related to programming (notice how I nicely side-stepped calling HTML and CSS programming languages to avoid that debate 🤣).

These are:

  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • Python
  • Rust
  • Dart
  • Go
  • Swift
  • C#
  • C++
  • Kotlin
  • Ruby
  • Ruby on Rails
  • PHP
  • COBOL (haha)
  • Java

Now that you have that list, see how many of the following you can get, I have given each one a rating on MY perceived difficulty to get them.

The images

Let's start you off with an easy one!

1.

Difficulty: Easy
Several image generations that look like snakes.

2.

Difficulty: Easy
4 image generation, first image is a woman wearing a head scarf holding a cup with steam coming out, second is an ornate teacup, the third is a coffee mug with the side missing revealing huge splashes and waves of colour, the fourth is a young girls face with a gigantic tangle of cogs, gears and industrial  items coming out of the back of her head looking like a headress.

3.

Difficulty: Easy
Several image generations, three of red trains and one of a golden crest with a red gem in the middle.

4.

Difficulty: Easy - Medium
4 image generations, the first is a strange elephant head attached to a strange tree like structure, the second is a colourful splash, the third is a skull combined with some 3d geometric shapes, the fourth is a sea creature that looks like a cross between a whale and a manatee.

5.

Difficulty: Medium
4 image generations, all are people with strange geometric shapes overlayed on them and digital artefacts. Strong orange and dark grey colouring in 2 images.

6.

Difficulty: Hard
4 image generations, first is an old computer that is very dirty and dingey, second is a person on a computer with messy hair, third is a person staring at a strange malformed computer with wires attached to their head, fourth is a strange caricature style drawing of a computer an a tiny person.

7.

Difficulty: Very Easy
4 image generations, 2 of dart boards and 2 of people with geometric shapes on them. The first image says

8.

Difficulty: Easy
4 image generations, 2 rusty trucks, 1 rusty car and 1 rusty piece of machinery, all in a desert setting. One image has the letters

9.

Difficulty: Easy - Medium
4 image generations, 2 of which are strange metalic shapes with random letters on, containing mainly

10.

Difficulty: Hard
4 image generation, first image is a colourful person in armour with some writing

11.

Difficulty: Medium - hard
4 image generation, 2 images are dirty machines that look like old / steampunk computers, one has arms and an image on the screen that looks like

12.

Difficulty: Medium - hard
4 image generation, 3 images are of a bird with short wings, a mid length beak and some strong orange / red colouring around the face. The fourth is of a young woman with blonde hair, in the background is a bright orange pattern that resembles large leaves or large petals.

13.

Difficulty: Easy
4 image generation. first image is a low-poly render of a mountain range with the text

14.

Difficulty: Medium
4 image generation, first image is an old computer, almost steampunk styled, second is some strange shapes that look like the letters

15.

Difficulty: Easy
4 image generation, 3 of the images are 3D renders of strange looking furry creatures, wearing glasses or eye wear. They have strong skin / tan colour combined with a strong turquoise colour. The fourth looks like an alien delivery robot on wheels with strong cream and turquise colouring.

16.

Difficulty: Easy - Medium
4 image generation, all of a young female with striking features. There are strong splashes or red over each image.

17.

Difficulty: Hard
4 image generation, first is an old computer with wires hanging our everywhere, small screen with letters

The answers (spoilers...duh!)

Check how many you got right!
  1. Python
  2. Java
  3. Ruby on Rails
  4. PHP
  5. C#
  6. HTML
  7. Dart
  8. Rust
  9. TypeScript
  10. CSS
  11. COBOL
  12. Swift
  13. Kotlin
  14. C++
  15. Go
  16. Ruby
  17. JavaScript

How did you do?

I hope you enjoyed this silly post, let me know how many you got right in the comments below!

Have a great week everyone, see you soon (maybe? 🤫) 💗

Comments 24 total

  • GrahamTheDev
    GrahamTheDevFeb 15, 2023

    So how many did you get right?

    It is interesting to see where AI has not had an item in a dataset what it comes up with!

    • Raí B. Toffoletto
      Raí B. ToffolettoFeb 15, 2023

      It helps when it writes down the name (or almost the name) in the image!! 😂 I got 6 on first sight, but some I would probably guess with some thought.

  • IroncladDev
    IroncladDevFeb 15, 2023

    Awesome set of images!

    Unfortunately I don't have any idea how many I got right XD

    • Michael Tharrington
      Michael TharringtonFeb 15, 2023

      Heads up that you can actually review all the answers at the end of the post!

      • GrahamTheDev
        GrahamTheDevFeb 15, 2023

        Thanks I used <details><summary> not knowing they didn't work, fixed it now!

    • GrahamTheDev
      GrahamTheDevFeb 15, 2023

      There is a spoiler section at the bottom, you can see which image is which there to check!

  • Amrin
    AmrinFeb 15, 2023

    I only got the python one haha

    • GrahamTheDev
      GrahamTheDevFeb 15, 2023

      Hahaha, AI is obviously too abstract! 🤣💗

  • Michael Tharrington
    Michael TharringtonFeb 15, 2023

    This was a lotta fun! 😀

  • Mike Talbot ⭐
    Mike Talbot ⭐Feb 15, 2023

    Brilliant idea, love it, love it, love it.

    Didn't get JavaScript until I worked out everything else... HTML I found hard.

    • GrahamTheDev
      GrahamTheDevFeb 15, 2023

      Yeah JavaScript, HTML and COBOL (if it wasn't for COOLL text) would be really hard.

      Glad you enjoyed my silly idea lol!

  • Aneeqa Khan
    Aneeqa KhanFeb 15, 2023

    I got Ruby on rails, Dart, Rust, Typescript and Kotlin.

  • leomujo
    leomujoFeb 16, 2023

    Amazing!

  • echofly
    echoflyFeb 16, 2023

    "long time no see" is Chinglish, why do you know this?😂

  • Achchutha_Rengan
    Achchutha_RenganFeb 16, 2023

    Not a Single Point for Javascript

  • Ski
    SkiFeb 16, 2023

    Cobol was my favorite. I think the picture is pretty ingenious. Its like more modern than steampunk but not as modern as cyberpunk - its Cobolpunk.

  • kvetoslavnovak
    kvetoslavnovakFeb 17, 2023

    Amazing and fun. Did really enjoy it. 😀

    • GrahamTheDev
      GrahamTheDevFeb 17, 2023

      Glad you had fun, how many did you get? 💗

  • davepile
    davepileFeb 18, 2023

    Wow I went pretty well. I didn't get C#, CSS or Javascript. Of course it helps when the put the name in it :)
    A good bit of fun. Thank you

  • Utba Zafar
    Utba ZafarAug 14, 2023

    Dude, really fun read but I must say that I'm so hooked to these AI generated images.

Add comment