John.
The true mark of a seasoned software developer in my opinion isn't one who knows everything (languages, frameworks etc), its one who knows how to learn fast whenever he/she needs to know them.
I started out as a Java developer and a few months after, entered into the world of Android development. Within two years I created and deployed 2 apps and 1 game to google play store. Then I switch over to website development and for the last 3 years, I have built a couple of applications with different technologies, innovated, solved a lot of problems and learnt new technologies.
function greet(name) {
console.log(`Hello, ${name}!`);
}
const arr = [3, 1] as const;
Math.max(...arr); // 3
const express = require('express');
const app = express();
app.get('/', (req, res) => {
res.send('Hello World!');
});
app.listen(3000);
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1 contentEditable=true>Hello World</h1>
</body>
</html>
body {
background-color: #f0f0f0;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
CREATE TABLE users (
id SERIAL PRIMARY KEY,
username VARCHAR(50) UNIQUE NOT NULL,
email VARCHAR(100) UNIQUE NOT NULL,
password_hash VARCHAR(255) NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
git init
git add .
git commit -m "Initial commit"
git remote add origin https://github/johnphoenix42/my-project.git
git push -u origin main
import {useState} from "react";
function App() {
const [count, setCount] = useState(0);
return (
<div>
<h1>Count: {count}</h1>
<button onClick={() => setCount(count + 1)}>Increment</button>
</div>
);
}
docker pull hello-world
docker build -t my-site:1.0 .
docker run -p 5000:80 -d my-site:1.0
docker container prune
@Controller public class AuthController {
@GetMapping("/signin")
public String signin(@RequestParam(name = "destination") String destination,
@RequestParam(name = "source", required = false) String source, Model model) {
model.addAttribute("destination", destination);
model.addAttribute("source", source);
return "signin";
}
}
#include <stdio.h>
#include <stdlib.h>
int main() {
srand();
int *length_array = (int *) malloc(sizeof(int) * 10);
for (size_t i = 0; i < sizeof length_array / sizeof (int); ++i) {
length_array[i] = rand();
printf("i = %f\n", length_array[i]);
}
return 0;
}
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
-Martin Fowler
"Programming is the art of telling another human what one wants the computer to do"
-Donald Knuth
"Code never lies; Comments sometimes do."
-Ron Jeffries
"It's really complex to make something simple."
-Jack Dorsey
"Talk is cheap. Show me the code."
-Linus Torvalds
This is a small description of the app