Programming Jokes February - Obligatory Witty Remark
1,291 replies, posted
Why do java programmers wear glasses?
[sp]because they can't C# (See sharp)[/sp]
[QUOTE=Rocket;47573138]<Response to joke>[/QUOTE]
Hey, guys, I just heard this great joke!
Why do Java developers wear glasses?
Because they don't [i]C#[/i].
Why are C# developers always so tired?
Because they don't [b]Java[/b].
Why'd the programmer get cut when he put his hand in the coffee tin?
Because Java#.
[editline]bhalhrglhblahblhalrg[/editline]
blarghblahrlghalrhglbhahrlgkillmenowblahrlghblahblhalrhglahblhblarg
Hey, what happens when balloon touches cactussssssssssssssssssssssssssss
[QUOTE=Kwaq;47615948]meemacs XD[/QUOTE]
C-M-(flaps to takeoff)-(50% throttle)-r becomes a tiresome chore before a normal person C-x C-c out of there. Then again, a normal person wouldn't be using Emacs to begin with.
[editline]:wq[/editline]
nvi all the way! Vim can just stop existing for all I care.
[QUOTE=Stonecycle;47617495]C-M-(flaps to takeoff)-(50% throttle)-r becomes a tiresome chore before a normal person C-x C-c out of there.[/QUOTE]
Emacs is the only choice for the serious developer.
[video=youtube;D1sXuHnf_lo]http://www.youtube.com/watch?v=D1sXuHnf_lo[/video]
How many editors do you know that can do this?
[QUOTE=helifreak;47617817]Emacs is the only choice for the serious developer.
[video=youtube;D1sXuHnf_lo]http://www.youtube.com/watch?v=D1sXuHnf_lo[/video]
How many editors do you know that can do this?[/QUOTE]
is this guy fucking serious
[editline]28th April 2015[/editline]
so is this like, when your code compiles correctly, you get positive feedback from dildo?
what if there is error in your code? does it slowly stabs you? electrocutes your anus?
I anticipate the day where I can implement a function that returns a Rectangle object. Because then I can name it getRect()
[code]
local chance = math.random( ent.difficulty )
-- Our RNG Jesus, who art in heaven. Hallowed be thy algorithms
if chance == ent.difficulty / 2 then
local ore = table.Random( ent.goods )
[/code]
I'm so glad we didn't decide to call Shelf 'Cis' or something
[code]public void TriggerShelfChecking()
{
var fridge = _owner.CtrlTemp._bll.GetList("Køleskab"); //Get the list
var newNotifications = _owner.CtrlTemp._bll.CheckShelfLife(fridge); //Call the ShelfLife-checking method
DontAddDuplicates(newNotifications);
AddNewNotifications(newNotifications);
_owner.UpdateNotificationsAmount(); //The above methods can add notifications to '_owner', so we'll have to update the amount, so we can show that in the GUI
}[/code]
[QUOTE=Wealth + Taste;47629468]I anticipate the day where I can implement a function that returns a Rectangle object. Because then I can name it getRect()[/QUOTE]
Oh god this reminds me of a teacher of mine who was talking about a parser with a database and a class factory for easily creating UIs.
Then when he was explaining how he wanted us to implement database access:
"So if you need an object from the database you can just write 'db', database, get, rect"
While writing 'db->get(Rect);' on the board. Half the class faints laughing, leaving the teacher flabbergasted.
every company ever
[img]http://unity-studios.com/wp-content/uploads/2013/12/10dec_google-1024x575.jpg[/img]
Is it bad I laugh at these even if i don't get them?
The quality of posts in [URL="https://pay.reddit.com/r/csharp/"]/r/csharp[/URL] is just astonishing.
[URL="https://pay.reddit.com/r/csharp/comments/35jxok/how_to_increment_by_two_without_loop_in_c/"][IMG]https://i.imgur.com/6shNr6f.png[/IMG][/URL]
is it bad to just write increment twice? it's less space than a for loop I guess.
actually a for loop is not bad.
why not a loop.
[QUOTE=Simspelaaja;47701940]The quality of posts in [URL="https://pay.reddit.com/r/csharp/"]/r/csharp[/URL] is just astonishing.
[URL="https://pay.reddit.com/r/csharp/comments/35jxok/how_to_increment_by_two_without_loop_in_c/"][IMG]https://i.imgur.com/6shNr6f.png[/IMG][/URL][/QUOTE]
You can only do this with a loop it's the simplest way:
[code]
namespace CoolGreenlightGame1341
{
class Score
{
public Int32 Value {get; set;}
public Score(Int32 value) {
this.Value = value;
}
public static implicit operator int(Score s) {
return s.Value;
}
public static implicit operator Score(Int32 s) {
return new Score(s);
}
public void IncrementByTwo() {
Score bck = this;
while (this <= bck + 1) {
this.Value = this + 1;
}
// We incremented by two
}
public void DecrementByOne() {
// Best way to do it!!!
unsafe {
Score bck1 = this;
Score bck2 = this + 1 ;
while (bck2 != bck1) {
this.Value = this + 1;
bck2 = this + 1;
}
}
}
public override string ToString() {
return String.Format("You super coooollll score is {0}!", this.Value);
}
}
}[/code]
why would you even waste time on writing this
[QUOTE=DrTaxi;47702600]why would you even waste time on writing this[/QUOTE]
[img]https://imgs.xkcd.com/comics/compiling.png[/img]
[QUOTE=Simspelaaja;47701940]The quality of posts in [URL="https://pay.reddit.com/r/csharp/"]/r/csharp[/URL] is just astonishing.
[/QUOTE]
Just FYI you don't have to use pay.reddit.com anymore, they support full site HTTPS now
also
[img]http://i.imgur.com/ylzkgdj.png[/img]
[quote]If java had true garbage collection, most java programs would delete themselves upon execution[/quote]
I'm new to programming, starting college at Computer Science, one of my first creations is a calculator to tell me when it's gonna be the year of desktop linux.
In Java:
[CODE]package lista1exercicios;
import java.util.Scanner;
public class NewClass {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int anoatual;
System.out.println("Let's get started, type in the current year:");
anoatual = scanner.nextInt();
anoatual ++;
System.out.println("The Desktop Linux year it's: "+anoatual);
}
}
[/CODE]
Is the joke that you are using java?
[QUOTE=Mega1mpact;47702121]You can only do this with a loop it's the simplest way:
[/QUOTE]
But now i need to increment by 3 :(
[QUOTE=antianan;47778203]But now i need to increment by 3 :([/QUOTE]
Easy!
[code]
Score s = 100;
s.IncrementByTwo();
s.IncrementByTwo();
s.DecrementByOne();[/code]
[QUOTE=Mega1mpact;47778432]Easy!
[code]
Score s = 100;
s.IncrementByTwo();
s.IncrementByTwo();
s.DecrementByOne();[/code][/QUOTE]
I'd better do it this way:
[code]
Score s = 100;
s.IncrementByFive();
s.DecrementByOne();
s.DecrementByOne();[/code]
perfect
[img]https://i.imgur.com/3K26ZNh.png[/img]
Sorry, you need to Log In to post a reply to this thread.