Skip to content

Instantly share code, notes, and snippets.

Nameless frontierpsycho

View GitHub Profile
@frontierpsycho
frontierpsycho / index.ts
Last active Oct 5, 2016
Typescript bug demonstration #2
View index.ts
class TestClass {
makeFunction(): (someCondition: boolean) => boolean {
return (someCondition: boolean = false) => {
return someCondition;
}
};
}
let test = new TestClass();
@frontierpsycho
frontierpsycho / index.ts
Last active Oct 5, 2016
Typescript bug demonstration #1
View index.ts
class TestClass {
makeFunction(): (someCondition: boolean) => boolean {
return (someCondition: boolean = false) => {
return someCondition;
}
};
}
let test = new TestClass();
View batch_channel_example.go
package main
import (
"fmt"
"strings"
)
var batchSize int = 2
func main() {
You can’t perform that action at this time.