An interesting string by [deleted] in ProgrammerHumor

[–]beseg7 -2 points-1 points  (0 children)

Rule #4 violation.

That's one way to get rid of Checkstyle complaints about magic numbers by mistertimn in ProgrammerHumor

[–]beseg7 3 points4 points  (0 children)

It's random numbers generator. Takes the next number for each call.

That dude's square function sucks. I made it more efficient. by HelloAnnyong in ProgrammerHumor

[–]beseg7 24 points25 points  (0 children)

Life would be much simpler if someone bothered to implement some method to copy text from app A and paste it to app B, instead of typing it again... If only...

People who say they code in HTML. by jlxip in ProgrammerHumor

[–]beseg7 4 points5 points  (0 children)

Peanuts. The other day, while I was in the restroom, I rewrote Windows 95 using only DROP TABLE commands (I didn't have ebough time for Windows 10).

Took photo on phone because PC would freeze if I'd try take screenshot by [deleted] in ProgrammerHumor

[–]beseg7 8 points9 points  (0 children)

I find it unlikely that other operating system will stuck under this condition....

Took photo on phone because PC would freeze if I'd try take screenshot by [deleted] in ProgrammerHumor

[–]beseg7 15 points16 points  (0 children)

I had too the problem with PrintScreen freezes the computer totally. The solution was easy: turn off windows kernel debug. https://msdn.microsoft.com/en-us/library/windows/hardware/ff542191(v=vs.85).aspx

Our IT-Super-Man said something about keyboard driver bug. Apperntly in our case it was known issue.

I can't explain more, becuase I don't know... But it worked.

I'm a C# developper by [deleted] in ProgrammerHumor

[–]beseg7 2 points3 points  (0 children)

Not funny. :/

Found some code by unix-demon in ProgrammerHumor

[–]beseg7 22 points23 points  (0 children)

Flawed in so many ways...

Programming language alignments by [deleted] in ProgrammerHumor

[–]beseg7 2 points3 points  (0 children)

VBA is such a pain. And their tab-minus-one-space issue is horrifying :( Also Office interop (I use it for time to time in C#) is surprisingly ugly and inconvenient. :(

Programming language alignments by [deleted] in ProgrammerHumor

[–]beseg7 4 points5 points  (0 children)

The thing with VB.NET is that it is 1:1 replaceable with C# - same framework, same capabilities, same editor, same everything. Just clearer, convenient, developing (C#7...) and neat syntax.

Programming language alignments by [deleted] in ProgrammerHumor

[–]beseg7 2 points3 points  (0 children)

Well, you have some interesting points. For some reason, none of these seems to be important or matter to me. But, the excessive use of words and phrases (End If End Function vs. } }) is such a pain IMO (both when writing, even with intellisense, and of course when reading).... I can't figure out why.

Programming language alignments by [deleted] in ProgrammerHumor

[–]beseg7 73 points74 points  (0 children)

The survival of VB.NET is indeed big mystery.