系统编程语言 Loci

码农软件 · 软件分类 · 脚本编程语言 · 2019-03-04 18:59:47

软件介绍

Loci 是一个多范式的系统编程语言,使用更直观的方式描述,跟 C++ 很类似。Loci 并不是为了弥补 C++ 的某些不足而推出,同时引入全新范式和编程风格,这些对开发者来说非常方便。此外在性能上 Loci 也没有比 C 和 C++ 强。

一段简单的代码示例:

class ExampleClass(int a, int b) {
        // Constructor with default implementation.
        static create = default;

        int getA() const {
                return @a;
        }

        int getB() const {
                return @b;
        }
}

interface ExampleInterface {
        int getA() const;
}

void printA(const ExampleInterface& examplePoly) {
        printf(C"A equals %d.", examplePoly.getA());
}

int main() {
        auto exampleInst = ExampleClass(1, 2);
        printA(exampleInst);
        return 0;
}

本文地址:https://www.codercto.com/soft/d/629.html

Learning PHP 5

Learning PHP 5

David Sklar / O'Reilly / July, 2004 / $29.95

Learning PHP 5 is the ideal tutorial for graphic designers, bloggers, and other web crafters who want a thorough but non-intimidating way to understand the code that makes web sites dynamic. The book ......一起来看看 《Learning PHP 5》 这本书的介绍吧!

MD5 加密
MD5 加密

MD5 加密工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

html转js在线工具
html转js在线工具

html转js在线工具