ITT we share our best programming tips. I'll start with mine.
inoremap jk
nnoremap ; :
ITT we share our best programming tips. I'll start with mine.
inoremap jk
nnoremap ; :
follow klossy on instagram
M-x tetris
You can increment a variable with ++.
ie:
x++
But I actually use ;
import the everything
That should do the trick
PROTIP: you can decrement with --
Then you're a weirdo.
Oh, hell yea my dude(meant it in a genderless way) i always wanted to learn a powerful hacker language like html!
while (true) is gay
use for ( ; ; ) instead
The answer to fizz buzz is-
This. Changes. EVERYTHING.
kek
while (1)
is the only correct way
No, ; is actually really useful. If you ever need to get to a character on a line, using f or F, the character, and then ";" will continually find that character forwards or backwards in the line.
.,$d
it works on my machine so I'll just paste right on to prod and everything will be fine
who cares, both compile to
{
:label
…
goto label;
}
{/code]
What do you use more often, f/t or :?
Use spaces not tabs.
Programming languages are just tools.
You should use the language, which suits best for your purpose.
>Simple GUI application without special requirements (performance, memory, ...)
Python, Ruby or comparable.
>high performance server
C/C++, Rust
>games
A suitable engine. Choose yourself. Unreal Engine, Unity3D, Godot, ...
>websites
Python or PHP if you need it fast.
>low-performance server
(Stackless) Python - works for most cases
Loops are for loser imperative languages in my humble opinion.
>GUI
>Ruby
2 spaces
JUST DO IT
he indents his code
rin is erotic
33oFizzqqABuzz5kq19@q:%s/^$/\=line('.')
Well, actually, as I think about it, I probably do use "f" at about the same frequency as ":", since the latter is mostly for the occasional saving/splitting/etc. tasks, whereas I might need to use "f" for any number of things in a given document. If I'm at least guaranteed to use colon once or twice with a given vim instance, then I similarly might use "f"+semicolon up to dozens of times (but also perhaps not at all).
or even preincrement w/ ++x
>websites
>Python
Only for production. In development I like to keep it all on one line