| General > General Technical Chat |
| Religious technical opinions |
| << < (20/22) > >> |
| nctnico:
--- Quote from: Nominal Animal on February 27, 2022, 03:28:59 am --- --- Quote from: nctnico on February 27, 2022, 02:16:43 am --- --- Quote from: Bassman59 on February 27, 2022, 12:48:33 am --- --- Quote from: Nominal Animal on February 26, 2022, 05:56:11 am ---As to tabs/spaces, I don't have any trouble using whatever the project I'm working on. I do have a personal preference, but it's about as strong as my preference for ice cream flavours, or pizza. (I don't get fazed by pineapple on pizza, either.) --- End quote --- See, I'm from New Jersey, and if you even mention "pineapple on pizza" in New Jersey, you'll be met with an armed response, and not just from the made guys sitting in the back of the pizza shop with their little notebooks counting out cash. --- End quote --- And how & why would people from New Jersey get upset about an Italian dish? Due to lack of a local cultural heritage they may feel connected to Italy because their ancesters came from there a couple of centuries ago but most likely they don't even know where Italy is. 8) --- End quote --- That's just thick coming from someone in the Netherlands. Haven't conquered enough indigenous peoples around the world, eh? Then go smoke something, won't you. --- End quote --- We should have conquered the Finns as well and fix their sarcasm detection skills. >:D |
| Siwastaja:
--- Quote from: m k on February 27, 2022, 12:10:45 pm ---My text has many indents, couple nested cases and it's over 10. Then if innermost has a Widows API call its parameters are far far away right. I'm also from Pascal land and can't stand end of line begins. But what kind of a professional offers totally unneeded functions eating time of possibly millions of unneeded calls. --- End quote --- Function call overhead is really small. Furthermore, with compiler optimization, automatic or guided (even forced) inlining, you can decouple optimization from writing good code. Only very rarely needs code quality suffer because of performance, and then it's about something else than dividing work into functions (which can be inlined after all). It sounds like you just "can't" write good code, you know this yourself, and are making up excuses (to yourself, no one else!) to keep doing what you do. And don't get me wrong, I'm not claiming to be a great coder myself, either, and I still sometimes write really crappy code in stressful situations, which I can see myself. But improvement starts from admitting you have a problem (to yourself; no need to admit it to anyone else if and when it's hard to one's ego). But I think (I'm not sure of course, there are many contributing factors, too) that using wide tab width has kinda forced me to break down the code to smaller modular pieces, or think about how something is implemented, because indentations longer than 4-5 tabs then start to really stand out, in a bad way. 3D loop inside a function still looks OK, but if I then add a switch-case inside it, eye pain makes me think: maybe this switch-case should become parse_token(...)? And then, the magic happens: I realize I need to parse_token() somewhere else, too, and don't need to copy-paste the code. Even better, maybe parse_token() can go through some configuration struct instead of being a massive switch-case. The point is, if minor workflow details like indentation width or IDE autocompletion features seem to become massive pain points (instead of just tiny convenience factors), that's definitely an alarm sign, IMHO. But "I need to write crappy code because of performance" actually is quite religious. I know very well because I have resorted to that argument, myself. I have been shown to be wrong by more experienced people, and have learned as a result. |
| Nominal Animal:
--- Quote from: nctnico on February 27, 2022, 12:37:37 pm --- --- Quote from: Nominal Animal on February 27, 2022, 03:28:59 am --- --- Quote from: nctnico on February 27, 2022, 02:16:43 am --- --- Quote from: Bassman59 on February 27, 2022, 12:48:33 am --- --- Quote from: Nominal Animal on February 26, 2022, 05:56:11 am ---As to tabs/spaces, I don't have any trouble using whatever the project I'm working on. I do have a personal preference, but it's about as strong as my preference for ice cream flavours, or pizza. (I don't get fazed by pineapple on pizza, either.) --- End quote --- See, I'm from New Jersey, and if you even mention "pineapple on pizza" in New Jersey, you'll be met with an armed response, and not just from the made guys sitting in the back of the pizza shop with their little notebooks counting out cash. --- End quote --- And how & why would people from New Jersey get upset about an Italian dish? Due to lack of a local cultural heritage they may feel connected to Italy because their ancesters came from there a couple of centuries ago but most likely they don't even know where Italy is. 8) --- End quote --- That's just thick coming from someone in the Netherlands. Haven't conquered enough indigenous peoples around the world, eh? Then go smoke something, won't you. --- End quote --- We should have conquered the Finns as well and fix their sarcasm detection skills. >:D --- End quote --- Never! We'll fight to the last polar bear before we'll learn small talk and social skills. >:( |
| langwadt:
--- Quote from: Nominal Animal on February 27, 2022, 03:28:59 am --- --- Quote from: nctnico on February 27, 2022, 02:16:43 am --- --- Quote from: Bassman59 on February 27, 2022, 12:48:33 am --- --- Quote from: Nominal Animal on February 26, 2022, 05:56:11 am ---As to tabs/spaces, I don't have any trouble using whatever the project I'm working on. I do have a personal preference, but it's about as strong as my preference for ice cream flavours, or pizza. (I don't get fazed by pineapple on pizza, either.) --- End quote --- See, I'm from New Jersey, and if you even mention "pineapple on pizza" in New Jersey, you'll be met with an armed response, and not just from the made guys sitting in the back of the pizza shop with their little notebooks counting out cash. --- End quote --- And how & why would people from New Jersey get upset about an Italian dish? Due to lack of a local cultural heritage they may feel connected to Italy because their ancesters came from there a couple of centuries ago but most likely they don't even know where Italy is. 8) --- End quote --- That's just thick coming from someone in the Netherlands. Haven't conquered enough indigenous peoples around the world, eh? Then go smoke something, won't you. The snide remark aside, it is a well known phenomenon that specific cultural heritage details are strengthened in emigrants, exactly because of their emotional ties. Food is a typical one; a specific dish or type of food is often more popular among specific emigrant population than in the originating country, because it is the cultural-emotional tie. Sometimes it is religious or traditional garb used in specific ceremonies. Or, say, a lady TV presenter having traditional face tattoo. As time progresses and the emigrants integrate into and become part of a local culture, a specific dish originating half a world away can easily become the 'food landmark' of a region. So, people in New Jersey today having a specific dish they associate with like that, is perfectly normal. It's like Finns always building a sauna wherever they live. Even Finnish peacekeepers always build saunas. Even in the middle of deserts. As locals visit and try it out, they sometimes take a liking, and you end up with small regions that have lots of saunas, with no Finns (or Nordics) at all. You'd think it's weird, but it's not: that's how influences naturally spread. I think it is a good, interesting thing. --- End quote --- back in the 80's everyone here was building a sauna as part of their bathroom, most of them was used once or twice and then used to store toiletpaper and lawn furniture in the winter ... |
| T3sl4co1l:
--- Quote from: Nominal Animal on February 27, 2022, 01:36:52 pm ---Never! We'll fight to the last polar bear before we'll learn small talk and social skills. >:( --- End quote --- Tim |
| Navigation |
| Message Index |
| Next page |
| Previous page |