When have you found yourself sticking to old ideas which are almost certainly worse than something which came around to replace it?
For further actions, you may consider blocking this person and/or reporting abuse
When have you found yourself sticking to old ideas which are almost certainly worse than something which came around to replace it?
For further actions, you may consider blocking this person and/or reporting abuse
Alexander Shagov -
Jess Lee -
Saurabh Rai -
JoΓ£o Felipe -
Top comments (53)
For me it's pretty much everything CSS. Learning all the ways to use
float
,position:absolute
, to make stuff happen really stuck with me way too long after better things came along.I'll also say that I had the same problem with sticking to
table
alignments well after they'd been replaced by better modern ideas.Just in the past few months have I started shedding some old bad habits as I'm adopting the Crayons design system that @pp and @lisasy are implementing for DEV.
I have the opposite experience. I know a lot of people that stick flex in absolutely everything and forget the basics like
margin: 0 auto;
. Absolute positioning and float solve some problems very neatly.I was about to write something very similar, so I'll just leave it as an expanding comment.
I think that learning how to properly build an entire layout with
float
had such complexity and sense of wizardry, that it became super hard to let go. I still find myself thinking about how to do it with float and clear elements, even when we have flex and grid at our service.Old habits, that took a ton to grasp, die hard.
I've been here, things like using pixel values, not using a mobile first approach. The worst habit of mine is I just start implementing stuff without investing much in why am I doing this or what could make it better, or just searching better practices before trying to implement it
So, you just write 'crayon' on every element? ; )
Took me TOO long to realize that collaboration was the opposite of a burden.
Being successful for years creating solutions and solving programming problems myself blinded me to the much more powerful sustainably productive outcomes of working with others.
I really think a "collaboration first" mindset is how we will survive and thrive in the increasingly competitive technology field.
I took a stab at explaining the mechanics of successfully doing that here βEight Principles of Effective Collaborationβ by Frank Font link.medium.com/Kn5yWgpos7
Huge win! You can learn so much more from each other when collaborating.
I learned to put two spaces after a period cause of typing class in high school. I still do it out of habit... even though everyone says it is bad. π
cc @peter
I have such a hard time ever imagining breaking this habit.
It's not bad π
!! So many clients to that. Line breaks! haha. Clad you're going to stop! ; )
I try to avoid TypeScript. Much bigger fan of JavaScript
Same here... for now. I wonder if TS will become the de facto standard in the future.
(Actually I wouldn't say I'm a much bigger fan. My reasons are probably more out of apathy. I wouldn't reject TypeScript per se.
As a person who started coding with Python, Javascript, Clojure, and Ruby (and was frustrated with C++), I always liked dynamically typed languages. After learning Haskell and now that I'm using Typescript I can say that I should have learned Typescript earlier. It's so powerful and I feel safer and in a environment with better-documented code.
I still like doing some scripts with Python or playing around with Lisps, but if I'm starting a new project (website or dev tools), I tend to use Typescript.
Don't get me wrong, type safety is really convenient when you start talking about larger systems with more complex business requirements.
For websites, I'm still more likely to reach for JavaScript. Call me a fuddy-duddy but I feel more productive. Between Jasmine/Mocha tests and ESLint I feel pretty confident most of the time.
It's really hard to call onself a fan of JavaScript because of how convoluted it can be, but I just kind of feel like things are super easy to accomplish in JS.
This is also coming from someone who doesn't know Ruby or Python very well lol.
Typescript is JavaScript - isn't it? It's a super set, right? Any regular Javascript is valid TypeScript, syntactically.
Sort of. An example is that you can't use regular expressions the same way. I'm turnt that you have to construct a
new Regex
in order to use a regex.The typing system doesn't feel very strong to me either. It feels much more like duck typing than actual type safety to me, but this is also coming from someone who has a pretty extensive career using Java.
I get that for certain things there's compile-time checking that can help you not make mistakes, but I'm still failing to justify the time you gave to spend accounting for those things while also remaining productive.
I've spent the last 10 minutes wondering what to write in here and came up blank. Hard to tell if I've always been quick to adapt or just never learnt anything :p
Typing... They taught touch typing when I was in elementary school and I was terrible at it and didn't get very far.
I am now trying to break bad habits with keybr.com.
A few years ago I made major improvements, regressed a but and am now getting better than ever.
I'm not a very skilled typer, maybe I should check this out too.
typing.io/
This is pretty cool. Typing practice with coding in mind.
It's Soooouch more advanced and cool than what I used as a kid. It has very clever ways of building word like things to stretch out certain fingers without being repetitive.
I remember as a kid it was. i i i ij ij ij iji I
It has also made me realize that my struggles are all in my left hand π€
I've actually been thinking lately about improving my typing as well. Thanks for the resource!
emacs
I used to adding both curly braces then go right, then enter and then type the body.
Some editors which autocompleted braces annoyed me
I do the same thing!
<table>
Same
What is the problem with table ? As far as I can tell it is not going to be deprecated or replaced any time soon (or actually never) :-p
Table tags for tabular data are fine, as long as you label the columns correctly. Displaying a page as a 100% x 100% table and using that as all your page layout scheme... well, I used to get an earful from my mother about what this did to screen reading software and its bound to look like Hell on a smart phone.
Sure I was thinking to you wanted to replace it!!
When building a landing page or a MVP, for example, I always build it myself from βscratchβ. Maybe I should start using some nocode tools or even hiring someone to save time and quickly test things.
Some comments may only be visible to logged-in visitors. Sign in to view all comments.