Unified design of main readmes

This commit is contained in:
2025-03-13 19:36:31 +01:00
parent ab3c6ed53a
commit 2e97717395
3 changed files with 42 additions and 7 deletions

View File

@ -2,6 +2,14 @@
<img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/swift/swift-original.svg" alt="Swift" width="250"/>
</p>
# Introduction
I watched a Swift lecture by an apple guy at FOSDEM 2025. It was pretty cool. Inspired me to think about memory safety, and, needless to say, learn Swift.
## ToC
- [Introduction](#introduction)
- [ToC](#toc)
- [General Notes](#general-notes)
- [Swift project](#swift-project)
- [Package.swift](#packageswift)
@ -27,12 +35,11 @@
- [Project-specific Notes](#project-specific-notes)
- [Most likely teammates for Software engineering](#most-likely-teammates-for-software-engineering)
# General Notes
There are **NO** semicolons in Swift. The language is designed to be concise and readable. Very pythonic in that sense.
Swift is a statically-typed language. This means that the type of a variable is known at compile time. This is in contrast to dynamically-typed languages like Python, where the type of a variable is determined at runtime.
Swift deals with memory by using Automatic Reference Counting (ARC). This means that the compiler automatically manages memory for you. This is in contrast to languages like C and C++, where you have to manually manage memory.
Swift is a statically-typed language. This means that the type of a variable is known at compile time. This is in contrast to dynamically-typed languages like Python, where the type of a variable is determined at runtime. It deals with memory by using Automatic Reference Counting (ARC). This means that the compiler automatically manages memory for us.
Swift is a multi-paradigm language. This means that it supports multiple programming paradigms, such as object-oriented programming, functional programming, and procedural programming. We'll get into this later.