Message from @ping

Discord ID: 400458524812902400


2018-01-10 01:15:46 UTC  

The university I went to for Computer Science started with C and C++, then moved on to Java. Since graduating, I've worked mainly with Java and Javascript (I'm most qualified as a web developer nowadays)

2018-01-10 01:16:16 UTC  

I also know enough of the following to be "dangerous": Lisp, Erlang, Ada, FORTRAN

2018-01-10 01:16:39 UTC  

Oh, and Groovy and Kotlin

2018-01-10 01:16:45 UTC  

Oof Fortran

2018-01-10 01:16:48 UTC  

but those are just Java with nicer syntax

2018-01-10 01:16:52 UTC  

I started with java in highschool. Uni did C/C++, and I'm a c# developer now.

2018-01-10 01:17:11 UTC  

@Revan Kotlin and groovy are far from "Java with nicer syntax"

2018-01-10 01:17:16 UTC  

I know none of those things.

2018-01-10 01:17:17 UTC  

I've looked into C# on occasion, but the companies I've worked for haven't been that big into C#

2018-01-10 01:17:22 UTC  

With some web development as I know JavaScript, just not great

2018-01-10 01:17:34 UTC  

@ping I know there's more to it than that, but they're both supersets of Java

2018-01-10 01:17:48 UTC  

Any valid Java code is also valid Groovy/Kotlin code

2018-01-10 01:17:52 UTC  

C# has only really started to take off recently now that the .net framework is going cross platform

2018-01-10 01:18:04 UTC  

just like C++ is just a superset of C

2018-01-10 01:18:20 UTC  

And Microsoft is making things more open source

2018-01-10 01:18:25 UTC  

C++ isnt a superset of C though

2018-01-10 01:18:38 UTC  

Any valid C code is valid C++ code, ergo C++ is a superset of C

2018-01-10 01:18:44 UTC  

It is

2018-01-10 01:18:45 UTC  

Not at all

2018-01-10 01:19:00 UTC  

Give me one line of code that would compile under C but not under C++

2018-01-10 01:19:12 UTC  

C++ doesn't allow most of the pointer casts involved with idiomatic C

2018-01-10 01:19:31 UTC  

Yes it does. It just has better syntax for those now, so people rarely use the old C pointer casts

2018-01-10 01:19:44 UTC  

No naming in struct initializers

2018-01-10 01:20:24 UTC  

You have to extern "C" all C headers to make sure symbols aren't mangled

2018-01-10 01:20:39 UTC  

I'm not well versed on struct initializers, so I can't speak to those

2018-01-10 01:21:03 UTC  

@Revan it doesn't, under the spec you can only up/downcast pointers

2018-01-10 01:21:31 UTC  

@ping But the compilers still have to support it

2018-01-10 01:21:35 UTC  

Wait, whys the convo on coding now?

2018-01-10 01:21:41 UTC  

Wasnt it electric cars before

2018-01-10 01:21:55 UTC  

Because we are actually qualified to talk about coding

2018-01-10 01:22:10 UTC  

@GingaBomber Because ping and I disagree on the definition of "<Language B> is a superset of <Language A>"

2018-01-10 01:22:10 UTC  

The compilers let you deviate from the specs but that doesn't really count as a language feature

2018-01-10 01:22:25 UTC  

Well I guess, but my expertise is only in C++ and C#

2018-01-10 01:22:40 UTC  

More C# now sincei ts easier to develop games in

2018-01-10 01:22:58 UTC  

i made a diagram awhile ago one sec

2018-01-10 01:23:20 UTC  

XNA still a thing? Haven't looked recently.

2018-01-10 01:23:44 UTC  

@Grenade123 I think I read about that a few years ago, but I don't remember the context

2018-01-10 01:24:00 UTC  
2018-01-10 01:24:40 UTC  

I mean, I have a book on it from a few years ago but it was when the xbox360 was still the main xbox, before the one

2018-01-10 01:25:05 UTC  

@ping Okay, I'll concede that you're probably right in that C++ isn't a *perfect* superset of C, but as far as most programmers are concerned, it's close enough as to not make a difference

2018-01-10 01:25:17 UTC  

@GingaBomber let me guess, unity? 😢