Skip to content

Instantly share code, notes, and snippets.

View SoyOscarRH's full-sized avatar
📚
Making mistakes, getting better and learning.

Oscar Andres Rosas Hernandez SoyOscarRH

📚
Making mistakes, getting better and learning.
View GitHub Profile
@ashwin
ashwin / uni_init.cpp
Last active June 10, 2024 08:22
Examples of uniform initialization syntax in C++
#include <iostream>
#include <stack>
#include <unordered_set>
#include <vector>
class Point
{
public:
int x;
int y;
@dodyg
dodyg / gist:5823184
Last active March 29, 2024 03:59
Kotlin Programming Language Cheat Sheet Part 1

#Intro

Kotlin is a new programming language for the JVM. It produces Java bytecode, supports Android and generates JavaScript. The latest version of the language is Kotlin M5.3

Kotlin project website is at kotlin.jetbrains.org.

All the codes here can be copied and run on Kotlin online editor.

Let's get started.