Click here to Skip to main content
15,867,686 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: If I find another programming language easier should I stay with it instead? Pin
Davyd McColl14-Dec-20 1:42
Davyd McColl14-Dec-20 1:42 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
User 1493685322-Dec-20 1:06
User 1493685322-Dec-20 1:06 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
Davyd McColl14-Dec-20 1:41
Davyd McColl14-Dec-20 1:41 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
User 1493685322-Dec-20 0:52
User 1493685322-Dec-20 0:52 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
Davyd McColl22-Dec-20 1:25
Davyd McColl22-Dec-20 1:25 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
Rusty Bullet14-Dec-20 3:33
Rusty Bullet14-Dec-20 3:33 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
englebart15-Dec-20 3:26
professionalenglebart15-Dec-20 3:26 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
maze316-Dec-20 4:12
professionalmaze316-Dec-20 4:12 
A few thoughts from me:

Why Java?


New kid of the 90s when a new boom of development kicked off with this people. Companies digitizing their processes and looking for how to do that.
A: Free, B: had some features for new programmers that eased development.
New programmers thrown Java
New programmers cheap

Move 20 years on. Java has its foot in lots of business applications, because of that expansion phase. So lots of work maintaining that work because the risk to rewrite seems unproductive from a business perspective.

Tons of courses use Java to teach, because they already have the course setup for that and will cost time and energy to change it. Again its free to use the language and teach from, so many courses used it.

After learning how to write code. It will be helpful to understand some business stuff to be able to manage clients. This is a whole different thing to understand. Unless you happy to be code monkey (in the positive sense, not negative) and find a manager to deal with all business. This still leave you at the manager whims that when you think project should be done as X, but manager says must be done as Y.

Why learn concepts?


For 10 years after uni, never once used an Abstract. had no need.

Had no need because I was in a company whos product had no need.

Until I found a code base which everything had Interfaces. Now some of this might be C# specific but lots of cross over. Interfaces were created for everthing, so dependcy injection could be done on Testing (unit tests). This granular level of testing also took some learning and once clicked the interfaces made sense.
For some understand B before A is more helpful then A then B. I am the former.

"Oh no, you never did tests before!?"
Yes and no. I had tried to do unit testing to little avail. So the previous porjects I had worked on relied more on integration test, automated out, and dedicated testers following manual test sheets. So need to learn that programming had little need.

So back to Abstract. I noticed that there could be a use for an Abstract class. This was not really me thinking in OOP terms, but understanding some C# features, and wanting to trim some code fat.

consider this. There are lots of clients that need food.
We offer Breakfast, Lunch, Dinner, but needs to be implemented different for each client.

So we make an Interface for Breakfast, Lunch, Dinner.
(interface is just method names, properties and return type. Only the public methods)

So each client has to implement each method, even if they dont want something.
So given some 20 clients. and many only want Lunch. means a method which just returns "does not want Breakfast".

This is where an Abstract made sense. I dont want to allow the Abstract to be instanced. but I want make a default return for each.

then the client classes only need to override the methods that it uses.

end


Learning you need to over learn.

Then when go to implment its often cutting back sometimes. If only going to have 2 clients in the above example, then Interface/Abstract might be overkill.

Some developers prefer to side on write it first time to be extenable, so they dont have to rewrite. Others are not able to see that far ahead first time and so require that extra rewrite stage.

Also Ask your teacher


GeneralRe: If I find another programming language easier should I stay with it instead? Pin
AnotherKen18-Dec-20 20:21
professionalAnotherKen18-Dec-20 20:21 
GeneralI may be moving on from .NET altogether Pin
honey the codewitch13-Dec-20 0:19
mvahoney the codewitch13-Dec-20 0:19 
GeneralRe: I may be moving on from .NET altogether Pin
Greg Utas13-Dec-20 2:03
professionalGreg Utas13-Dec-20 2:03 
GeneralRe: I may be moving on from .NET altogether Pin
honey the codewitch13-Dec-20 2:06
mvahoney the codewitch13-Dec-20 2:06 
GeneralRe: I may be moving on from .NET altogether Pin
Greg Utas13-Dec-20 2:27
professionalGreg Utas13-Dec-20 2:27 
GeneralRe: I may be moving on from .NET altogether Pin
honey the codewitch13-Dec-20 2:38
mvahoney the codewitch13-Dec-20 2:38 
GeneralRe: I may be moving on from .NET altogether Pin
Greg Utas13-Dec-20 2:59
professionalGreg Utas13-Dec-20 2:59 
GeneralRe: I may be moving on from .NET altogether Pin
honey the codewitch13-Dec-20 3:04
mvahoney the codewitch13-Dec-20 3:04 
GeneralRe: I may be moving on from .NET altogether Pin
Mike Hankey13-Dec-20 2:18
mveMike Hankey13-Dec-20 2:18 
GeneralRe: I may be moving on from .NET altogether Pin
honey the codewitch13-Dec-20 2:23
mvahoney the codewitch13-Dec-20 2:23 
GeneralRe: I may be moving on from .NET altogether Pin
Mike Hankey13-Dec-20 2:45
mveMike Hankey13-Dec-20 2:45 
GeneralRe: I may be moving on from .NET altogether Pin
Rick York13-Dec-20 7:40
mveRick York13-Dec-20 7:40 
GeneralRe: I may be moving on from .NET altogether Pin
honey the codewitch13-Dec-20 7:50
mvahoney the codewitch13-Dec-20 7:50 
GeneralRe: I may be moving on from .NET altogether Pin
Greg Utas13-Dec-20 2:38
professionalGreg Utas13-Dec-20 2:38 
GeneralRe: I may be moving on from .NET altogether Pin
honey the codewitch13-Dec-20 2:53
mvahoney the codewitch13-Dec-20 2:53 
GeneralRe: I may be moving on from .NET altogether Pin
Greg Utas13-Dec-20 3:14
professionalGreg Utas13-Dec-20 3:14 
GeneralRe: I may be moving on from .NET altogether Pin
honey the codewitch13-Dec-20 3:23
mvahoney the codewitch13-Dec-20 3:23 

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.