Compare commits

...

4 Commits

Author SHA1 Message Date
Enno
af4d6b8618
Merge 57d988a1df into 7f0f27d84d 2025-04-18 21:24:49 +02:00
Konfekt
57d988a1df add short legacy vimscript intro as suggested by @kennypete 2025-04-18 21:24:22 +02:00
Aaron
7f0f27d84d
[java/de] Corrects the O-Notation of hashmaps (#5294)
Some checks failed
Trigger site build / deploy (push) Has been cancelled
CI / lint (push) Has been cancelled
2025-04-17 15:33:56 +02:00
Aaron
92c0809c65
[git/tr] Fixes a confusion between regex and glob (#5166)
Some checks failed
Trigger site build / deploy (push) Has been cancelled
CI / lint (push) Has been cancelled
2025-04-13 23:06:35 +02:00
3 changed files with 10 additions and 5 deletions

View File

@ -129,8 +129,9 @@ public class LearnJavaDe {
// Maps - Eine Sammlung von Objekten, welche eine Verknüpfung von Schlüsseln zu Werten (key => value) vornimmt.
// Eine Map kann keine Duplikate enthalten; Jeder Schlüssel kann genau einen Wert beinhalten.
// HashMaps - Diese Klasse nutzt eine Hashtabelle zur Implementierung eines Map Interfaces.
// Dies erlaubt es zur Laufzeit Standardoperationen wie gib (get) und einfügen (insert)
// selbst für große Mengen in einer konstanten Zeit auszuführen (Laufzeitverhalten O(n)).
// Dies erlaubt es zur Laufzeit Standardoperationen wie gib (get) und einfügen (insert).
// Dies dauert im Mittel nur "konstante" Zeit, auch genannt O(1). Für Details siehe
// https://de.wikipedia.org/wiki/Landau-Symbole und https://de.wikipedia.org/wiki/Hashtabelle
///////////////////////////////////////
// Operatoren

View File

@ -171,7 +171,7 @@ $ git add HelloWorld.java
# add a file in a nested dir
$ git add /path/to/file/HelloWorld.c
# Regular Expression support!
# Shell glob patterns make it easy to specify multiple files:
$ git add ./*.java
# You can also add everything in your working directory to the staging area.

View File

@ -8,16 +8,20 @@ contributors:
---
Vim9Script is a modern scripting language introduced in Vim 9.0.
It improves performance, readability, and structure over legacy Vimscript.
It is designed to replace legacy Vimscript (also called VimL), which is a sequence of ex-commands enhanced with scripting constructs like variables, functions, and control flow.
Unlike legacy Vimscript, Vim9Script enforces stricter syntax, improves performance, and supports modern programming features such as strong typing, classes, lambdas, and modules.
Try [vim9-conversion-aid](https://github.com/ubaldot/vim9-conversion-aid) as a starting point to convert legacy Vimscript to Vim9Script.
```vim
vim9script
# The vim9script namespace, above, is required to distinguish a Vim9 script
# *.vim file from a legacy vimscript file. In Vim's command-line mode,
# or in a legacy script, using the command `:vim9cmd` (or just `:vim9`) before
# a command also evaluates and executes code as Vim9 script.
#
# There is no distinction between single and multi-line comments.
# Use # inside a line at any position to comment out all following characters.