a.py
def func1(x):
return x + 5
React Documentation
React JS library Common Problems
React is a Library that uses a declaritive paridgm to implement user interfaces. You describe what we want done while React determines how it is done. React uses a JavaScript extension called JSX which allows developer to code HTML like syntax to have automatically converted to JavaScript.
TypeScript is a superset of JavaScript. TypeScript uses transpilation to transpiles the TypeScript into vanilla JavaScript. TypeScript gives you build time checking to avoid runtime errors by enforcing static typing.
Requirements
Recommended
''' | |
File: BasicLogger.py | |
Description: Logging cheat sheet.. You can find the documentation at | |
https://docs.python.org/3/library/logging.html. | |
''' | |
import logging | |
import SpecificLogger | |
# DEBUG: Detailed information, typically of interest only when diagnosing problems. |
class Shape(object) : | |
def __init__(self) : | |
self.dummyVar = 9 | |
def area(self) : | |
raise NotImplementedError("You must implement area method in the {0} sub class.".format(self.__class__.__name__)) | |
def perimeter(self) : | |
raise NotImplementedError("You must implement area method in the {0} sub class".format(self.__class__.__name__)) |
#include <lib.h> // provides _syscall and message | |
#include <unistd.h> // provides function prototype | |
#include <stdio.h> // printf | |
int main() { | |
int processID = 10; | |
long timestamp = 123456789; | |
char fromState[20] = "RDY"; | |
char toState[20] = "RUN"; |
package learning.dp.memento; | |
public class Driver { | |
public static void main (String [] args) { | |
Orginator o1 = new Orginator(); | |
o1.setName("Purnell Jones"); | |
o1.setHp(16.197); | |
o1.setSpecialPhrase("Naw Bruh!"); |