A Pen by Jean-Marc MONTOUT on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="root"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function __construct($data, $filepath, $first_line = '') { | |
$reflection = new ReflectionMethod(get_class($this), '__construct'); | |
$parameters = $reflection->getParameters(); | |
foreach ($parameters as $parameter) { | |
$this->{$parameter->name} = ${$parameter->name}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
Car mySimpleCar = Car(); | |
print(mySimpleCar.numberOfSeats); | |
mySimpleCar.drive(); | |
LevitatingCar myFutureCar = LevitatingCar(); | |
myFutureCar.drive(); | |
SelfDrivingCar myAutoCar = SelfDrivingCar('1 Hacker St'); | |
myAutoCar.drive(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
Human jane = Human(startingHeight: 8); | |
print(jane.height); | |
print(jane.age); | |
jane.say("On est en week-end"); | |
} | |
class Human { | |
double height; | |
int age = 0; |
A Pen by Jean-Marc MONTOUT on CodePen.
Run ruby hello_world.rb
or python hello_world.py
to print Hello World
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
timeout: 3500 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="root"></div> |
NewerOlder