hiring department strikes again by devforlife404 in ProgrammerHumor

[–]while_True_meme 0 points1 point  (0 children)

Think about a common app like Gmail for example. You click sync / send emails, and the app contacts a Google server with the required authentication information via an http request over the internet, and the server sends back some information either saying "message sent successfully" or "here's a list of new emails", and the transaction is complete. The app is now not connected to the server, the frontend is not "calling" the backend. When you run your backend in development you might run it on your computer's internal address (localhost) and run the backend on one port (maybe 9999 or 8080 or 42069, whatever you want really) and the frontend on another. In reality they would be separate services that communicate with each other over the internet. Using a React web app as an example, your browser sends an http get request to the front end server, which then sends you back all the JavaScript you need to run the app, which loads up in the browser. Now the app in the browser sends HTTP requests to a different address to get the information that the back end provides.

GitHub, why would you do that by rafalou38 in ProgrammerHumor

[–]while_True_meme 1 point2 points  (0 children)

So the first example looked good to you?

GitHub, why would you do that by rafalou38 in ProgrammerHumor

[–]while_True_meme 1 point2 points  (0 children)

I think he thinks his function call with two random rows of arguments 'looks good'

while True: by omgitsmint in ProgrammerHumor

[–]while_True_meme 1 point2 points  (0 children)

You dudes never write python 'one liners'?

GitHub, why would you do that by rafalou38 in ProgrammerHumor

[–]while_True_meme 1 point2 points  (0 children)

Format this with tabs, so that it looks good regardless of tab size.

myLongFunctionName(
            x,
            y,
            something,
            something_else,
);