u/new_name - 9 Archived Voat Posts in v/programming
u/new_name
  • home
  • search

u/new_name

0 posts · 9 comments · 9 total

Active in: v/programming (9)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: Stop saying learning to code is easy (because it sets begginers up for disappointment).

Some people just don't think like a programmer.

8 19 Jun 2016 23:23 u/new_name in v/programming
Comment on: Trigger input event automatically on value changed with code

Interesting.

0 19 Jun 2016 14:35 u/new_name in v/programming
Comment on: Trigger input event automatically on value changed with code

The absence of a return type or parentheses is also odd.

0 19 Jun 2016 13:11 u/new_name in v/programming
Comment on: Trigger input event automatically on value changed with code

So I guess get and set are overrides of string class methods? and they don't need a return type or parentheses?

0 19 Jun 2016 13:10 u/new_name in v/programming
Comment on: Trigger input event automatically on value changed with code

That does not look like it will compile. That doesn't look like working code at all, in any language. Of course, I don't use C#, so...

0 19 Jun 2016 02:27 u/new_name in v/programming
Comment on: Trigger input event automatically on value changed with code

If that's valid code, I want to know what language it is.

1 18 Jun 2016 21:41 u/new_name in v/programming
Comment on: 0 experience, getting into C++, really just not understanding why you'd want/need to use void

I wonder if you or qwop, being real programmers, can reconcile all of the above with the use of "void" in the code snippet in the header image for this sub?

1 10 Jun 2016 21:51 u/new_name in v/programming
Comment on: 0 experience, getting into C++, really just not understanding why you'd want/need to use void

Except you can cast things to and from void, but they don't disappear when they are void.

1 10 Jun 2016 10:30 u/new_name in v/programming
Comment on: 0 experience, getting into C++, really just not understanding why you'd want/need to use void

C and C++ are strongly "typed" languages. Most of the time void is used just to indicate that a function doesn't return a value(a return value would have to have a type).

Void is essentially the typeless type. You can cast variables to and from void, also.

Oversimplifying, "void" kind of means "whatever".

edit: "cast"

3 09 Jun 2016 23:30 u/new_name in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.