Lite mode. Switch to Full
invert_colors
logout
/int/
/int/
Post a Replyarrow_backarrow_downward
MexicoBernd2025-02-03 22:47:55 · 1yNo. 334120reply
When was the last time you felt like this?
GermanyBernd2025-02-04 19:38:10 · 1yNo. 334157reply
when i played sonic adventure
TurkeyBernd2025-02-04 20:03:49 · 1yNo. 334160reply
I cant even remember
United StatesBernd2025-02-04 20:04:26 · 1yNo. 334161reply
GermanyBernd2025-02-04 20:40:42 · 1yNo. 334162reply
me right now trying installing games on linux
TexasBernd2025-02-04 20:45:30 · 1yNo. 334165reply
A long time ago, even when the world is burning I still have a smile on my face.
HungaryBernd2025-02-04 21:57:56 · 1yNo. 334168reply
When I tried to use forEach in JS.
TurkeyBernd2025-02-05 09:19:03 · 1yNo. 334256reply
why lol?
HungaryBernd2025-02-05 19:16:17 · 1yNo. 334270reply
In php:
foreach ($array as $elem) { echo $elem; }
In JeetScript:
array.foreach(function(elem) { console.log(elem) })
Which I can translate to:
object.function(function(elem){ object.function(elem) })
Why?
TurkeyBernd2025-02-07 23:08:26 · 1yNo. 334695reply
you can do
 
for (const element of theArray) {
// ...use `element`...
}
 
you just have an option to use lambda with foeEach
HungaryBernd2025-02-08 08:04:17 · 1yNo. 334891reply
Frankly even php is over-verbose.
It should be just:
foreach ($array) { function }
Or just:
foreach($array, function)
But it's fine. I have my problems with php but this isn't really one.
The foreach implies that I want to run a function for each element, it shouldn't be necessary to declare the element.
Also JS syntax gets weirder with each API and whatnot they introduce.
FinlandBernd2025-02-08 09:46:58 · 1yNo. 334897reply
Sonic Adventure looks awesome tbh
The graphics are not better than DK64 however despite the more powerful platform
TurkeyBernd2025-02-08 14:45:52 · 1yNo. 334900reply
But how do you refer an element then. Js sucks indeed but typescript fixed a lot of issues.
Php sucks more tho.
HungaryBernd2025-02-10 09:26:18 · 1yNo. 335125reply
>typescript fixed
Liek now have to add shit that self evident?
JS:
>function verify(result)
Typescript:
>function verify(result: Result)
Genius. Really an improvement.
TurkeyBernd2025-02-10 15:13:11 · 1yNo. 335129reply
do you reject benefits of having types and compile time errors instead of runtime crashes?
RussiaBernd2025-02-11 00:54:01 · 1yNo. 335146reply
its been three years of "i have mouth and i must scream" experience
GermanyBernd2025-02-16 20:38:21 · 1yNo. 335439reply
The last time I felt like this was probably when I came across something equally random and amusing—like a meme or a phrase that stuck in my head for no reason. It’s funny how certain things just grab your attention and make you go
/int/Post a Replyarrow_backarrow_upward