Printer-friendly, not programmer-friendly [modified]
-
If your product manager asked you to make a printer-friendly version of a webpage, how would you choose to implement it? (A) Add a "print" parameter to your query string. In your CGI code, add IF statements where appropriate. (B) Add a
@media print
section to the stylesheet. (C) Write a 200-line Javascript function to walk through the DOM tree to remove unwanted navigational elements. No points for guessing which choice was made by the previous maintainer of one of the web apps I'm working on now.modified on Wednesday, August 27, 2008 8:07 PM
-
If your product manager asked you to make a printer-friendly version of a webpage, how would you choose to implement it? (A) Add a "print" parameter to your query string. In your CGI code, add IF statements where appropriate. (B) Add a
@media print
section to the stylesheet. (C) Write a 200-line Javascript function to walk through the DOM tree to remove unwanted navigational elements. No points for guessing which choice was made by the previous maintainer of one of the web apps I'm working on now.modified on Wednesday, August 27, 2008 8:07 PM
(D) Say, if you want it to print nice, don't use a webpage. Or maybe that's just me.
-
If your product manager asked you to make a printer-friendly version of a webpage, how would you choose to implement it? (A) Add a "print" parameter to your query string. In your CGI code, add IF statements where appropriate. (B) Add a
@media print
section to the stylesheet. (C) Write a 200-line Javascript function to walk through the DOM tree to remove unwanted navigational elements. No points for guessing which choice was made by the previous maintainer of one of the web apps I'm working on now.modified on Wednesday, August 27, 2008 8:07 PM
Let me guess, he picked (C) :suss:
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
-
Let me guess, he picked (C) :suss:
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
and he wrote a buggy code to jeopardize the system and crash the user's browser to be appreciated by the management and promoted as a 'Technical Manager'. :omg: :wtf:
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
All the world's a stage, And all the men and women merely players. They have their exits and their entrances; And one man in his time plays many parts... --William Shakespeare -
and he wrote a buggy code to jeopardize the system and crash the user's browser to be appreciated by the management and promoted as a 'Technical Manager'. :omg: :wtf:
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
All the world's a stage, And all the men and women merely players. They have their exits and their entrances; And one man in his time plays many parts... --William ShakespeareNot just that, but perhaps the users would turn off javascripting on their browsers :rolleyes:
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
-
If your product manager asked you to make a printer-friendly version of a webpage, how would you choose to implement it? (A) Add a "print" parameter to your query string. In your CGI code, add IF statements where appropriate. (B) Add a
@media print
section to the stylesheet. (C) Write a 200-line Javascript function to walk through the DOM tree to remove unwanted navigational elements. No points for guessing which choice was made by the previous maintainer of one of the web apps I'm working on now.modified on Wednesday, August 27, 2008 8:07 PM
And. You should know by now that macho-programmers don't take the easy route when you can write hundreds of lines of redundant code. It's a system or developing known as Advanced Redundant System Enhanced Helping Online Lexical Expressions.
Deja View - the feeling that you've seen this post before.
-
Let me guess, he picked (C) :suss:
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
Good guess. I showed him how to do (B) today, and he was impressed at how much simpler it was.
-
Good guess. I showed him how to do (B) today, and he was impressed at how much simpler it was.
ClementsDan wrote:
I showed him how to do (B) today, and he was impressed at how much simpler it was.
Cool. Hopefully, he learned from your example :)
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
-
And. You should know by now that macho-programmers don't take the easy route when you can write hundreds of lines of redundant code. It's a system or developing known as Advanced Redundant System Enhanced Helping Online Lexical Expressions.
Deja View - the feeling that you've seen this post before.
You mean A.R.S.E.H.O.L.E., right? :laugh: