|
I prefer stringly typed myself
|
# ? Jun 16, 2017 23:42 |
|
|
# ? Jun 6, 2024 14:40 |
|
Thermopyle posted:Its surprising to me how often programmers conflate weak, strong, dynamic when arguing about typing. yeah most people are just bad at words in general
|
# ? Jun 17, 2017 01:17 |
|
This wouldn't happen if English was a strongly typed language.
|
# ? Jun 17, 2017 01:25 |
|
Actually, being able to verb nouns is super handy.
|
# ? Jun 17, 2017 01:26 |
|
vOv posted:This wouldn't happen if English was a strongly typed language. Whereof one cannot type, thereof one must be silent.
|
# ? Jun 17, 2017 01:35 |
|
Doc Hawkins posted:Whereof one cannot type, thereof one must be silent.
|
# ? Jun 17, 2017 03:38 |
|
Ghost of Reagan Past posted:The true meaning of the Tractatus, discovered at last. Clearly he meant true meaning is only found in the real world, outside of programs. But you just know some maniacs are going to misinterpret it as saying we should disallow all untyped programs.
|
# ? Jun 17, 2017 04:17 |
|
|
# ? Jun 17, 2017 06:57 |
|
This seems to be type correct, I see no problem.
|
# ? Jun 17, 2017 07:12 |
|
QuarkJets posted:yeah most people are just bad at words in general I think a lot of terminology is learned on the job, and so people don't necessarily ever hear the formal definitions, they just hear that "so-and-so language is a weakly typed language" but they never understand precisely why it's considered a weakly typed language. I know this is my problem, with quite a few technical terms. putin is a cunt fucked around with this message at 12:06 on Jun 17, 2017 |
# ? Jun 17, 2017 12:03 |
|
It could also be that weak/strong are pretty nebulous, with no agreed-upon definitions. Static/dynamic are good to go, however.
|
# ? Jun 17, 2017 12:42 |
|
Zopotantor posted:This seems to be type correct, I see no problem. Humans is undefined.
|
# ? Jun 17, 2017 13:50 |
|
Doc Hawkins posted:Clearly he meant true meaning is only found in the real world, outside of programs. But you just know some maniacs are going to misinterpret it as saying we should disallow all untyped programs.
|
# ? Jun 17, 2017 15:01 |
|
hyphz posted:Humans is undefined. I thought the joke was it's one = instead of two in the if statement. So not really a typing joke, a C joke!
|
# ? Jun 17, 2017 16:07 |
|
chutwig posted:I thought the joke was it's one = instead of two in the if statement. So not really a typing joke, a C joke! Yeah, that is definitely the intended joke, it's an assignment instead of a comparison.
|
# ? Jun 17, 2017 16:13 |
I was half expecting a ==/=== joke.
|
|
# ? Jun 17, 2017 17:42 |
|
hailthefish posted:I was half expecting a ==/=== joke. I can totally see some language introducing that as the "equals but not equal to" operator.
|
# ? Jun 17, 2017 19:28 |
|
if (x could be mistaken for y in the right light) {
|
# ? Jun 17, 2017 19:32 |
|
https://twitter.com/kcpike/status/875733167088336898
|
# ? Jun 17, 2017 19:46 |
|
idgi i clicked the link and those quotes aren't there?
|
# ? Jun 17, 2017 19:56 |
|
NewForumSoftware posted:idgi i clicked the link and those quotes aren't there? Read the replies, apparently they edited the story.
|
# ? Jun 17, 2017 20:06 |
|
lol if your tab key doesn't create a bunch of spaces
|
# ? Jun 17, 2017 22:08 |
|
idiotmeat posted:I can totally see some language introducing that as the "equals but not equal to" operator. Ah, from the same people who introduced SQL's LIKE BUT NOT, LIKE, LIKE LIKE.
|
# ? Jun 17, 2017 22:59 |
|
Dongsturm posted:I can't help myself. No, they require the ability to consciously and selectively disregard typing. Having the ability to remove safety guards from a machine is different from having a machine that doesn't have safety guards in the first place.
|
# ? Jun 17, 2017 23:52 |
idiotmeat posted:I can totally see some language introducing that as the "equals but not equal to" operator. Other way around, sorta. The == operator in php (and javascript?), which does implicit conversion, has some 'quirky' behavior: B-Nasty posted:I was more referring to the snippet of PHP, which is complaining about the horror of implicit conversion. === is the operator in those languages for exact (i.e. type AND value) comparison. Tabs vs Spaces: Lol if you don't have your IDE automatically format everything for you so you literally never have to think about it?
|
|
# ? Jun 18, 2017 00:22 |
|
Doom Mathematic posted:Ah, from the same people who introduced SQL's LIKE BUT NOT, LIKE, LIKE LIKE. Surely you're joking. hailthefish posted:Other way around, sorta. The == operator in php (and javascript?), which does implicit conversion, has some 'quirky' behavior: It was a joke, but I was intending something equivalent to (in java): code:
|
# ? Jun 18, 2017 01:41 |
|
hailthefish posted:Tabs vs Spaces: Lol if you don't have your IDE automatically format everything for you so you literally never have to think about it? Except when everyone has their editor set up differently, and new versions don't import existing settings, and people don't care enough to set up their editors correctly, and you can't share settings amongst a team, and...
|
# ? Jun 18, 2017 02:12 |
|
redleader posted:Except when everyone has their editor set up differently, and new versions don't import existing settings, and people don't care enough to set up their editors correctly, and you can't share settings amongst a team, and... Sounds like a team with a poo poo lead, OP.
|
# ? Jun 18, 2017 02:13 |
|
Absurd Alhazred posted:Sounds like a team with a poo poo lead, OP. No disagreement there.
|
# ? Jun 18, 2017 02:25 |
|
Kinda glad my team only has three people and we're not opinionated either way so just stick to the default indentation in VS (tabs). We have resharper to help keep caps consistent too but theres one member of the team who consistently typos in method names and poo poo. It's ridiculous but I might end up having to institute code review for this one person.
|
# ? Jun 18, 2017 02:38 |
|
a hot gujju bhabhi posted:Kinda glad my team only has three people and we're not opinionated either way so just stick to the default indentation in VS (tabs). We usually just use VS's default, but I was writing a script in notepad++ and the tabbing was inconsistent with other code. My boss had me fix it after code review. He's a good boss.
|
# ? Jun 18, 2017 02:39 |
|
a hot gujju bhabhi posted:Kinda glad my team only has three people and we're not opinionated either way so just stick to the default indentation in VS (tabs). Any excuse for a code review is a good excuse.
|
# ? Jun 18, 2017 02:43 |
|
TheBlackVegetable posted:Any excuse for a code review is a good excuse. True, and occasionally he does take it upon himself to ask me to double check his poo poo, but I feel like it's ridiculous that I can't trust this person to do the simple stuff (we're paid equally and share the exact same position, which is what may be underpinning my frustration to be honest).
|
# ? Jun 18, 2017 03:03 |
|
Code review is good. You should be doing it regardless.
|
# ? Jun 18, 2017 03:41 |
|
redleader posted:Code review is good. You should be doing it regardless. 100% this. Code review is always good.
|
# ? Jun 18, 2017 05:32 |
|
necrotic posted:100% this. Code review is always good. 9000% this.
|
# ? Jun 18, 2017 05:34 |
|
I think you're kind of missing my point. I know code review is good. I'm not saying it's bad.
|
# ? Jun 18, 2017 05:53 |
|
I can't believe you're saying code review is bad.
|
# ? Jun 18, 2017 06:00 |
|
New thread title?
|
# ? Jun 18, 2017 06:06 |
|
|
# ? Jun 6, 2024 14:40 |
|
Snak posted:New thread title?
|
# ? Jun 18, 2017 06:07 |