|
Initializing is for sissies. Real programmers do not initialize.
|
|
|
|
|
I woud simply use a parametrized constructor to construct and initialize the instance at once.
var student2=new StidentName("Craig","Playstead");
|
|
|
|
|
Sadly I've been corrupted by javascript and I am currently finding this the most readable (and I do this for SQL as well for INSERT INTO column lists)
StudentName student2 = new StudentName {
FirstName = "Craig",
LastName = "Playstead"
};
I know, I've gone rabid and need to be put down out of humane concern.
|
|
|
|
|
Exactly what I like to use ... except I would never have a "student2" ... maybe "classClown"; etc.
|
|
|
|
|
I always hated that style of indent = { indent.
When I learned C it was:
void main()
{
IndentedCodeHere;
}
I cringed when I saw:
void main()
{
CodeHere;
}
as if that made it easier to read.
Then JavaScript came in
function main() {
Codehere;
}
Which I can live with, and I get. But it just seems wrong.
It is VERY hard to match the braces visually, but the editors do it for me...
But indentation matters.
|
|
|
|
|
Am I not seeing what you're seeing? I don't see ANY indentation there.
FWIW, I prefer this indentation:
var student2 = new StudentName
{
FirstName = "Craig",
LastName = "Playstead",
};
|
|
|
|
|
Just a personal thing but I hate code visually floating out to the right. I get that it lines up with the "new" but I find that disturbing, like I need to go in and fix it OCD style. I see the same thing with some default SQL formatters (like from RedGate). First thing I go to customize.
|
|
|
|
|
Currently, I have Win10 Home installed on my machine.
If I wish to use the powers of Visual Studio Community 2015 and SQL Server Management Studio to the full, do I really need to install Win10 Pro?
|
|
|
|
|
No - they will work in Win10 home (and do on my laptop)
|
|
|
|
|
If you end up wanting to do Hololens development you're going to have to have Win 10 Pro installed.
This space for rent
|
|
|
|
|
I second what Duncan says: I'm running Home, and VS2015 and SSMS work fine (even if VS2015 is noticeably slower to start than VS2013, even from SSD!)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I don't know what kind of work are you planning, but for me, regarding general development scenarios, hyper-v alone is well worth move (and price) towards PRO.
modified 19-Nov-18 21:01pm.
|
|
|
|
|
Agreed.
Hyper-V and Remote Desktop make Home a non-starter (IMO). Its inability to join a domain puts the final nail in that coffin.
|
|
|
|
|
If you are doing any ASP.Net, remember that IIS is not available with Home edition. You can still develop ASP.Net, you just have to use the VS web server.
"Go forth into the source" - Neal Morse
|
|
|
|
|
I've seen a couple of websites that say Windows 10 Home doesn't have IIS, but I've been running Win10 Home for nearly a year and full IIS 10 (not Express) has always been available to install in the 'turn Windows features on or off' window. It probably has pretty strict connection limits the same as it would in Win10 Pro, but it works as expected.
|
|
|
|
|
Good to know! I had wrongly assumed that it was the same as previous win OS's.
"Go forth into the source" - Neal Morse
|
|
|
|
|
kmoorevs wrote: IIS is not available with Home edition
So that's why I lose all my formatting when I try and run my website. Having read Web Servers in Visual Studio for ASP.NET Web Projects it seems it's easier just to buy Win10 PRO.
|
|
|
|
|
£$¥£--¢£€ (9)
Hint 1: Don't get caught.
Hint 2: Bernard Madoff did.
No hint 3, time is up.
|
|
|
|
|
i have to start somewhere XD
DRUDEELDS
Rules for the FOSW ![ ^]
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
|
I guess this is something a non native english can't solve
Rules for the FOSW ![ ^]
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
Sorry mate, i would never have gotten that
I don't even know the word
Rules for the FOSW ![ ^]
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
|
Maybe i get it tomorrow
and thanks for the link
Rules for the FOSW ![ ^]
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|