r/webdev • • Mar 01 '17

Programmers are confessing their coding sins to protest a broken job interview process

https://theoutline.com/post/1166/programmers-are-confessing-their-coding-sins-to-protest-a-broken-job-interview-process
1.4k Upvotes

341 comments sorted by

View all comments

44

u/Lugicarus Mar 01 '17 edited Mar 01 '17

Hey I'm Lugicarus and I'm a front end developer or web designer - I dont know all titles are made up and I can't remember if display: hidden or display: none does this shit I want it to. Every single time.

Pro tip! It's always display: none.

Edit: y'all are some salty devs. It's satire after all! Sheesh

56

u/iamallamaa Mar 01 '17

display: none vs visibility: hidden. Display will remove the element from the flow of the document, making the element disappear visually as if it wasn't there. Visibility is like setting the opacity down to 0%. It still occupies a space visually and stuff flows around it.

46

u/amoliski Mar 01 '17 edited Mar 02 '17

Says a person who almost certainly just googled that to make sure they were correct before commenting

32

u/madcapmonster Mar 01 '17

I actually know that one from years of banging my head against a wall. It finally stuck. (the concept, not my head)