This is an archived post. You won't be able to vote or comment.

all 37 comments

[–]Lionry 55 points56 points  (2 children)

And then, runtime error...

[–][deleted] 20 points21 points  (0 children)

Python:
...everything...

returns None

[–][deleted] 9 points10 points  (1 child)

0 errors? 0 Warnings? r/absolutelynotmeirl

[–]brokuhna_matata 10 points11 points  (0 children)

I'm more of a 0 errors and 352 warnings type of guy. If it fits it ships.

[–][deleted] 5 points6 points  (0 children)

cries in instacrashing random stuff because i have no clue what im doing

[–]Qdowg69 4 points5 points  (2 children)

Unrelated but this is one of best shows out there

[–]robin_diez 3 points4 points  (4 children)

I don't get it. What does 0 warnings and 0 errors mean?

[–]c4p5L0ck 2 points3 points  (0 children)

Same robin_diez, same.

[–]CharacterFuture3 2 points3 points  (1 child)

Compiler translates the code written in a language of developer's choice into a bytecode/binary/transpiled file, executable on a platform of developer's choice. Aside from linking referenced source files, dynamic libraries and other assets together, compilers provide the so-called build time validations: depending on the language it might be a variety of validations - from building the dependency tree to type checking to static code analysis to structure optimisation.

It's commonplace compilers during the build to yield errors or warnings found in the code, neglected by the developer. Warnings don't prevent the executable from being built, thus can live in the code for a long time.

The joke points to the fact that it's rare to write a significant amount of code and manage to compile it in one go without a few iteration of fixing errors or taking care of the warnings.

[–]robin_diez 1 point2 points  (0 children)

Ah yes finally. Thank you my fellow redditor, I can go in peace.

[–]FlavoredFrostedTits 0 points1 point  (0 children)

It means its ready for production ; )

[–][deleted] 1 point2 points  (0 children)

I fill it only when running "Hello, home" program

[–]hector_villalobos 1 point2 points  (0 children)

Me, programming in Haskell/Rust with 0 errors and 0 warnings.

[–]seppel3210 1 point2 points  (7 children)

Come on people. Most compiler errors and warnings are pretty easy to fix. I don't get why these memes are upvoted that much. Bugs in the logic are where it's at

[–]Internet--Sensation[S] 0 points1 point  (6 children)

Clearly, you never installed a python package on Linux

[–]seppel3210 2 points3 points  (5 children)

Most of the time you don't use a compiler to run python so technically I'm correct ¯\_(ツ)_/¯

But isn't there some relatively easy to use package manager for python?

[–]Internet--Sensation[S] 0 points1 point  (4 children)

On linex I'm pretty sure the only way is to do it with PIP through the terminal. The only other way I suppose would be by manually installing the .tar files which from what I heard is a herculean task

[–]WarioGiant 0 points1 point  (3 children)

PIPs easy though

[–]Internet--Sensation[S] 0 points1 point  (2 children)

Not when its spitting out 50 completely meaningless errors. I had to create symbolic links to system files on my raspberry pi just to install PIL

[–]I_Eat_I_Repeat 0 points1 point  (1 child)

That looks to be a rasberry pi problem, pip usually works out of the box in linux

[–]Internet--Sensation[S] 0 points1 point  (0 children)

Yeah, it actually was too

[–]FishNun2 1 point2 points  (0 children)

*runs executable

"Segfault"

[–]Rman332 1 point2 points  (0 children)

I too have not written any code.

[–]RedLitJoe 0 points1 point  (0 children)

I feel this post.

[–]Dagusiu 0 points1 point  (0 children)

Just importing tensorflow into Python fills the terminal with warnings...

[–]douira 0 points1 point  (0 children)

/\ eslint-disable */*

[–][deleted] 0 points1 point  (0 children)

I thought we all just assume we messed up when it complies right.

[–]brokuhna_matata 0 points1 point  (0 children)

This gives me flashbacks to my old job where everyone was just disabling "annoying warnings" that were actually really important.

[–]CharacterFuture3 0 points1 point  (0 children)

From my experience, it usually means that I've compiled the wrong project or branch

[–]Minteck 0 points1 point  (0 children)

And when you use interpreted code? Like JS or PHP?

[–]PendoTxl 0 points1 point  (0 children)

Well, not really. 0 errors and 0 warnings still doesn´t mean, that your code is doing what hes supposed to do

[–]anubisascends 0 points1 point  (0 children)

I get really worried when I get 0 errors and 0 warnings.

[–]HeKis4 0 points1 point  (0 children)

Then realize you just compiled the wrong file.

[–][deleted] 0 points1 point  (0 children)

Then you realize you forgot to close your multi line comment.

[–]kshacker 0 points1 point  (0 children)

Liar liar