Senior Software Developer - 13 years in software development - Posts in German/English/Turkish - BOUN - CMPE - MSc. in Software Engineering - a chess enthusiast

Joined November 2011
ozanyarci.github.io/geometry… TYT/AYT hazırlık için geometri soruları soran bir uygulama geliştirdim. Şu anda 1622 soru var içinde. Mobil/Web/Tablet uyumlu. Deneyen olursa yorum yaparsa sevinirim.
5
1
21
1,027
What does this code print to the console?
1
3
207
It will return 0 to the console. Here is the explanation.
2
55
Happy global cat day!
1
5
203
What is written in the console and why? Note: Action is >> delegate void System.Action() >> Encapsulates a method that has no paramaters and does not return a value.
1
7
304
It prints 333 because the lambda doesn’t copy the value of i at the moment it’s created. It captures the variable itself. A for loop has only one i shared across all iterations. By the time the actions run, the loop has finished and i is 3, so all three print 3.
1
2
51
To print 012 you will need this:
34
What will be written in the console?
1
2
242
Never prints anything. It’s an infinite loop. A float has a 24-bit mantissa, so it can represent every integer exactly only up to 2²⁴. When f is 16,777,216, f + 1 gives 16,777,217, which isn’t representable. It rounds back to 16,777,216
1
47
How many times that "Hello, World!" is written in the console?
44
8
17
283
232,749
2,147,483,649 times, not infinite. i starts at 0 and counts down: 0, −1, −2, … until int.MinValue (−2,147,483,648). 2,147,483,649 iterations. The next i-- overflows, and since C# is unchecked by default, i wraps around to int.MaxValue. That's not < 10, so the loop exits.
11
1
1
127
27,058
Wrong answers: 1) Infinity 2) Depends on the architecture 3) -1 lol
2,462
I got haters, That's cool. People will hate you without any obvious reason. That is their nature I guess.
1
4
412
Normal people like us appreciate everyone! On the other hand, people with 50K followers are whining about growth.
1
3
256
The worst idea I have heard so far is to not to check the code that is generated by AI, they claim that you are not checking what is generated by compilers. If you dont check the code that is generated, and if AI prices goes up beyond affordable level, you need to read the code.
3
5
1,009
If you don't understand the code then what will you do? Create it from scratch? So understanding the code is still an important muscle.
1
102
Sprich langsam bitte Noch einmal bitte Das ist schwer für mich Ich bin verwirrt Was meinst du? Sag es noch einmal Ich höre zu Aber ich verstehe es nicht Ich verstehe nicht Ich verstehe nicht Was bedeutet das? Ich verstehe nur Bahnhof :D youtube.com/shorts/C_8JuAtHT…
186
Katzen sind wunderschön. Ich lebe katzen mit allem farbe. (Ich lerne Deutsch und ich bin nervös aber ich bin besser mit praktisch)
1
5
342
corrected version with chatgpt: "Katzen sind wunderschön. Ich liebe Katzen in allen Farben. (Ich lerne Deutsch und bin nervös, aber ich bin besser in der Praxis."
2
54
Ich lerne Deutsch und ich lerne mit Duolingo. Ich möchte in Deutsch schreiben. Ich probiere in hier an schreiben.
4
13
831
Corrected version with chatgpt: "Ich lerne Deutsch und ich lerne mit Duolingo. Ich möchte in Deutsch schreiben. Ich probiere, hier zu schreiben."
1
4
121
English version of the corrected one: "I am learning German, and I am learning with Duolingo. I want to write in German. I am trying to write here."
1
88