Click here to Skip to main content
15,915,873 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: String or string? Pin
CDP180217-Feb-17 10:42
CDP180217-Feb-17 10:42 
GeneralRe: String or string? Pin
PIEBALDconsult17-Feb-17 11:04
mvePIEBALDconsult17-Feb-17 11:04 
GeneralRe: String or string? Pin
CDP180217-Feb-17 11:11
CDP180217-Feb-17 11:11 
AnswerRe: String or string? Pin
User 1106097917-Feb-17 9:27
User 1106097917-Feb-17 9:27 
AnswerRe: String or string? Pin
icemanind17-Feb-17 9:27
icemanind17-Feb-17 9:27 
GeneralRe: String or string? Pin
Bryian Tan17-Feb-17 9:59
professionalBryian Tan17-Feb-17 9:59 
GeneralRe: String or string? Pin
thewazz20-Feb-17 7:38
professionalthewazz20-Feb-17 7:38 
AnswerRe: String or string? Pin
CDP180217-Feb-17 9:29
CDP180217-Feb-17 9:29 
Now that you have made up your mind, let me generate some doubts again.

It's no secret that value types don't really exist. They are classes, reference types, that are made to behave like value types by the compiler. You can use tham as reference types if you wish by working with the classes. If you want the value type behavior, you use the alias and the compiler does the rest.

The question which one to use is less a question of style. It's more a question of what you want to accomplish and strictly choosing one or the other limits your options without any real need.
The language is JavaScript. that of Mordor, which I will not utter here

This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.

"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."

If software development were a circus, we would all be the clowns.

GeneralRe: String or string? Pin
Richard Deeming17-Feb-17 9:38
mveRichard Deeming17-Feb-17 9:38 
GeneralRe: String or string? Pin
CDP180217-Feb-17 9:43
CDP180217-Feb-17 9:43 
GeneralRe: String or string? Pin
harold aptroot17-Feb-17 9:45
harold aptroot17-Feb-17 9:45 
GeneralRe: String or string? Pin
CDP180217-Feb-17 9:56
CDP180217-Feb-17 9:56 
GeneralRe: String or string? Pin
Richard Deeming17-Feb-17 10:30
mveRichard Deeming17-Feb-17 10:30 
GeneralRe: String or string? Pin
CDP180217-Feb-17 10:36
CDP180217-Feb-17 10:36 
GeneralRe: String or string? Pin
PIEBALDconsult17-Feb-17 11:06
mvePIEBALDconsult17-Feb-17 11:06 
GeneralRe: String or string? Pin
CDP180217-Feb-17 11:14
CDP180217-Feb-17 11:14 
GeneralRe: String or string? Pin
User 1106097917-Feb-17 11:53
User 1106097917-Feb-17 11:53 
GeneralRe: String or string? Pin
  Forogar  17-Feb-17 9:51
professional  Forogar  17-Feb-17 9:51 
GeneralRe: String or string? Pin
harold aptroot17-Feb-17 9:43
harold aptroot17-Feb-17 9:43 
GeneralRe: String or string? Pin
CDP180217-Feb-17 9:51
CDP180217-Feb-17 9:51 
GeneralRe: String or string? Pin
harold aptroot17-Feb-17 9:55
harold aptroot17-Feb-17 9:55 
GeneralRe: String or string? Pin
CDP180217-Feb-17 10:05
CDP180217-Feb-17 10:05 
GeneralRe: String or string? Pin
Jon McKee17-Feb-17 10:24
professionalJon McKee17-Feb-17 10:24 
AnswerRe: String or string?: Please kill this thread!! Pin
Cornelius Henning17-Feb-17 9:57
professionalCornelius Henning17-Feb-17 9:57 
AnswerRe: String or string? Pin
dandy7217-Feb-17 10:09
dandy7217-Feb-17 10:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.