sort()

Submitted By: admin on February 21, 2018

3

0

497

sort() Source: www.reddit.com

Breaking convention.

Submitted By: admin on February 21, 2018

3

0

249

Breaking convention. Source: www.reddit.com

'1' + 1 = '11'

Python spreading lies on their website

Submitted By: admin on February 13, 2018

1

0

675

Python spreading lies on their website Source: www.reddit.com

Variables that can be assigned without evidence can be reassigned without evidence.

- Apatomoose

Jailbreak your iPhone using HTML

Submitted By: admin on February 10, 2018

2

0

1087

Jailbreak your iPhone using HTML Source: www.reddit.com

</heaf

Did you know you can optionally use one-based indexing in Python? Source: twitter.com

Just use the "-1" flag. For example:

 >>> a[n] = x      # zero-based indexing

 >>> a[n -1] = x  # one-based indexing

StyleCop VS Roslyn: Fight!

Submitted By: James5a7976c77afdf on February 6, 2018

1

0

495

StyleCop VS Roslyn: Fight!

StyleCop is a tool that performs provide cosmetic code suggestions (compared to VS's Code Analysis which cares about what your code actually does).

 

When you remove the "unnecessary parenthesis" the code does not compile any more. 

What people who only complain about programs think code is

Submitted By: admin on February 6, 2018

4

0

1084

What people who only complain about programs think code is Source: www.reddit.com

Couldn’t you have put some comments in? This code is really hard to understand.

- danwantstoquit

Emoji programming.

Submitted By: admin on February 5, 2018

4

0

2009

Emoji programming. Source: www.reddit.com

or you can use http://www.emojicode.org/

I was repairing someone's router, and they didn't know the password. Source: www.reddit.com

I just tried looking into the source code. This is just sad. It's LB-Link router

Smart Programmer

Submitted By: Rajesh on January 30, 2018

4

0

326

Smart Programmer

No need for rand() and all that

Submitted By: admin on January 29, 2018

2

0

1114

 No need for rand() and all that Source: www.reddit.com

This makes an integer from a pointer type without a cast.

Also, it would be better to return alloca(0);

- Lt_Riza_Hawkeye

Guys I finally figured out how to make a self driving car!

Submitted By: admin on January 29, 2018

2

0

468

Guys I finally figured out how to make a self driving car! Source: www.reddit.com

if(goingToCrash()){

    dont();

}

Meanwhile in programming class...

Submitted By: admin on January 17, 2018

1

0

900

Meanwhile in programming class... Source: www.reddit.com

Hello There

Most Javadoc

Submitted By: admin on January 11, 2018

3

0

785

Most Javadoc Source: twitter.com

Ways to manage CSS

Submitted By: admin on January 8, 2018

4

0

1365

 Ways to manage CSS Source: www.reddit.com

 I worked with a project where the CSS was defined inside a database...

- bdot02

Load More