In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the knowledge of "what strange programming languages". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
1. LOLCODE
The first is the "classics" of esoteric programming languages. LOLCODE was launched in 2007 and is based on the "lolcats" language. If you want to know what it looks like, here is a statement that reads the contents of the file:
PLZ OPEN FILE "?
Isn't that funny? Although this language may seem like a lovely toy at first glance, it is actually a relatively complete language. There is even a complete set of tutorials available for different elements of LOLCODE on tutorialspoint.
LOLCODE even inspired other derivative projects, such as LOLPython, which is a translated version of LOLCODE that can be used with Python.
2. ArnoldC
Remember the Terminator movie? Remember some of Arnold Schwarzenegger's famous quotes? Have you ever thought of writing language code with every sentence in his hit movie? OK, now you can use ArnoldC!
ArnoldC is a language that allows you to develop almost entirely using Arnold Schwarzenegger quotes. If you have been living on a rock for the past few decades, check out a list of famous quotations. This is a sample code snippet from the ArnoldC website:
IT'S SHOWTIMETALK TO THE HAND "hello world" YOU HAVE BEEN TERMINATED
This is just a simple "Hello World" program. The more complete program looks interesting and very interesting to read. Sublime Text even provides a syntax highlighting plug-in so you can really show off your ArnoldC skills.
3. Velato
This is a unique programming language and a good illustration of how to get an interesting language. Velato is a language written in MIDI files. In this case, MIDI files can form both music and software. Each instruction is based on the pitch of the note itself and the interval between the notes.
The snippet shown above is actually a sample "Hello World" program that produces music and software output. If you want to play music through MIDI software, this may not sound like a real work of art, but it will generate a working program in Velato.
Velato has a lot of music / software crossover possibilities. You may challenge yourself to create a song that not only completes programming tasks but also sounds... Music. Music.
4. Pizza
No, it's not a real pizza. Pizza programming language. This is a Java-based language written before Java had many of the features it has today, such as generics or algebraic types. Pizza is arguably one of the more familiar languages on this list, but it occupies an interesting place in the history of Java.
Pizza looks a lot like Java because it is actually Java. Later in the language, it can even run in a regular Java environment. This is the Pizza code snippet for Wikipedia:
Public final class Main {public int main (String args []) {System.out.println (new Lines (new DataInputStream (System.in)) .roomWhile (nonEmpty) .map (fun (String s)-> int {return Integer.parseInt (s) ) .reduceLeft (0, fun (int x, int y)-> int {return x + y;}); while (x = = 0) {map.create.newInstance ()} "what strange programming languages are there? thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.